fix port name in Port resource
The name of the port is in the 'name' field coming back from the API and not in the 'port_name' field. Change-Id: Iad986ea693396a1bdb93345c7c9e778560ae7c06 Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
parent
6647a26f59
commit
2caa47fdf0
@ -806,7 +806,7 @@ class TestBaremetalPortList(TestBaremetalPort):
|
||||
'Local Link Connection', 'Portgroup UUID',
|
||||
'PXE boot enabled', 'Physical Network', 'Updated At',
|
||||
'Internal Info', 'Is Smart NIC port',
|
||||
'Port Name')
|
||||
'Name')
|
||||
self.assertEqual(collist, columns)
|
||||
|
||||
datalist = ((
|
||||
|
@ -157,7 +157,6 @@ class Resource(object):
|
||||
'parent_node': 'Parent Node',
|
||||
'children': 'Child Nodes',
|
||||
'firmware_interface': 'Firmware Interface',
|
||||
'port_name': 'Port Name',
|
||||
'public': 'Public'
|
||||
}
|
||||
|
||||
@ -347,7 +346,7 @@ PORT_DETAILED_RESOURCE = Resource(
|
||||
'updated_at',
|
||||
'internal_info',
|
||||
'is_smartnic',
|
||||
'port_name',
|
||||
'name',
|
||||
],
|
||||
sort_excluded=[
|
||||
'extra',
|
||||
|
4
releasenotes/notes/fix-port-name-0d8190665b89c6d7.yaml
Normal file
4
releasenotes/notes/fix-port-name-0d8190665b89c6d7.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Display correct field for the port name of the Port resource.
|
Loading…
Reference in New Issue
Block a user