]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure network connectivity for linuxbridge flat network.
authorGary Kotton <gkotton@redhat.com>
Thu, 23 Aug 2012 08:57:26 +0000 (04:57 -0400)
committerGary Kotton <gkotton@redhat.com>
Mon, 27 Aug 2012 16:50:04 +0000 (12:50 -0400)
commitdbeb79504c8b706ba5fa18144f4e7a0d23586d5d
tree2468184aba478ba54aa76c4c13d32827db70e01a
parentdee4e232af2400c2afd9e4dcf54bcc5e20188b6f
Ensure network connectivity for linuxbridge flat network.

Fixes bug 1040447

In the event that an IP address and gateway are defined on an interface that is
used in a flat network, then the interface details will be copied to the
bridge when it is created.
If the network is deleted then the IP addresses are returned to the interface.

Change-Id: Ic860d7635c137f49e5aaaa25dc9727ac60227f1a
quantum/agent/linux/ip_lib.py
quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py
quantum/tests/unit/test_linux_ip_lib.py