CLOUDSTACK-9097 Make public ip work immediately

We need to send an Unsolicited ARP to the gateway, instead of our own address. We now encounter problems when people deploy/destroy/deploy and get the same public ip.
This commit is contained in:
Remi Bergsma 2015-12-03 18:15:31 +01:00
parent 5b7d935ab0
commit 90e01c95a2

View File

@ -588,7 +588,7 @@ class CsIP:
def arpPing(self):
cmd = "arping -c 1 -I %s -A -U -s %s %s" % (
self.dev, self.address['public_ip'], self.address['public_ip'])
self.dev, self.address['public_ip'], self.address['gateway'])
CsHelper.execute(cmd)
# Delete any ips that are configured but not in the bag