diff --git a/ironicclient/tests/unit/osc/v1/test_baremetal_node.py b/ironicclient/tests/unit/osc/v1/test_baremetal_node.py index c09f54142..d017bb633 100644 --- a/ironicclient/tests/unit/osc/v1/test_baremetal_node.py +++ b/ironicclient/tests/unit/osc/v1/test_baremetal_node.py @@ -662,6 +662,7 @@ class TestBaremetalList(TestBaremetal): 'Maintenance Reason', 'Management Interface', 'Name', + 'Network Configuration', 'Network Interface', 'Owner', 'Power Interface', diff --git a/ironicclient/v1/resource_fields.py b/ironicclient/v1/resource_fields.py index 98ad1e0c2..ff0f9a7a3 100644 --- a/ironicclient/v1/resource_fields.py +++ b/ironicclient/v1/resource_fields.py @@ -250,6 +250,7 @@ NODE_DETAILED_RESOURCE = Resource( 'maintenance_reason', 'management_interface', 'name', + 'network_data', 'network_interface', 'owner', 'power_interface', diff --git a/releasenotes/notes/network_data-c48b3878a5b04df5.yaml b/releasenotes/notes/network_data-c48b3878a5b04df5.yaml new file mode 100644 index 000000000..1e54b8f24 --- /dev/null +++ b/releasenotes/notes/network_data-c48b3878a5b04df5.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + Fixes using ``network_data`` with the ``--fields`` parameter.