commit be8a06894390af032e8e0aea2108da4780678cc7
Author: Bob Kukura <email address hidden>
Date: Mon Feb 3 23:18:44 2014 -0500
Replace binding:capabilities with binding:vif_details
In addition to binding:vif_type, the neutron core plugin needs to
supply various information to nova's VIF driver, such as VIF security
details and PCI details when SR-IOV is being used. This information is
read-only, requires admin privileges, and is not intended for normal
users. Rather than add separate mechanisms throughout the stack for
each such requirement, the binding:capabilities port attibute, which
is a dictionary and is not currently not used by nova, is renamed to
binding:vif_details to serve as a general-purpose mechanism for
supplying binding-specific details to the VIF driver.
This patch does not remove or replace the CAP_PORT_FILTER boolean
previously used in binding:capabilities. A separate patch should
implement the specific key/value pairs carried by binding:vif_details
to implement VIF security. Another patch will implement the key/value
pairs needed for SR-IOV.
The ML2 plugin now allows the bound mechanism driver to supply the
binding:vif_details dictionary content, instead of just the
CAP_PORT_FILTER boolean previously carried by the binding:capabilities
attribute.
DocImpact: Need to update portbinding extension API, but no impact on
user or administrator documentation.
Reviewed: https:/ /review. openstack. org/72452 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=be8a0689439 0af032e8e0aea21 08da4780678cc7
Committed: https:/
Submitter: Jenkins
Branch: master
commit be8a06894390af0 32e8e0aea2108da 4780678cc7
Author: Bob Kukura <email address hidden>
Date: Mon Feb 3 23:18:44 2014 -0500
Replace binding: capabilities with binding:vif_details
In addition to binding:vif_type, the neutron core plugin needs to capabilities port attibute, which vif_details to serve as a general-purpose mechanism for
supply various information to nova's VIF driver, such as VIF security
details and PCI details when SR-IOV is being used. This information is
read-only, requires admin privileges, and is not intended for normal
users. Rather than add separate mechanisms throughout the stack for
each such requirement, the binding:
is a dictionary and is not currently not used by nova, is renamed to
binding:
supplying binding-specific details to the VIF driver.
This patch does not remove or replace the CAP_PORT_FILTER boolean capabilities. A separate patch should
previously used in binding:
implement the specific key/value pairs carried by binding:vif_details
to implement VIF security. Another patch will implement the key/value
pairs needed for SR-IOV.
The ML2 plugin now allows the bound mechanism driver to supply the vif_details dictionary content, instead of just the capabilities
binding:
CAP_PORT_FILTER boolean previously carried by the binding:
attribute.
DocImpact: Need to update portbinding extension API, but no impact on
user or administrator documentation.
Implements: blueprint vif-details 70f72b4f9add8ef f3ac88c723f
Related-Bug: 1112912
Change-Id: I34be746fcfa73c