From 4c2eb2bd8b9ba16dba1eb3707f64c0ea4f447e91 Mon Sep 17 00:00:00 2001 From: M V P Nitesh Date: Thu, 22 Jun 2017 12:56:26 +0530 Subject: 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 Change-Id: I587d2bca37b8dbef4400db3d8ace3c81d87e2db3 Closes-Bug: #1695783 --- openstackclient/network/v2/network.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openstackclient/network/v2/network.py') 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) -- cgit v1.2.1