]> 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)
committerBob Kukura <rkukura@redhat.com>
Mon, 24 Feb 2014 17:30:46 +0000 (12:30 -0500)
commitcb106a719378de69b7656f7f30566dd68e51576b
tree9967122372e48c6734601587ff6da082eb94ff0c
parent77dfe0962bb37e54a9826c126ce07ed9d9164d3c
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