Assuming it is a reasonable solution to hide NICs that can be determined to be RedFish NICs, where is the appropriate place to do this? Should the machine-resources binary be expanded to provide the necessary information, e.g. via a new record?
"resources": { "management_controller": [ { "type": "redfish", "interface_type": "network_host_interface", "device_type": "usb_network_interface", "usb_network_interface": { "vendor_id": "1234", "product_id": "5678", "serial_number_type": "string", "serial_number": "abc123", [...]
Presumably then, update_interfaces() could introspect the data, figure out which interface it maps to, and omit it from the model.
Assuming it is a reasonable solution to hide NICs that can be determined to be RedFish NICs, where is the appropriate place to do this? Should the machine-resources binary be expanded to provide the necessary information, e.g. via a new record?
"resources": { controller" : [ interface_ type": "network_ host_interface" , device_ type": "usb_network_ interface" , usb_network_ interface" : {
"vendor_ id": "1234",
"product_ id": "5678",
"serial_ number_ type": "string",
"serial_ number" : "abc123",
"management_
{
"type": "redfish",
"
"
"
[...]
Presumably then, update_interfaces() could introspect the data, figure out which interface it maps to, and omit it from the model.