mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Hides prefix_length column in subnet show output
When the openstacksdk is patched to properly support defining prefix lengths when creating subnets, the resulting subnet show output reveals a prefix_length column with a value of 'none'. This patch hides the prefix_length column. Change-Id: I59dfb0b1585ed624f9d82b3557df2ff5ff9d1b3e Partial-Bug: 1754062 Depends-On: https://review.openstack.org/#/c/550558/
This commit is contained in:
parent
86bca18b74
commit
d769ff4393
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ def _get_columns(item):
|
|||
'tenant_id': 'project_id',
|
||||
}
|
||||
# Do not show this column when displaying a subnet
|
||||
invisible_columns = ['use_default_subnet_pool']
|
||||
invisible_columns = ['use_default_subnet_pool', 'prefix_length']
|
||||
return sdk_utils.get_osc_show_columns_for_sdk_resource(
|
||||
item,
|
||||
column_map,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue