]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove 'action' argument from _handle_fip_nat_rules()
authorBrian Haley <brian.haley@hp.com>
Thu, 13 Aug 2015 20:57:59 +0000 (16:57 -0400)
committerBrian Haley <brian.haley@hp.com>
Thu, 13 Aug 2015 21:02:41 +0000 (17:02 -0400)
commit228206c024452287e07fbbed2b8059d04da8c0b9
treef6b9457094178c4b8ead05769ff6e17c165f6f34
parent10696107d1d5f45894f4eb7acd89edfcb5ef8b01
Remove 'action' argument from _handle_fip_nat_rules()

There's only one caller of _handle_fip_nat_rules(), and they
always specify 'add_rules' as the argument, so it's not
necessary any more.  Also, the interface passed must be valid
since the caller has already used it, and would have thrown
an exception before this call was made.  Found during another
code review.

Change-Id: Ie7d4faf2d1bb8e0e8fc4ffc3f18e9214474acf5c
neutron/agent/l3/dvr_fip_ns.py
neutron/agent/l3/dvr_local_router.py