Add Port Profile info to VIF objects Linux Bridge plugin
Added the Port Profile information to each VIF type in ``vif_plug_linux_bridge``. This information will be populated to Nova trough os_vif.host_info function. Change-Id: Ib693388f7a7eb9aa359976a1d0aba35e5b325ddb Blueprint: vif-port-profile
This commit is contained in:
parent
b5a5b45104
commit
0805101573
@ -0,0 +1,8 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
In ``vif_plug_linux_bridge``, a new field called
|
||||
``supported_port_profiles`` is added to ``HostVIFInfo`` objects. This
|
||||
field is a list of ``HostPortProfileInfo`` objects describing the
|
||||
supported port profiles for each specific VIF type.
|
||||
Currently this field is only being used in ``vif_plug_ovs``.
|
@ -88,7 +88,10 @@ class LinuxBridgePlugin(plugin.PluginBase):
|
||||
objects.host_info.HostVIFInfo(
|
||||
vif_object_name=objects.vif.VIFBridge.__name__,
|
||||
min_version="1.0",
|
||||
max_version="1.0")
|
||||
max_version="1.0",
|
||||
# NOTE(ralonsoh): currently 'supported_port_profiles' is
|
||||
# only being used with OVS HostVIFInfo objects.
|
||||
supported_port_profiles=[]),
|
||||
])
|
||||
|
||||
def plug(self, vif, instance_info):
|
||||
|
Loading…
Reference in New Issue
Block a user