Merge "network: Add support for vnic-type vdpa"
This commit is contained in:
commit
8e3dde03f9
@ -255,11 +255,15 @@ def _add_updatable_args(parser):
|
||||
parser.add_argument(
|
||||
'--vnic-type',
|
||||
metavar='<vnic-type>',
|
||||
choices=['direct', 'direct-physical', 'macvtap',
|
||||
'normal', 'baremetal', 'virtio-forwarder'],
|
||||
help=_("VNIC type for this port (direct | direct-physical | "
|
||||
"macvtap | normal | baremetal | virtio-forwarder, "
|
||||
"default: normal)")
|
||||
choices=(
|
||||
'direct', 'direct-physical', 'macvtap',
|
||||
'normal', 'baremetal', 'virtio-forwarder', 'vdpa'
|
||||
),
|
||||
help=_(
|
||||
"VNIC type for this port (direct | direct-physical | "
|
||||
"macvtap | normal | baremetal | virtio-forwarder | vdpa, "
|
||||
"default: normal)"
|
||||
),
|
||||
)
|
||||
parser.add_argument(
|
||||
'--host',
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The ``port create --vnic-type`` option now accepts a ``vdpa`` value.
|
Loading…
Reference in New Issue
Block a user