]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Auto-update gateway port after subnet-create
authorAndrew Boik <dboik@cisco.com>
Wed, 4 Mar 2015 03:39:57 +0000 (22:39 -0500)
committerAndrew Boik <dboik@cisco.com>
Sat, 28 Mar 2015 05:16:34 +0000 (05:16 +0000)
commitdf7aa02aa5235b389ed8ad013acf9fccd7e877cd
treec511bb76f1e562e10b6327ea15987c33fd6b5990
parente2666293c449ca98c52fc7f661be43323ee36828
Auto-update gateway port after subnet-create

(Patch set #6 for the multiple-ipv6-prefixes blueprint)

In the multi-prefix scenario, one can add two subnets
to an external gateway port by adding the two subnets
to the external network and using router-gateway-set.

However, if there is only one subnet on the port and
the user wishes to add another later, it is desirable
to have the newly-created external subnet automatically
added to the port. This patch adds this functionality.

Change-Id: I9395834f673038dc23b25eaeefe14895fe154e0e
Partially-implements: blueprint multiple-ipv6-prefixes
neutron/db/db_base_plugin_v2.py
neutron/tests/unit/test_l3_plugin.py