]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
ML2 binding:profile port attribute
authorBob Kukura <rkukura@redhat.com>
Thu, 13 Feb 2014 17:35:25 +0000 (12:35 -0500)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:31 +0000 (15:20 +0800)
commitf899553d2a6873431df80d54599fb9f7524bea47
tree8d5185225192c3357de8986225507d8b7e2ff53a
parent1ead0642cbe805814dd94e662b260bda44a6367f
ML2 binding:profile port attribute

The ML2 plugin stores the binding:profile port attribute, defined as a
dictionary, in its ml2_port_bindings DB table. Since the plugin can
support a variety of MechanismDrivers with different needs for
binding:profile attribute content, the plugin will accept, store, and
return arbitrary key/value pairs within the attribute. As with the
binding:host_id attribute, updates to binding:profile trigger
rebinding.

Implements: blueprint ml2-binding-profile
Change-Id: I01cba8d09dde9de1c6160d0235b0d289eed91b29
neutron/db/migration/alembic_migrations/versions/157a5d299379_ml2_binding_profile.py [new file with mode: 0644]
neutron/plugins/ml2/db.py
neutron/plugins/ml2/managers.py
neutron/plugins/ml2/models.py
neutron/plugins/ml2/plugin.py
neutron/tests/unit/_test_extension_portbindings.py
neutron/tests/unit/ml2/test_ml2_plugin.py