summaryrefslogtreecommitdiff
path: root/neutronclient/neutron/v2_0/port.py
diff options
context:
space:
mode:
Diffstat (limited to 'neutronclient/neutron/v2_0/port.py')
-rw-r--r--neutronclient/neutron/v2_0/port.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/neutronclient/neutron/v2_0/port.py b/neutronclient/neutron/v2_0/port.py
index 0982b04..3fe7354 100644
--- a/neutronclient/neutron/v2_0/port.py
+++ b/neutronclient/neutron/v2_0/port.py
@@ -245,15 +245,15 @@ class CreatePort(neutronV20.CreateCommand, UpdatePortSecGroupMixin,
parser.add_argument(
'--vnic-type',
metavar='<direct | direct-physical | macvtap '
- '| normal | baremetal>',
+ '| normal | baremetal | smart-nic>',
choices=['direct', 'direct-physical', 'macvtap',
- 'normal', 'baremetal'],
+ 'normal', 'baremetal', 'smart-nic'],
type=utils.convert_to_lowercase,
help=_('VNIC type for this port.'))
parser.add_argument(
'--vnic_type',
choices=['direct', 'direct-physical', 'macvtap',
- 'normal', 'baremetal'],
+ 'normal', 'baremetal', 'smart-nic'],
type=utils.convert_to_lowercase,
help=argparse.SUPPRESS)
parser.add_argument(