openstack-python-openstackc.../openstackclient/tests/functional
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
..
common Merge "compute: Allow adding, removing multiple SGs" 2024-09-17 13:26:47 +00:00
compute tests: Add functional test for adding, removing SGs 2024-12-09 13:56:58 +00:00
identity Identity: Migrate 'role' commands to SDK 2025-01-13 21:55:10 +00:00
image pre-commit: Migrate pyupgrade to ruff 2024-09-12 18:08:23 +01:00
network [Neutron] Fix the "port show" command for trunk details 2025-02-20 01:07:39 +00:00
object pre-commit: Migrate pyupgrade to ruff 2024-09-12 18:08:23 +01:00
volume pre-commit: Migrate pyupgrade to ruff 2024-09-12 18:08:23 +01:00
__init__.py move all functional tests to tests module 2016-09-09 03:29:47 +00:00
base.py trivial: Prepare for pyupgrade pre-commit hook 2024-04-23 12:24:23 +01:00