]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
OVS: update status according to admin_state_up
authorGary Kotton <gkotton@redhat.com>
Sun, 13 Jan 2013 12:10:23 +0000 (12:10 +0000)
committerGary Kotton <gkotton@redhat.com>
Fri, 25 Jan 2013 11:53:16 +0000 (11:53 +0000)
commit9dd553e12a07a6f5a8616f188f543be3d788cd01
treeef2af1d2c17e7ce1904241d2f5c78ee5b5754e88
parent8627cb46c15ceb40b25aadbc701e4d80ba0ca269
OVS: update status according to admin_state_up

Fixes bug 1099099

In addition to this the code does the following:
1. validates if the port exists on the OVS when a port update event takes
   place
2. when a port is created the initial state is set as 'DOWN'. this is
   later updated by the agent when it is detected as up

Change-Id: I917d4b5aa8df7395fcaa841d77083546478739d2
quantum/plugins/openvswitch/agent/ovs_quantum_agent.py
quantum/plugins/openvswitch/ovs_quantum_plugin.py
quantum/tests/unit/cisco/test_network_plugin.py
quantum/tests/unit/openvswitch/test_openvswitch_plugin.py
quantum/tests/unit/openvswitch/test_ovs_rpcapi.py