Neutron 'list' commands do not display 'fields' when there are no resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cliff |
Confirmed
|
Undecided
|
vishal yadav |
Bug Description
Neutron 'list commands' do not display 'fields' when there are no resources available.
neutron --version - 2.3.4
tenant - admin
Examples:
1) (Neutron) When there is no network:
[devbox@localhost devstack]$ neutron net-list
2) (Neutron) When there is no subnet:
[devbox@localhost devstack]$ neutron subnet-list
3) (Neutron) When there is no router:
[devbox@localhost devstack]$ neutron router-list
4) (Nova) When there is no instance:
[devbox@localhost devstack]$ nova list
+----+-
| ID | Name | Status | Task State | Power State | Networks |
+----+-
+----+-
5) (Cinder) When there is no volume:
[devbox@localhost devstack]$ cinder list
+----+-
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+----+-
+----+-
Neutron client should also display 'fields' when there are no resources:
1) To keep consistent behaviour with other OpenStack clients.
2) User should get the idea what information will be displayed about the resources even though there are no corresponding network resources.
Changed in python-neutronclient: | |
assignee: | nobody → vishal yadav (vishalcdac07) |
Changed in python-neutronclient: | |
status: | New → Confirmed |
Changed in python-neutronclient: | |
assignee: | vishal yadav (vishalcdac07) → Sripriya (sseetha) |
Changed in python-neutronclient: | |
assignee: | Sripriya (sseetha) → vishal yadav (vishalcdac07) |
affects: | python-neutronclient → python-cliff |
Can you please confirm if this is a bug and change the status to 'Confirmed'?