cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [8/9] git commit: updated refs/heads/master to 2ce5a0c
Date Wed, 14 Oct 2015 16:32:12 GMT
CLOUDSTACK-8947 - Adding some logging to better understand what's happening with the rules


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

Branch: refs/heads/master
Commit: 80b51a7972e590c64a97650d7f53dc6431411007
Parents: 59bd935
Author: Wilder Rodrigues <wrodrigues@schubergphilis.com>
Authored: Tue Oct 13 15:58:29 2015 +0200
Committer: Wilder Rodrigues <wrodrigues@schubergphilis.com>
Committed: Wed Oct 14 07:44:39 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/80b51a79/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py
----------------------------------------------------------------------
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 99c1501..4b5b492 100755
--- a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py
+++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsNetfilter.py
@@ -150,6 +150,8 @@ class CsNetfilters(object):
             new_rule.set_table(fw[0])
             if isinstance(fw[1], int):
                 new_rule.set_count(fw[1])
+
+            logging.debug("Checking if the rule already exists: rule=%s table=%s chain=%s",
new_rule.get_rule(), new_rule.get_table(), new_rule.get_chain())
             if self.has_rule(new_rule):
                 logging.debug("Exists: rule=%s table=%s", fw[2], new_rule.get_table())
             else:


Mime
View raw message