Add smartnic port type to VNIC_TYPES
Neutron OVS ML2 mechanism driver will allow binding the `smart-nic` vnic_type. The rationale for creating new vnic_type and not using the barmetal one is that there is a wide range of mechanism drivers that use heirachical port binding for configuring TOR switches and we want to allow this to work with smart NICs. Story: #2003346 Change-Id: I91f63810626ce4e054e358f5de5e46434c4da131
This commit is contained in:
parent
152342413b
commit
f3f220ed62
@ -1926,7 +1926,7 @@ binding:vnic_type:
|
|||||||
The type of vNIC which this port should be attached to. This is used to
|
The type of vNIC which this port should be attached to. This is used to
|
||||||
determine which mechanism driver(s) to be used to bind the port.
|
determine which mechanism driver(s) to be used to bind the port.
|
||||||
The valid values are ``normal``, ``macvtap``, ``direct``, ``baremetal``,
|
The valid values are ``normal``, ``macvtap``, ``direct``, ``baremetal``,
|
||||||
``direct-physical`` and ``virtio-forwarder``.
|
``direct-physical``, ``virtio-forwarder`` and ``smart-nic``.
|
||||||
What type of vNIC is actually available depends on deployments.
|
What type of vNIC is actually available depends on deployments.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
@ -1936,7 +1936,7 @@ binding:vnic_type-request:
|
|||||||
The type of vNIC which this port should be attached to. This is used to
|
The type of vNIC which this port should be attached to. This is used to
|
||||||
determine which mechanism driver(s) to be used to bind the port.
|
determine which mechanism driver(s) to be used to bind the port.
|
||||||
The valid values are ``normal``, ``macvtap``, ``direct``, ``baremetal``,
|
The valid values are ``normal``, ``macvtap``, ``direct``, ``baremetal``,
|
||||||
``direct-physical`` and ``virtio-forwarder``.
|
``direct-physical``, ``virtio-forwarder`` and ``smart-nic``.
|
||||||
What type of vNIC is actually available depends on deployments.
|
What type of vNIC is actually available depends on deployments.
|
||||||
The default is ``normal``.
|
The default is ``normal``.
|
||||||
in: body
|
in: body
|
||||||
|
@ -112,9 +112,10 @@ VNIC_MACVTAP = 'macvtap'
|
|||||||
VNIC_BAREMETAL = 'baremetal'
|
VNIC_BAREMETAL = 'baremetal'
|
||||||
VNIC_DIRECT_PHYSICAL = 'direct-physical'
|
VNIC_DIRECT_PHYSICAL = 'direct-physical'
|
||||||
VNIC_VIRTIO_FORWARDER = 'virtio-forwarder'
|
VNIC_VIRTIO_FORWARDER = 'virtio-forwarder'
|
||||||
|
VNIC_SMARTNIC = 'smart-nic'
|
||||||
|
|
||||||
VNIC_TYPES = [VNIC_NORMAL, VNIC_DIRECT, VNIC_MACVTAP, VNIC_BAREMETAL,
|
VNIC_TYPES = [VNIC_NORMAL, VNIC_DIRECT, VNIC_MACVTAP, VNIC_BAREMETAL,
|
||||||
VNIC_DIRECT_PHYSICAL, VNIC_VIRTIO_FORWARDER]
|
VNIC_DIRECT_PHYSICAL, VNIC_VIRTIO_FORWARDER, VNIC_SMARTNIC]
|
||||||
|
|
||||||
|
|
||||||
# The alias of the extension.
|
# The alias of the extension.
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Add ``smart-nic`` VNIC type for Smart NIC ports.
|
Loading…
Reference in New Issue
Block a user