This is an automated email from the ASF dual-hosted git repository.
resmo pushed a commit to branch 4.10
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.10 by this push:
new 4f1539e CLOUDSTACK-10135 ACL rules order is not maintained for
ACL_OUTBOUND in VPC VR (#2313)
4f1539e is described below
commit 4f1539ee707c2d5cf48b454139b64998ddb484ac
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 9c6c2e5..035125e 100755
--- a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py
+++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py
@@ -167,7 +167,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]>'].