You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by re...@apache.org on 2015/12/04 11:05:53 UTC

[2/5] git commit: updated refs/heads/master to 58ba44a

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.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/90e01c95
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/90e01c95
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/90e01c95

Branch: refs/heads/master
Commit: 90e01c95a2db3d9b7c6586b2b228e0a9c5b9e415
Parents: 5b7d935
Author: Remi Bergsma <gi...@remi.nl>
Authored: Thu Dec 3 18:15:31 2015 +0100
Committer: Remi Bergsma <gi...@remi.nl>
Committed: Thu Dec 3 19:30:06 2015 +0100

----------------------------------------------------------------------
 systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/90e01c95/systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py
index 8defefc..e1c01eb 100755
--- a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py
+++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py
@@ -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