Skip to content

Commit fa2242b

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Use correct terminology for subnets"
2 parents a82aa66 + db458d7 commit fa2242b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

doc/source/commands.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ referring to both Compute and Volume quotas.
116116
* ``service``: (**Identity**) a cloud service
117117
* ``service provider``: (**Identity**) a resource that consumes assertions from an ``identity provider``
118118
* ``snapshot``: (**Volume**) a point-in-time copy of a volume
119-
* ``subnet``: (**Network**) - a pool of private IP addresses that can be assigned to instances or other resources
119+
* ``subnet``: (**Network**) - a contiguous range of IP addresses assigned to a network
120120
* ``token``: (**Identity**) a bearer token managed by Identity service
121121
* ``usage``: (**Compute**) display host resources being consumed
122122
* ``user``: (**Identity**) individual cloud resources users

openstackclient/network/v2/subnet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ def take_action(self, parsed_args):
5353

5454
data = self.app.client_manager.network.subnets()
5555

56-
headers = ('ID', 'Name', 'Network', 'CIDR')
56+
headers = ('ID', 'Name', 'Network', 'Subnet')
5757
columns = ('id', 'name', 'network_id', 'cidr')
5858
if parsed_args.long:
59-
headers += ('Project', 'DHCP', 'DNS Nameservers',
59+
headers += ('Project', 'DHCP', 'Name Servers',
6060
'Allocation Pools', 'Host Routes', 'IP Version',
6161
'Gateway')
6262
columns += ('tenant_id', 'enable_dhcp', 'dns_nameservers',

openstackclient/tests/network/v2/test_subnet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ class TestListSubnet(TestSubnet):
3434
'ID',
3535
'Name',
3636
'Network',
37-
'CIDR'
37+
'Subnet'
3838
)
3939
columns_long = columns + (
4040
'Project',
4141
'DHCP',
42-
'DNS Nameservers',
42+
'Name Servers',
4343
'Allocation Pools',
4444
'Host Routes',
4545
'IP Version',

0 commit comments

Comments
 (0)