Skip to content

Commit e954fe4

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Add support for virtio-forwarder VNIC type"
2 parents ac8cac4 + cf5dfa7 commit e954fe4

3 files changed

Lines changed: 16 additions & 6 deletions

File tree

doc/source/cli/command-objects/port.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ Create new port
6060
6161
.. option:: --vnic-type <vnic-type>
6262
63-
VNIC type for this port (direct | direct-physical | macvtap | normal | baremetal,
64-
default: normal)
63+
VNIC type for this port (direct | direct-physical | macvtap | normal | baremetal |
64+
virtio-forwarder, default: normal)
6565
6666
.. option:: --binding-profile <binding-profile>
6767
@@ -262,8 +262,8 @@ Set port properties
262262
263263
.. option:: --vnic-type <vnic-type>
264264
265-
VNIC type for this port (direct | direct-physical | macvtap | normal | baremetal,
266-
default: normal)
265+
VNIC type for this port (direct | direct-physical | macvtap | normal | baremetal |
266+
virtio-forwarder, default: normal)
267267
268268
.. option:: --binding-profile <binding-profile>
269269

openstackclient/network/v2/port.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,10 @@ def _add_updatable_args(parser):
248248
'--vnic-type',
249249
metavar='<vnic-type>',
250250
choices=['direct', 'direct-physical', 'macvtap',
251-
'normal', 'baremetal'],
251+
'normal', 'baremetal', 'virtio-forwarder'],
252252
help=_("VNIC type for this port (direct | direct-physical | "
253-
"macvtap | normal | baremetal, default: normal)")
253+
"macvtap | normal | baremetal | virtio-forwarder, "
254+
" default: normal)")
254255
)
255256
# NOTE(dtroyer): --host-id is deprecated in Mar 2016. Do not
256257
# remove before 3.x release or Mar 2017.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
features:
3+
- |
4+
The ``virtio-forwarder`` VNIC type has been added as another option for
5+
setting the ``--vnic-type`` property on the ``port set`` and
6+
``port create`` commands. This requests a low-latency virtio port inside
7+
the instance, likely backed by hardware acceleration. Currently the
8+
Agilio OVS external plugin provides support for this, with support from
9+
other vendors following soon.

0 commit comments

Comments
 (0)