]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Use _is_this_snat_host and remove _get_gw_port_host
authorCarl Baldwin <carl.baldwin@hp.com>
Thu, 9 Jul 2015 21:14:39 +0000 (21:14 +0000)
committerCarl Baldwin <carl@ecbaldwin.net>
Fri, 10 Jul 2015 17:39:55 +0000 (17:39 +0000)
commit3d262feb07e033174c0cbb9348221580e45b03f5
treed4bc570e7cc266b055e52d9f99dd1685bca52411
parent3fc52dee3cdc336d2fa4e2887e5096c2a00b1987
Use _is_this_snat_host and remove _get_gw_port_host

The _is_this_snat_host utility should be used consistently.  After
replacing a call to _get_gw_port_host with _is_this_snat_host,
_get_gw_port_host is left as just a simple helper method for
_is_this_snat_host.  The indirection is excessive and so they are
combined.

Change-Id: I880c5fdc9db9ba1304dba74a6e12f3df604793e5
neutron/agent/l3/dvr_edge_router.py