Comment 7 for bug 1936972

Revision history for this message
dann frazier (dannf) wrote :

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.