fix: read a Supermicro X10 with only the OOB license over Redfish (0.3.1)
First run against real hardware over Redfish: an X10DRL-i (BMC 3.91) with
SFT-OOB-LIC. Its Redfish tree is recorded under
tests/fixtures/supermicro-x10drl-i-3.91/redfish, scrubbed.
- A resource refused for want of a further license (403 OemLicenseNotPassed)
no longer fails the getter. Storage then falls back to SimpleStorage. The
firmware list falls back to the BMC and BIOS versions when UpdateService
is withheld.
- get_device_warnings reports bmc_license_partial with the licenses and the
withheld parts (drives, firmware inventory).
- A placeholder system model ("Super Server") is replaced by the board
(PartNumber, else the chassis model).
This commit is contained in:
1 parent
6c60f7ac60
commit
adf152ee12
78 files changed
+3237
-24
No files matched your search
+56
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#EthernetInterface.EthernetInterface",
|
||||
"@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces/1",
|
||||
"@odata.type": "#EthernetInterface.v1_0_0.EthernetInterface",
|
||||
"AutoNeg": true,
|
||||
"Description": "Management Network Interface",
|
||||
"FullDuplex": true,
|
||||
"HostName": "server01",
|
||||
"IPv4Addresses": [
|
||||
{
|
||||
"Address": "192.0.2.150",
|
||||
"AddressOrigin": "DHCP",
|
||||
"Gateway": "192.0.2.1",
|
||||
"SubnetMask": "255.255.255.0"
|
||||
}
|
||||
],
|
||||
"IPv6AddressPolicyTable": [
|
||||
{
|
||||
"Label": 0,
|
||||
"Precedence": 50,
|
||||
"Prefix": "::1/128"
|
||||
}
|
||||
],
|
||||
"IPv6Addresses": [
|
||||
{
|
||||
"Address": "fe80::200:5eff:fe00:5313",
|
||||
"AddressOrigin": "SLAAC",
|
||||
"AddressState": "Preferred",
|
||||
"PrefixLength": 64
|
||||
}
|
||||
],
|
||||
"IPv6DefaultGateway": "fe80::200:5eff:fe00:5313",
|
||||
"IPv6StaticAddresses": [
|
||||
{
|
||||
"Address": "fe80::200:5eff:fe00:5313",
|
||||
"PrefixLength": 64
|
||||
}
|
||||
],
|
||||
"Id": "1",
|
||||
"InterfaceEnabled": true,
|
||||
"MACAddress": "00:00:5e:00:53:13",
|
||||
"MTUSize": 1500,
|
||||
"Name": "EthernetInterface",
|
||||
"NameServers": [
|
||||
"192.0.2.1"
|
||||
],
|
||||
"SpeedMbps": 1000,
|
||||
"Status": {
|
||||
"Health": "OK",
|
||||
"State": "Enabled"
|
||||
},
|
||||
"VLAN": {
|
||||
"VLANEnable": false,
|
||||
"VLANId": 0
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"@odata.context": "/redfish/v1/$metadata#EthernetInterfaceCollection.EthernetInterfaceCollection",
|
||||
"@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces",
|
||||
"@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
|
||||
"Description": "Collection of EthernetInterfaces for this Manager",
|
||||
"Members": [
|
||||
{
|
||||
"@odata.id": "/redfish/v1/Managers/1/EthernetInterfaces/1"
|
||||
}
|
||||
],
|
||||
"Members@odata.count": 1,
|
||||
"Name": "Ethernet Network Interface Collection"
|
||||
}
|
||||
Reference in new issue
Block a user