A tab got in there somehow!
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/aa6fdf85 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/aa6fdf85 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/aa6fdf85 Branch: refs/heads/master Commit: aa6fdf853b24fe5b56180cea27d02e3d6c5780d3 Parents: ae6b07a Author: Ian Southam <isout...@schubergphilis.com> Authored: Mon Feb 9 15:20:36 2015 +0100 Committer: wilderrodrigues <wrodrig...@schubergphilis.com> Committed: Mon Mar 16 11:40:05 2015 +0100 ---------------------------------------------------------------------- .../debian/config/opt/cloud/bin/cs/CsAddress.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa6fdf85/systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py ---------------------------------------------------------------------- diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py index 80dfcdc..0bf98df 100644 --- a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py @@ -355,13 +355,13 @@ class CsIP: if self.get_type() in ["control"]: self.fw.append(["filter", "", "-A FW_OUTBOUND -m state --state RELATED,ESTABLISHED -j ACCEPT"]) self.fw.append(["filter", "", "-A INPUT -i %s -p tcp -m tcp --dport 3922 -m state --state NEW -j ACCEPT" % self.dev]) - self.fw.append(['', 'front', '-A FORWARD -j NETWORK_STATS']) - self.fw.append(['', 'front', '-A INPUT -j NETWORK_STATS']) - self.fw.append(['', 'front', '-A OUTPUT -j NETWORK_STATS']) - self.fw.append(['', '', '-A NETWORK_STATS -i eth0 -o eth2']) - self.fw.append(['', '', '-A NETWORK_STATS -i eth2 -o eth0']) - self.fw.append(['', '', '-A NETWORK_STATS -o eth2 ! -i eth0 -p tcp']) - self.fw.append(['', '', '-A NETWORK_STATS -i eth2 ! -o eth0 -p tcp']) + self.fw.append(['', 'front', '-A FORWARD -j NETWORK_STATS']) + self.fw.append(['', 'front', '-A INPUT -j NETWORK_STATS']) + self.fw.append(['', 'front', '-A OUTPUT -j NETWORK_STATS']) + self.fw.append(['', '', '-A NETWORK_STATS -i eth0 -o eth2']) + self.fw.append(['', '', '-A NETWORK_STATS -i eth2 -o eth0']) + self.fw.append(['', '', '-A NETWORK_STATS -o eth2 ! -i eth0 -p tcp']) + self.fw.append(['', '', '-A NETWORK_STATS -i eth2 ! -o eth0 -p tcp']) def fw_vpcrouter(self): if not self.config.is_vpc():