Skip to content

Commit d565f11

Browse files
committed
Add support for 'remote-managed' vnic type
The 'remote-managed' vnic type will be used to support off-path SmartNIC port binding with OVN, and it is expected that the user will create ports with this vnic type as part of the workflow. As such the client must allow users to interact with this vnic type and this patch addresses that. Partial-Bug: #1932154 Depends-On: I496db96ea40da3bee5b81bcee1edc79e1f46b541 Change-Id: I566c3da594d757dd62edcf7f9ea3077db8d6b11a
1 parent e000fd5 commit d565f11

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

openstackclient/network/v2/port.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,12 @@ def _add_updatable_args(parser):
259259
metavar='<vnic-type>',
260260
choices=(
261261
'direct', 'direct-physical', 'macvtap',
262-
'normal', 'baremetal', 'virtio-forwarder', 'vdpa'
262+
'normal', 'baremetal', 'virtio-forwarder', 'vdpa', 'remote-managed'
263263
),
264264
help=_(
265265
"VNIC type for this port (direct | direct-physical | "
266-
"macvtap | normal | baremetal | virtio-forwarder | vdpa, "
266+
"macvtap | normal | baremetal | virtio-forwarder | vdpa | "
267+
"remote-managed, "
267268
"default: normal)"
268269
),
269270
)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
features:
3+
- |
4+
Support for the ``remote-managed`` VNIC type has been added and can now be
5+
passed to the ``--vnic-type`` option when used in conjunction with the
6+
``port create`` and ``port set`` commands.

0 commit comments

Comments
 (0)