diff --git a/doc/source/cli/command-objects/port.rst b/doc/source/cli/command-objects/port.rst index 2102288bd..37814a959 100644 --- a/doc/source/cli/command-objects/port.rst +++ b/doc/source/cli/command-objects/port.rst @@ -60,8 +60,8 @@ Create new port .. option:: --vnic-type - VNIC type for this port (direct | direct-physical | macvtap | normal | baremetal, - default: normal) + VNIC type for this port (direct | direct-physical | macvtap | normal | baremetal | + virtio-forwarder, default: normal) .. option:: --binding-profile @@ -262,8 +262,8 @@ Set port properties .. option:: --vnic-type - VNIC type for this port (direct | direct-physical | macvtap | normal | baremetal, - default: normal) + VNIC type for this port (direct | direct-physical | macvtap | normal | baremetal | + virtio-forwarder, default: normal) .. option:: --binding-profile diff --git a/openstackclient/network/v2/port.py b/openstackclient/network/v2/port.py index 1409a194b..d7f197e01 100644 --- a/openstackclient/network/v2/port.py +++ b/openstackclient/network/v2/port.py @@ -248,9 +248,10 @@ def _add_updatable_args(parser): '--vnic-type', metavar='', choices=['direct', 'direct-physical', 'macvtap', - 'normal', 'baremetal'], + 'normal', 'baremetal', 'virtio-forwarder'], help=_("VNIC type for this port (direct | direct-physical | " - "macvtap | normal | baremetal, default: normal)") + "macvtap | normal | baremetal | virtio-forwarder, " + " default: normal)") ) # NOTE(dtroyer): --host-id is deprecated in Mar 2016. Do not # remove before 3.x release or Mar 2017. diff --git a/releasenotes/notes/add-virtio-forwarder-vnic-type-bad939c6a868b9e9.yaml b/releasenotes/notes/add-virtio-forwarder-vnic-type-bad939c6a868b9e9.yaml new file mode 100644 index 000000000..b98b7c5da --- /dev/null +++ b/releasenotes/notes/add-virtio-forwarder-vnic-type-bad939c6a868b9e9.yaml @@ -0,0 +1,9 @@ +--- +features: + - | + The ``virtio-forwarder`` VNIC type has been added as another option for + setting the ``--vnic-type`` property on the ``port set`` and + ``port create`` commands. This requests a low-latency virtio port inside + the instance, likely backed by hardware acceleration. Currently the + Agilio OVS external plugin provides support for this, with support from + other vendors following soon.