diff options
| author | Dr. Jens Harbott <harbott@osism.tech> | 2022-06-27 09:17:31 +0200 |
|---|---|---|
| committer | Dr. Jens Harbott <harbott@osism.tech> | 2022-06-27 10:50:03 +0200 |
| commit | 604ceeedf98e06a07f861a628b931033f5509c79 (patch) | |
| tree | ec774f33912fe2d20229f50f1096f2b5d9189929 /openstackclient/network/v2/network_agent.py | |
| parent | 4f79def9aa356ab7df2fdb4546585d49e0116bc8 (diff) | |
| download | python-openstackclient-604ceeedf98e06a07f861a628b931033f5509c79.tar.gz | |
Don't show tenant_id in network objects
Patch [0] dropped mapping the tenant_id attribute to project_id.
However, the Neutron API still returns the tenant_id attribute in
addition to the project_id and so we still need to discard it from
the output.
[0] I5f62f2a76592eaaaed6703624e959df41a6ecc8f
Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: Iba1e003bf587802f28928cb44d160b3b3fb1f840
Diffstat (limited to 'openstackclient/network/v2/network_agent.py')
| -rw-r--r-- | openstackclient/network/v2/network_agent.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/network/v2/network_agent.py b/openstackclient/network/v2/network_agent.py index 4ea30b10..d963b3bf 100644 --- a/openstackclient/network/v2/network_agent.py +++ b/openstackclient/network/v2/network_agent.py @@ -50,7 +50,7 @@ def _get_network_columns(item): 'is_admin_state_up': 'admin_state_up', 'is_alive': 'alive', } - hidden_columns = ['location', 'name'] + hidden_columns = ['location', 'name', 'tenant_id'] return utils.get_osc_show_columns_for_sdk_resource( item, column_map, |
