|
| 1 | +// This is included in the following assemblies: |
| 2 | +// |
| 3 | +// * installing/installing_bare_metal/bare-metal-postinstallation-configuration.adoc |
| 4 | + |
| 5 | +:_mod-docs-content-type: PROCEDURE |
| 6 | +[id="bmo-getting-the-hostfirmwarecomponents-resource_nic_{context}"] |
| 7 | += Identifying the NICs HostFirmwareComponents resources you can update |
| 8 | + |
| 9 | +You can use the Redfish `NetworkAdapters` resource to identify network interface controllers (NICs) that were added to the `HostFirmwareComponents` custom resource (CR). The NIC is displayed in the CR with the prefix `nic:` followed by the network adapter ID of the resource. For example, `nic:AD007`. |
| 10 | + |
| 11 | +.Procedure |
| 12 | + |
| 13 | +. Get the detailed list of `HostFirmwareComponents` NIC resources by running the following command: |
| 14 | ++ |
| 15 | +[source,terminal] |
| 16 | +---- |
| 17 | +$ curl -ksu “$USER:$PASS” https://<BMC>/redfish/v1/Chassis/<SystemID>/NetworkAdapters | jq . |
| 18 | +---- |
| 19 | +The `<SystemID>` is based on the value that you set for `bmh` in the `spec.bmc.address`. |
| 20 | ++ |
| 21 | +.Example output |
| 22 | +[source,yaml] |
| 23 | +---- |
| 24 | +{ |
| 25 | + "@odata.context": "/redfish/v1/$metadata#NetworkAdapterCollection.NetworkAdapterCollection", |
| 26 | + "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters", |
| 27 | + "@odata.type": "#NetworkAdapterCollection.NetworkAdapterCollection", |
| 28 | + "Description": "Collection Of Network Adapter", |
| 29 | + "Members": [ |
| 30 | + { |
| 31 | + "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters/NIC.Integrated.1" |
| 32 | + }, |
| 33 | + { |
| 34 | + "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/NetworkAdapters/NIC.Slot.3" |
| 35 | + } |
| 36 | + ], |
| 37 | + |
| 38 | + "Name": "Network Adapter Collection" |
| 39 | +} |
| 40 | +---- |
| 41 | + |
| 42 | +. Identify the corresponding network adapter in the firmware inventory resource, as the network adapter does not indicate if you can update firmware with Redfish, by running the following command: |
| 43 | ++ |
| 44 | +[source,terminal] |
| 45 | +---- |
| 46 | +$ curl -ksu “$USER:$PASS” https://<BMC>/redfish/v1/UpdateService/FirmwareInventory | jq . |
| 47 | +---- |
| 48 | ++ |
| 49 | +.Example output |
| 50 | +[source,yaml] |
| 51 | +---- |
| 52 | +{ |
| 53 | + "@odata.context": "/redfish/v1/$metadata#SoftwareInventoryCollection.SoftwareInventoryCollection", |
| 54 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory", |
| 55 | + "@odata.type": "#SoftwareInventoryCollection.SoftwareInventoryCollection", |
| 56 | + "Description": "Collection of Firmware Inventory", |
| 57 | + "Members": [ |
| 58 | + { |
| 59 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Current-102303-22.0.9__NIC.Integrated.1-2-1" |
| 60 | + }, |
| 61 | + { |
| 62 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Current-102303-22.0.9__NIC.Integrated.1-3-1" |
| 63 | + }, |
| 64 | + { |
| 65 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Current-102303-22.0.9__NIC.Integrated.1-4-1" |
| 66 | + }, |
| 67 | + { |
| 68 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Current-102378-22.0.9__NIC.Integrated.1-1-1" |
| 69 | + }, |
| 70 | + { |
| 71 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Current-104480-14.31.22.50__NIC.Slot.3-1-1" |
| 72 | + }, |
| 73 | + { |
| 74 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Current-104480-14.31.22.50__NIC.Slot.3-2-1" |
| 75 | + }, |
| 76 | + { |
| 77 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Installed-102303-22.0.9__NIC.Integrated.1-2-1" |
| 78 | + }, |
| 79 | + { |
| 80 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Installed-102303-22.0.9__NIC.Integrated.1-3-1" |
| 81 | + }, |
| 82 | + { |
| 83 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Installed-102303-22.0.9__NIC.Integrated.1-4-1" |
| 84 | + }, |
| 85 | + { |
| 86 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Installed-102378-22.0.9__NIC.Integrated.1-1-1" |
| 87 | + }, |
| 88 | + { |
| 89 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Installed-104480-14.31.22.50__NIC.Slot.3-1-1" |
| 90 | + }, |
| 91 | + { |
| 92 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Installed-104480-14.31.22.50__NIC.Slot.3-2-1" |
| 93 | + }, |
| 94 | + { |
| 95 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Previous-102303-20.0.17__NIC.Integrated.1-2-1" |
| 96 | + }, |
| 97 | + { |
| 98 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Previous-102303-20.0.17__NIC.Integrated.1-3-1" |
| 99 | + }, |
| 100 | + { |
| 101 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Previous-102303-20.0.17__NIC.Integrated.1-4-1" |
| 102 | + }, |
| 103 | + { |
| 104 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Previous-102378-20.0.17__NIC.Integrated.1-1-1" |
| 105 | + }, |
| 106 | + { |
| 107 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Previous-104480-14.24.80.00__NIC.Slot.3-1-1" |
| 108 | + }, |
| 109 | + { |
| 110 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Previous-104480-14.24.80.00__NIC.Slot.3-2-1" |
| 111 | + } |
| 112 | + ], |
| 113 | + |
| 114 | + "Name": "Firmware Inventory Collection" |
| 115 | +} |
| 116 | +---- |
| 117 | + |
| 118 | +. Check if the parameter is set to `true` by running the following command: |
| 119 | ++ |
| 120 | +[source,terminal] |
| 121 | +---- |
| 122 | +$ curl -ksu "$USER:$PASS" https://<BMC>/redfish/v1/UpdateService/FirmwareInventory/Current-102303-22.0.9__NIC.Integrated.1-2-1 | jq . |
| 123 | +---- |
| 124 | ++ |
| 125 | +.Example output |
| 126 | +[source,yaml] |
| 127 | +---- |
| 128 | +{ |
| 129 | + "@odata.context": "/redfish/v1/$metadata#SoftwareInventory.SoftwareInventory", |
| 130 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Current-102303-22.0.9__NIC.Integrated.1-2-1", |
| 131 | + "@odata.type": "#SoftwareInventory.v1_9_0.SoftwareInventory", |
| 132 | + "Description": "Represents Firmware Inventory", |
| 133 | + "Id": "Current-102303-22.0.9__NIC.Integrated.1-2-1", |
| 134 | + "Name": "Intel(R) Ethernet 10G X710 rNDC - E4:43:4B:4B:60:B1", |
| 135 | + "Oem": { |
| 136 | + "Dell": { |
| 137 | + "@odata.type": "#DellOem.v1_3_0.DellOemResources", |
| 138 | + "DellSoftwareInventory": { |
| 139 | + "@odata.context": "/redfish/v1/$metadata#DellSoftwareInventory.DellSoftwareInventory", |
| 140 | + "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/Current-102303-22.0.9__NIC.Integrated.1-2-1/Oem/Dell/DellSoftwareInventory/DCIM:CURRENT_0x23_701__NIC.Integrated.1-2-1", |
| 141 | + "@odata.type": "#DellSoftwareInventory.v1_2_0.DellSoftwareInventory", |
| 142 | + "BuildNumber": 0, |
| 143 | + "Classifications": [ |
| 144 | + "Firmware" |
| 145 | + ], |
| 146 | + |
| 147 | + "ComponentID": "102303", |
| 148 | + "ComponentType": "FRMW", |
| 149 | + "Description": "The DellSoftwareInventory resource is a representation of an available device firmware in the managed system.", |
| 150 | + "DeviceID": "1572", |
| 151 | + "ElementName": "Intel(R) Ethernet 10G X710 rNDC - E4:43:4B:4B:60:B1", |
| 152 | + "HashValue": "1158cfbfdf6cb387bc0806999b28b83892cfaf1307b466abd6546ff8e5ea1459", |
| 153 | + "Id": "DCIM:CURRENT_0x23_701__NIC.Integrated.1-2-1", |
| 154 | + "IdentityInfoType": [ |
| 155 | + "OrgID:ComponentType:VendorID:DeviceID:SubVendorID:SubDeviceID" |
| 156 | + ], |
| 157 | + |
| 158 | + "IdentityInfoValue": [ |
| 159 | + "DCIM:firmware:8086:1572:1028:0000" |
| 160 | + ], |
| 161 | + |
| 162 | + "InstallationDate": "NA", |
| 163 | + "IsEntity": true, |
| 164 | + "MajorVersion": 22, |
| 165 | + "MinorVersion": 0, |
| 166 | + "Name": "DellSoftwareInventory", |
| 167 | + "PLDMCapabilitiesDuringUpdate": "0x00000000", |
| 168 | + "PLDMFDPCapabilitiesDuringUpdate": "0x00000000", |
| 169 | + "RevisionNumber": 9, |
| 170 | + "RevisionString": null, |
| 171 | + "SidebandUpdateCapable": false, |
| 172 | + "Status": "AvailableForInstallation", |
| 173 | + "SubDeviceID": "0000", |
| 174 | + "SubVendorID": "1028", |
| 175 | + "VendorID": "8086", |
| 176 | + "impactsTPMmeasurements": true |
| 177 | + } |
| 178 | + } |
| 179 | + }, |
| 180 | + "ReleaseDate": "2023-03-03T00:00:00Z", |
| 181 | + "SoftwareId": "102303", |
| 182 | + "Status": { |
| 183 | + "Health": "OK", |
| 184 | + "State": "Enabled" |
| 185 | + }, |
| 186 | + "Updateable": true, |
| 187 | + "Version": "22.0.9" |
| 188 | +} |
| 189 | +---- |
| 190 | +* `Updateable`: Indicates the value the parameter is set to. |
| 191 | +
|
| 192 | +. Where the `Updateable` parameter is set to `true`, you can use Redfish to update the network adapter. |
0 commit comments