diff options
author | Zuul <zuul@review.opendev.org> | 2022-01-19 23:35:59 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-01-19 23:35:59 +0000 |
commit | 6ca3341352e17f8ea4e79627c5a96c519b73a7b6 (patch) | |
tree | 63e53f73bbe6691256c26508fa4c9c622bf66225 /neutronclient/neutron/v2_0/port.py | |
parent | 517bef2c5454dde2eba5cc2194ee857be6be7164 (diff) | |
parent | 1df1f38a91afd158336044a57f7e4c8e11108a94 (diff) | |
download | python-neutronclient-6ca3341352e17f8ea4e79627c5a96c519b73a7b6.tar.gz |
Merge "Add support for 'smart-nic' vnic-type"7.8.0
Diffstat (limited to 'neutronclient/neutron/v2_0/port.py')
-rw-r--r-- | neutronclient/neutron/v2_0/port.py | 6 |
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( |