]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure that L3 managed port have status ACTIVE
authorGary Kotton <gkotton@vmware.com>
Thu, 20 Jun 2013 11:04:59 +0000 (11:04 +0000)
committerGary Kotton <gkotton@vmware.com>
Thu, 25 Jul 2013 19:27:42 +0000 (12:27 -0700)
commitd88ea97228ec8bb38f071c3969fdbb3abf6ab575
treebafa20256edf713c50122ce4fc6257bb4b41a2a6
parent450174b103c89d0cbac3b44840edcb8b1192674c
Ensure that L3 managed port have status ACTIVE

Some plugins may set the port status as DOWN when it is created. This was not
updated when the port was actually up. This patch ensures that gateway and
router ports that are created will be set as ACTIVE when they are actually
up and running.

Ports that are attached to additional bridges in the OVS will only update the
port status as ACTIVE. There will be no tags set on the specific ports as this
will break the existing functionality.

Fixes bug 1192883

Change-Id: I9993f56963ac704f0f345102d2e8b2d99dd9ad9e
neutron/agent/linux/ovs_lib.py
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_tunnel.py