]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add -s option for neutron metering rules
authorKoteswara Rao Kelam <koti.kelam@gmail.com>
Mon, 26 May 2014 13:44:33 +0000 (06:44 -0700)
committerKoteswara Rao Kelam <koteswara.kelam@hp.com>
Mon, 14 Jul 2014 07:12:51 +0000 (00:12 -0700)
commit72e8b5dc5a5e36722327efca4c399f0321e9bbbb
treeab119e1f889811bb71530813dda03ebef9ca49c1
parent59da928e945ec58836d34fd561d30a8a446e2728
Add -s option for neutron metering rules

While adding iptables rule, cidr is added as destination for both ingress
and egress directions. Modified code to add -s for egress and -d for ingress.

Closes-bug: 1310589

Change-Id: Id9ca10855e6527d4bec689f8f9bcd6f681221954
neutron/services/metering/drivers/iptables/iptables_driver.py
neutron/tests/unit/services/metering/drivers/test_iptables_driver.py