Neutron: port-create missing help info for the option: --binding
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Fix Released
|
Undecided
|
Vikram Hosakote |
Bug Description
nova-manage version: 2015.1
Issue: Neutron port-create missing help info for the option: --binding:vnic-type
Valid inputs are 'normal', 'direct' and 'macvtap'.
ubuntu@
Invalid input for binding:vnic_type. Reason: 'mactap' is not in ['normal', 'direct', 'macvtap'].
ubuntu@
usage: neutron port-create [-h] [-f {html,json,
Changed in neutron: | |
assignee: | nobody → Sudipta Biswas (sbiswas7) |
Changed in neutron: | |
assignee: | Sudipta Biswas (sbiswas7) → nobody |
Changed in neutron: | |
assignee: | nobody → Vikram Hosakote (vhosakot) |
affects: | neutron → python-neutronclient |
Changed in python-neutronclient: | |
milestone: | none → 2.6.0 |
status: | Fix Committed → Fix Released |
Reproduced successfully with the latest python- neutronclient (2.3.11).
$ neutron port-create --name sriov-mactap --binding: vnic-type= mactap private
Invalid input for binding:vnic_type. Reason: 'mactap' is not in ['normal', 'direct', 'macvtap'].
$ neutron --version
2.3.11
The following three commands work fine.
neutron port-create --name sriov-mactap --binding: vnic-type= normal private vnic-type= direct private vnic-type= macvtap private
neutron port-create --name sriov-mactap --binding:
neutron port-create --name sriov-mactap --binding:
port-create's help text must be fixed to print info for --binding: vnic-type. Fixing it.