openstack-python-openstackc.../openstackclient
Rodolfo Alonso Hernandez 0ba77e6727 [Neutron] Fix the "port show" command for trunk details
In [1], the "port list --long" command received a new column, showing
the trunk subports related to a parent port. The problem of this patch
is that the ``_formatters`` definition, that is shared with the "port
show" command too, is changed. The "trunk_details" information presented
in both commands differ:
* In the "port list" command, only the subports are presented, in order
  to print a list of dictionaries without showing the ``trunk_id``.
* In the "port show" command, it is presented all the trunk information,
  including the ``trunk_id``.

This patch includes functional tests to validate the fix.

[1]https://review.opendev.org/c/openstack/python-openstackclient/+/926611

Closes-Bug: #2098950
Change-Id: Ib1107fb3dbb025b39a7c55f90f5fe51ae433a72f
2025-02-20 01:07:39 +00:00
..
api pre-commit: Migrate pyupgrade to ruff 2024-09-12 18:08:23 +01:00
common quota: Catch correct exception type for Compute quotas 2024-12-09 15:49:40 +00:00
compute Merge "compute: Workaround bug #2089821" 2024-12-10 14:03:49 +00:00
identity Merge "Identity: Deprecate --region None in limits/registered limits" 2025-02-12 00:22:23 +00:00
image Show final image state after image create 2025-01-16 15:35:43 +00:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network [Neutron] Fix the "port show" command for trunk details 2025-02-20 01:07:39 +00:00
object trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00
releasenotes/notes Show Created At column for volume backups 2024-05-19 22:17:06 +02:00
tests [Neutron] Fix the "port show" command for trunk details 2025-02-20 01:07:39 +00:00
volume Merge "Fix: Volume backup restore output" 2025-01-07 18:35:53 +00:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py pre-commit: Migrate pyupgrade to ruff 2024-09-12 18:08:23 +01:00