** Description changed:
Ironic display empty space at local_link_connection even it is not empty
in database.
versions:
(xenial/newton)
python-ironicclient 1.7.0-0ubuntu1~cloud0
python-ironic 1:6.2.1-0ubuntu1~cloud0
Steps to reproduce:
ironic port-update a9c45d04-a3f8-4787-9147-a808c4ecfc81 add
local_link_connection/switch_id=60:9c:9f:49:a8:84
local_link_connection/port_id=1/1/25
ironic port-show a9c45d04-a3f8-4787-9147-a808c4ecfc81
+ ```
+-----------------------+--------------------------------------+
| Property | Value |
+-----------------------+--------------------------------------+
| address | 18:66:da:5e:fd:47 |
| created_at | 2017-01-02T10:17:39+00:00 |
| extra | {} |
| internal_info | |
| local_link_connection | |
| node_uuid | a93c9183-c057-46e4-a314-2e6982523c4d |
| pxe_enabled | |
| updated_at | 2017-01-10T12:31:05+00:00 |
| uuid | a9c45d04-a3f8-4787-9147-a808c4ecfc81 |
+-----------------------+--------------------------------------+
-
+ ```
Actual info from database:
-
+ ```
mysql> select uuid, local_link_connection from ports;
+--------------------------------------+---------------------------------------------------------+
| uuid | local_link_connection
|
+--------------------------------------+---------------------------------------------------------+
| a9c45d04-a3f8-4787-9147-a808c4ecfc81 | {"port_id": "1/1/25", "switch_id":
"60:9c:9f:49:a8:84"} |
+--------------------------------------+---------------------------------------------------------+
-
-
+ ```
Expected behavior: see non-empty port/switch_id.
Actual behavior: empty local_link_connection field.
** Also affects: python-ironicclient (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1655327
Title:
Ironic client can't display local_link_connection for a port
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-ironicclient/+bug/1655327/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs