Creating a node with the noop network interface, then listing the node's VIFs, e.g. via openstack baremetal node vif list <node>, ironic previously returned a 500 internal server error. This change fixes the issue by returning an empty list instead of None from the vif_list method. This change also adds unit tests to cover the noop network interface as it previously had none. Change-Id: I327c961f094528d46a78c26610d198ebc2a4f370 Closes-Bug: #1700497
153 B
153 B