summaryrefslogtreecommitdiff
path: root/openstackclient/network
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2016-01-26 17:42:41 -0600
committerDean Troyer <dtroyer@gmail.com>2016-01-27 09:13:46 -0600
commitdb458d7dec6b2cf712a14e54a76305258aedb700 (patch)
tree1fb337df26409057b7524d17c28e16f6c9b16b76 /openstackclient/network
parentffcfff6f3eda2cc9022b7924aa1d08739d63aaa1 (diff)
downloadpython-openstackclient-db458d7dec6b2cf712a14e54a76305258aedb700.tar.gz
Use correct terminology for subnets
OpenStack uses 'CIDR' incorrectly in many places. We are not going to perpetuate that usage. The correct name here is simply 'subnet' as the data is the network address for the subnet, in CIDR notation. Also, some additional cleanups as suggested in comments to https://review.openstack.org/#/c/84782 Depends-on: I3c0748074a6511ff92500516b3129886d2476eed Change-Id: Ib44c49dc1739ce7d881432e482dd16f8928eef49
Diffstat (limited to 'openstackclient/network')
-rw-r--r--openstackclient/network/v2/subnet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/network/v2/subnet.py b/openstackclient/network/v2/subnet.py
index cd0e52ff..62747125 100644
--- a/openstackclient/network/v2/subnet.py
+++ b/openstackclient/network/v2/subnet.py
@@ -53,10 +53,10 @@ class ListSubnet(lister.Lister):
data = self.app.client_manager.network.subnets()
- headers = ('ID', 'Name', 'Network', 'CIDR')
+ headers = ('ID', 'Name', 'Network', 'Subnet')
columns = ('id', 'name', 'network_id', 'cidr')
if parsed_args.long:
- headers += ('Project', 'DHCP', 'DNS Nameservers',
+ headers += ('Project', 'DHCP', 'Name Servers',
'Allocation Pools', 'Host Routes', 'IP Version',
'Gateway')
columns += ('tenant_id', 'enable_dhcp', 'dns_nameservers',