cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yas...@apache.org
Subject [50/50] [abbrv] git commit: updated refs/heads/master to d893cb4
Date Mon, 22 Jul 2013 05:37:59 GMT
CLOUDSTACK-3699: Fix ARP broadcast of VPC router

Every new public IP should be send out ARP broadcast.


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

Branch: refs/heads/master
Commit: d893cb48a51ffe08236dcfafaedf882af2ee9a5e
Parents: a102853
Author: Sheng Yang <sheng.yang@citrix.com>
Authored: Sun Jul 21 22:15:22 2013 -0700
Committer: Sheng Yang <sheng.yang@citrix.com>
Committed: Sun Jul 21 22:24:16 2013 -0700

----------------------------------------------------------------------
 patches/systemvm/debian/config/opt/cloud/bin/vpc_ipassoc.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d893cb48/patches/systemvm/debian/config/opt/cloud/bin/vpc_ipassoc.sh
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/opt/cloud/bin/vpc_ipassoc.sh b/patches/systemvm/debian/config/opt/cloud/bin/vpc_ipassoc.sh
index f2f8a49..a5b0239 100755
--- a/patches/systemvm/debian/config/opt/cloud/bin/vpc_ipassoc.sh
+++ b/patches/systemvm/debian/config/opt/cloud/bin/vpc_ipassoc.sh
@@ -76,8 +76,9 @@ add_an_ip () {
   if [ $old_state -eq 0 ]
   then
     sudo ip link set $ethDev up
-    sudo arping -c 3 -I $ethDev -A -U -s $pubIp $pubIp
   fi
+  sudo arping -c 1 -I $ethDev -A -U -s $pubIp $pubIp
+  sudo arping -c 1 -I $ethDev -A -U -s $pubIp $pubIp
   local tableNo=${ethDev:3} 
   sudo iptables-save -t mangle | grep  "PREROUTING -i $ethDev -m state --state NEW -j CONNMARK
--set-xmark" 2>/dev/null
   if [ $? -gt 0 ]


Mime
View raw message