Commit d84716f
committed
Add missing vnic-type choices to --vnic-type
The --vnic-type choices list was missing several vnic types that
exist in neutron-lib's VNIC_TYPES: accelerator-direct (added in
Xena for smartNIC SR-IOV), accelerator-direct-physical, and
smart-nic. This forced users to use curl to create ports with
these vnic types.
Add all missing types to the choices tuple and help text so the
CLI matches neutron-lib.
Closes-Bug: #2161369
Assisted-by: Claude claude-opus-4-6 2.1.215
Change-Id: I052f77b911057a88f21adc0107196a3156a80ca1
Signed-off-by: melanie witt <melwittt@gmail.com>1 parent 9726a4d commit d84716f
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| 399 | + | |
| 400 | + | |
399 | 401 | | |
400 | 402 | | |
401 | 403 | | |
402 | 404 | | |
403 | 405 | | |
404 | 406 | | |
| 407 | + | |
405 | 408 | | |
406 | 409 | | |
407 | 410 | | |
408 | 411 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
413 | 417 | | |
414 | 418 | | |
415 | 419 | | |
| |||
0 commit comments