diff --git a/releasenotes/notes/port-profile-info-linux-bridge-4800f5a0b7328615.yaml b/releasenotes/notes/port-profile-info-linux-bridge-4800f5a0b7328615.yaml new file mode 100644 index 00000000..23fdd225 --- /dev/null +++ b/releasenotes/notes/port-profile-info-linux-bridge-4800f5a0b7328615.yaml @@ -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``. diff --git a/vif_plug_linux_bridge/linux_bridge.py b/vif_plug_linux_bridge/linux_bridge.py index 9cce210b..f454dafb 100644 --- a/vif_plug_linux_bridge/linux_bridge.py +++ b/vif_plug_linux_bridge/linux_bridge.py @@ -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):