Bug 1043470

Summary: nova net-list should not display a CIDR column
Product: Red Hat OpenStack Reporter: Udi Kalifon <ukalifon>
Component: python-novaclientAssignee: Jakub Ruzicka <jruzicka>
Status: CLOSED UPSTREAM QA Contact: Ami Jeain <ajeain>
Severity: low Docs Contact:
Priority: low    
Version: 4.0CC: dallan, jruzicka, ndipanov, ohochman, sgordon, ukalifon, xqueralt, yeylon
Target Milestone: ---Keywords: Reopened
Target Release: 5.0 (RHEL 7)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-12 12:37:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Udi Kalifon 2013-12-16 12:03:43 UTC
Description of problem:
The CIDR column in the output of "nova net-list" is always "None". Since the CIDR is relevant only to subnets and not to networks, this column should either not be displayed or it should show the list of subnets like in neutron net-list.


Version-Release number of selected component (if applicable):
openstack-nova-2013.2-9.el6ost.noarch


Steps to Reproduce:
1. Create a network with a subnet, for example: 192.168.1.0/24
2. Run nova net-list on the command line


Actual results:
+--------------------------------------+----------+------+
| ID                                   | Label    | CIDR |
+--------------------------------------+----------+------+
| 2cea6316-6ec4-40bf-af6a-792969f7187e | external | None |
| ac85b131-dc46-4ee6-9fb2-1b894166a83c | internal | None |
+--------------------------------------+----------+------+


Expected results:
It doesn't look nice that the CIDR column always shows "None".

Comment 2 Xavier Queralt 2013-12-16 12:29:22 UTC
This is an issue in the client, moving to python-novaclient component.

Comment 3 Jakub Ruzicka 2014-05-06 18:17:46 UTC
This is an upstream Wishlist bug. Please report upstream and link the external tracker:

https://bugs.launchpad.net/python-novaclient/+filebug

The patch will be included in future novaclient versions.

Comment 4 Jakub Ruzicka 2014-05-06 18:18:38 UTC
Leaving in POST until reported upstream.

Comment 5 Udi Kalifon 2014-05-07 14:50:13 UTC
Bug reported: https://bugs.launchpad.net/python-novaclient/+bug/1317130