Add mockup files for the driver tests

UpdateService, the system's EthernetInterfaces and all chassis Sensors from public-rackmount1, unmodified.
This commit is contained in:
Christian Manivong committed 2026-10-13 05:02:58 +00:00
1 parent 209537a793
commit 7c366955bb
44 files changed
+1415 -38

No files matched your search

@@ -0,0 +1,48 @@
{
"@odata.type": "#EthernetInterface.v1_12_6.EthernetInterface",
"Id": "12446A3B0411",
"Name": "Ethernet Interface",
"Description": "System NIC 1",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"EthernetInterfaceType": "Physical",
"LinkStatus": "LinkUp",
"PermanentMACAddress": "12:44:6A:3B:04:11",
"MACAddress": "12:44:6A:3B:04:11",
"SpeedMbps": 1000,
"FullDuplex": true,
"HostName": "web483",
"FQDN": "web483.contoso.com",
"IPv6DefaultGateway": "fe80::3ed9:2bff:fe34:600",
"NameServers": [
"names.contoso.com"
],
"IPv4Addresses": [
{
"Address": "192.168.0.10",
"SubnetMask": "255.255.252.0",
"AddressOrigin": "Static",
"Gateway": "192.168.0.1"
}
],
"IPv6Addresses": [
{
"Address": "fe80::1ec1:deff:fe6f:1e24",
"PrefixLength": 64,
"AddressOrigin": "Static",
"AddressState": "Preferred"
}
],
"TeamMode": "None",
"Links": {
"AffiliatedInterfaces": [
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/VLAN1"
}
]
},
"@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/12446A3B0411",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,45 @@
{
"@odata.type": "#EthernetInterface.v1_12_6.EthernetInterface",
"Id": "12446A3B8890",
"Name": "Ethernet Interface",
"Description": "System NIC 2",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"EthernetInterfaceType": "Physical",
"LinkStatus": "LinkUp",
"PermanentMACAddress": "12:44:6A:3B:88:90",
"MACAddress": "AA:BB:CC:DD:EE:00",
"SpeedMbps": 1000,
"FullDuplex": true,
"HostName": "backup-web483",
"FQDN": "backup-web483.contoso.com",
"IPv6DefaultGateway": "fe80::3ed9:2bff:fe34:600",
"NameServers": [
"names.contoso.com"
],
"IPv4Addresses": [
{
"Address": "192.168.0.11",
"SubnetMask": "255.255.255.0",
"AddressOrigin": "Static",
"Gateway": "192.168.0.1"
}
],
"IPv6Addresses": [
{
"Address": "fe80::1ec1:deff:fe6f:1e33",
"PrefixLength": 64,
"AddressOrigin": "Static",
"AddressState": "Preferred"
}
],
"VLAN": {
"VLANEnable": true,
"VLANId": 101
},
"TeamMode": "None",
"@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/12446A3B8890",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,55 @@
{
"@odata.type": "#EthernetInterface.v1_12_6.EthernetInterface",
"Id": "ToManager",
"Name": "Host Ethernet Interface",
"Description": "Host Network Interface",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"InterfaceEnabled": true,
"PermanentMACAddress": "AA:BB:CC:DD:EE:FE",
"MACAddress": "AA:BB:CC:DD:EE:FE",
"SpeedMbps": 100,
"AutoNeg": true,
"FullDuplex": true,
"MTUSize": 1500,
"MaxIPv6StaticAddresses": 1,
"IPv4Addresses": [
{
"Address": "192.168.20.56",
"SubnetMask": "255.255.255.0",
"AddressOrigin": "Static",
"Gateway": "192.168.20.1"
}
],
"IPv6AddressPolicyTable": [
{
"Prefix": "::1/128",
"Precedence": 50,
"Label": 0
}
],
"IPv6StaticAddresses": [
{
"Address": "fe80::1ec1:deff:fe6f:1e25",
"PrefixLength": 64
}
],
"IPv6DefaultGateway": "fe80::1ec1:deff:fe6f:1e24",
"IPv6Addresses": [
{
"Address": "fe80::1ec1:deff:fe6f:1e25",
"PrefixLength": 64,
"AddressOrigin": "Static",
"AddressState": "Preferred"
}
],
"Links": {
"HostInterface": {
"@odata.id": "/redfish/v1/Managers/BMC/HostInterfaces/1"
}
},
"@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/ToManager",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,52 @@
{
"@odata.type": "#EthernetInterface.v1_12_6.EthernetInterface",
"Id": "VLAN1",
"Name": "Ethernet Interface",
"Description": "VLAN from System NIC 1",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"EthernetInterfaceType": "Virtual",
"LinkStatus": "LinkUp",
"PermanentMACAddress": "12:44:6A:3B:04:11",
"MACAddress": "12:44:6A:3B:04:11",
"SpeedMbps": 1000,
"FullDuplex": true,
"HostName": "web483",
"FQDN": "web483.contoso.com",
"IPv6DefaultGateway": "fe80::3ed9:2bff:fe34:600",
"NameServers": [
"names.contoso.com"
],
"IPv4Addresses": [
{
"Address": "192.168.150.236",
"SubnetMask": "255.255.252.0",
"AddressOrigin": "Static",
"Gateway": "192.168.150.1"
}
],
"IPv6Addresses": [
{
"Address": "fe80::1ec1:deff:fe6f:1e24",
"PrefixLength": 64,
"AddressOrigin": "Static",
"AddressState": "Preferred"
}
],
"VLAN": {
"VLANEnable": true,
"VLANId": 1000
},
"TeamMode": "None",
"Links": {
"RelatedInterfaces": [
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/12446A3B0411"
}
]
},
"@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/VLAN1",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
@@ -0,0 +1,22 @@
{
"@odata.type": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
"Name": "Ethernet Interface Collection",
"Description": "System NICs on Contoso Servers",
"Members@odata.count": 4,
"Members": [
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/12446A3B0411"
},
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/12446A3B8890"
},
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/VLAN1"
},
{
"@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces/ToManager"
}
],
"@odata.id": "/redfish/v1/Systems/437XR1138R2/EthernetInterfaces",
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}