diff --git a/neutron_lib/api/definitions/portbindings.py b/neutron_lib/api/definitions/portbindings.py index 80880d3a5..229b9dd0d 100644 --- a/neutron_lib/api/definitions/portbindings.py +++ b/neutron_lib/api/definitions/portbindings.py @@ -87,6 +87,10 @@ VIF_TYPE_BINDING_FAILED = 'binding_failed' VIF_TYPE_DISTRIBUTED = 'distributed' VIF_TYPE_OVS = 'ovs' VIF_TYPE_BRIDGE = 'bridge' +# - ovs-acceleration: The ovs acceleration interface type is a SR-IOV hostdev +# interface which support switchdev mode provided by +# kernel 4.8. +VIF_TYPE_OVS_ACCELERATION = 'ovs_acceleration' VIF_TYPE_OTHER = 'other' VIF_TYPE_TAP = 'tap' # vif_type_macvtap: Tells Nova that the macvtap vif_driver should be used to diff --git a/releasenotes/notes/add_vif_type_ovs_acceleration-0f983fa70c6d7519.yaml b/releasenotes/notes/add_vif_type_ovs_acceleration-0f983fa70c6d7519.yaml new file mode 100644 index 000000000..7af751434 --- /dev/null +++ b/releasenotes/notes/add_vif_type_ovs_acceleration-0f983fa70c6d7519.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add new vif type ``VIF_TYPE_OVS_ACCELERATION`` to portbindings. \ No newline at end of file