This is an automated email from the ASF dual-hosted git repository.
resmo pushed a commit to branch 4.9
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.9 by this push:
new f250b3a CLOUDSTACK-10135 ACL rules order is not maintained for
ACL_OUTBOUND in VPC VR (#2313)
f250b3a is described below
commit f250b3ae0cf7efeef486f15474b606299d17318e
Author: subhash yedugundla <[email protected]>
AuthorDate: Wed Nov 15 14:36:00 2017 +0530
CLOUDSTACK-10135 ACL rules order is not maintained for ACL_OUTBOUND in VPC
VR (#2313)
(cherry picked from commit 60bec39b9ddb72c9badda49dc39c4105596bcb90)
---
systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py
b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py
index 3ee5174..80b930e 100755
--- a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py
+++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py
@@ -168,7 +168,7 @@ class CsNetfilters(object):
cpy = cpy.replace('-A', '-I')
if isinstance(fw[1], int):
# if the rule is for ACLs, we want to insert them in
order, right before the DROP all
- if rule_chain.startswith("ACL_INBOUND"):
+ if rule_chain.startswith("ACL_INBOUND") or
rule_chain.startswith("ACL_OUTBOUND"):
rule_count = self.chain.get_count(rule_chain)
cpy = cpy.replace("-A %s" % new_rule.get_chain(), '-I
%s %s' % (new_rule.get_chain(), rule_count))
else:
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].