]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
ML2: ODL driver sets port status
authorRobert Kukura <kukura@noironetworks.com>
Thu, 3 Apr 2014 21:01:00 +0000 (17:01 -0400)
committerRobert Kukura <kukura@noironetworks.com>
Fri, 4 Apr 2014 00:50:45 +0000 (20:50 -0400)
commita9e3074aa9f442c2fff1ba058ac8ed585c6caa24
treea645e93554d65d19e3fabcc4e0c0ba39886c3e2b
parentdb232425e6e97afcddf194f508c7bdc0d8c051a3
ML2: ODL driver sets port status

The OpenDaylight mechanism driver does not depend on an L2 agent to
plug the port. Now that nova waits for notification that the port
status is ACTIVE, the ML2 driver API is extended so that the mechanism
driver that binds a port can optionally set the port status, and the
OpenDaylight mechanism driver uses this to set the port status to
ACTIVE.

Closes-Bug: 1301449
Change-Id: I171c405f36b4f2354d9585e8ae3dfa50ddaa9a7e
neutron/plugins/ml2/driver_api.py
neutron/plugins/ml2/driver_context.py
neutron/plugins/ml2/drivers/mechanism_odl.py
neutron/plugins/ml2/plugin.py
neutron/tests/unit/ml2/drivers/mechanism_test.py
neutron/tests/unit/ml2/test_port_binding.py