]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Allow passing arbitrary ip route parameters to add/delete_route
authorCarl Baldwin <carl.baldwin@hp.com>
Mon, 31 Aug 2015 21:31:57 +0000 (21:31 +0000)
committerCarl Baldwin <carl@ecbaldwin.net>
Wed, 9 Sep 2015 21:18:39 +0000 (21:18 +0000)
commit9b7ff6d3bd4059699c54180aca02e11d5fe07f21
tree0a453b398f125610ff2eee95b702bb9b4294ef50
parent46e59d312a46d96860fc1226ec6024d10ef2b1e0
Allow passing arbitrary ip route parameters to add/delete_route

There are arguments to ip route like scope and dev that will need to
be passed to add_route and delete_route.  This patch allows them to be
passed using kwargs.

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