mirror of https://github.com/apache/cloudstack.git
bug 11547: Reset iptables counter when a public interface on domR is
removed status 11547: resolved fixed reviewed-by: Ram
This commit is contained in:
parent
1be8872e95
commit
f6d8a6297d
|
|
@ -81,6 +81,7 @@ get_usage () {
|
|||
local dRIp=$1
|
||||
ssh -q -p 3922 -o StrictHostKeyChecking=no -i $cert root@$dRIp "\
|
||||
iptables -L NETWORK_STATS -n -v -x | awk '\$1 ~ /^[0-9]+\$/ { printf \"%s:\", \$2}';
|
||||
if [ -f /root/removedVifs ] ; then iptables -Z NETWORK_STATS ; fi;
|
||||
/root/clearUsageRules.sh > /dev/null;
|
||||
"
|
||||
if [ $? -gt 0 -a $? -ne 2 ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue