Fix --fields network_data

Change-Id: Id1c6f1a69161e3ddbb83c9229aa9be84a0c8c02d
(cherry picked from commit be2f1164c1)
This commit is contained in:
Dmitry Tantsur 2021-03-17 16:20:49 +01:00 committed by Riccardo Pittau
parent d056a39429
commit ea4ab9039e
3 changed files with 6 additions and 0 deletions

View File

@ -662,6 +662,7 @@ class TestBaremetalList(TestBaremetal):
'Maintenance Reason', 'Maintenance Reason',
'Management Interface', 'Management Interface',
'Name', 'Name',
'Network Configuration',
'Network Interface', 'Network Interface',
'Owner', 'Owner',
'Power Interface', 'Power Interface',

View File

@ -250,6 +250,7 @@ NODE_DETAILED_RESOURCE = Resource(
'maintenance_reason', 'maintenance_reason',
'management_interface', 'management_interface',
'name', 'name',
'network_data',
'network_interface', 'network_interface',
'owner', 'owner',
'power_interface', 'power_interface',

View File

@ -0,0 +1,4 @@
---
fixes:
- |
Fixes using ``network_data`` with the ``--fields`` parameter.