]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Reassign IP to vlan interface when deleting a VLAN bridge
authorRalf Haferkamp <rhafer@suse.de>
Tue, 26 Nov 2013 16:38:44 +0000 (17:38 +0100)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:13 +0000 (15:20 +0800)
commit55e669a90b8f288a2d47257477577ec6edf6eabc
treeb700f485cf7d054c54e02b26b9ff11b0c2235de3
parentb8c3a602423e8415f6b79ddbfa40dff7c9413a12
Reassign IP to vlan interface when deleting a VLAN bridge

When deleting a VLAN bridge that has an IP address assigned to it, don't delete
the VLAN interface, but reassigned the IP address back to the underlying VLAN
interface.

Closes-Bug: #1255153

Change-Id: I5e39877c0786b43eddba9b5e1394d4c2ec023c0a
neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py
neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py