diff options
| author | M V P Nitesh <m.nitesh@nectechnologies.in> | 2017-06-22 12:56:26 +0530 |
|---|---|---|
| committer | M V P Nitesh <m.nitesh@nectechnologies.in> | 2017-06-22 12:58:18 +0530 |
| commit | 4c2eb2bd8b9ba16dba1eb3707f64c0ea4f447e91 (patch) | |
| tree | 1cf075b1d88bd055d6d7388146847c208608f25f /openstackclient/network | |
| parent | 7653cff5e6f9592332a23e452ad6bf1549542b16 (diff) | |
| download | python-openstackclient-4c2eb2bd8b9ba16dba1eb3707f64c0ea4f447e91.tar.gz | |
Show neutron tags in OSC network show
Now tag information of the network is displayed when the user
tries to see the network details using the command
openstack network show <net-id>
Change-Id: I587d2bca37b8dbef4400db3d8ace3c81d87e2db3
Closes-Bug: #1695783
Diffstat (limited to 'openstackclient/network')
| -rw-r--r-- | openstackclient/network/v2/network.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openstackclient/network/v2/network.py b/openstackclient/network/v2/network.py index e4cf54bf..e3737895 100644 --- a/openstackclient/network/v2/network.py +++ b/openstackclient/network/v2/network.py @@ -39,6 +39,7 @@ _formatters = { 'is_router_external': _format_router_external, 'availability_zones': utils.format_list, 'availability_zone_hints': utils.format_list, + 'tags': utils.format_list, } @@ -55,6 +56,7 @@ def _get_columns_network(item): 'ipv4_address_scope_id': 'ipv4_address_scope', 'ipv6_address_scope_id': 'ipv6_address_scope', 'tenant_id': 'project_id', + 'tags': 'tags', } return sdk_utils.get_osc_show_columns_for_sdk_resource(item, column_map) |
