]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Allow passing table argument to construct IpRouteCommand
authorCarl Baldwin <carl.baldwin@hp.com>
Thu, 2 Jul 2015 21:43:25 +0000 (21:43 +0000)
committerCarl Baldwin <carl.baldwin@hp.com>
Thu, 16 Jul 2015 23:20:54 +0000 (23:20 +0000)
commit4570c1cd4928a0fb5c9203fb669dedac465a6623
treef6a8df1c26c2c8c7418515d3bbefd9f6b041a922
parente91459589bd21f363db27897756c743a3d10af90
Allow passing table argument to construct IpRouteCommand

The various methods of IpRouteCommand also work with a non-default
table.  Instead of passing an explicit table argument to each command,
this change allows constructing an instance of IpRouteCommand which
always works on the given table much like we pass the namespace on
creation instead of passing it to each command individually.

Change-Id: I503aa986208347ccc1cb5f37bdb36f77553eee70
Partially-Implements: blueprint address-scopes
neutron/agent/linux/ip_lib.py
neutron/tests/unit/agent/linux/test_ip_lib.py