Unmodified files from DMTF Redfish-Publications (public-rackmount1, public-localstorage, public-telemetry), only those the tests use, each set with DMTF's BSD-3-Clause license and a COMMANDS.txt naming the source commit and request paths. conftest.py loads them by request path and serves a mockup over mocked HTTP, with a SessionService that hands out a token, for the transport tests.
83 lines
2.3 KiB
JSON
83 lines
2.3 KiB
JSON
{
|
|
"@odata.type": "#EthernetInterface.v1_12_6.EthernetInterface",
|
|
"Id": "eth0",
|
|
"Name": "Manager Ethernet Interface",
|
|
"Description": "Management network interface on a dedicated port",
|
|
"Status": {
|
|
"State": "Enabled",
|
|
"Health": "OK"
|
|
},
|
|
"LinkStatus": "LinkUp",
|
|
"InterfaceEnabled": true,
|
|
"PermanentMACAddress": "23:11:8A:33:CF:EA",
|
|
"MACAddress": "23:11:8A:33:CF:EA",
|
|
"SpeedMbps": 100,
|
|
"AutoNeg": true,
|
|
"FullDuplex": true,
|
|
"MTUSize": 1500,
|
|
"HostName": "web483-bmc",
|
|
"FQDN": "web483-bmc.dmtf.org",
|
|
"MaxIPv6StaticAddresses": 1,
|
|
"VLAN": {
|
|
"VLANEnable": true,
|
|
"VLANId": 101
|
|
},
|
|
"IPv4Addresses": [
|
|
{
|
|
"Address": "192.168.0.10",
|
|
"SubnetMask": "255.255.252.0",
|
|
"AddressOrigin": "DHCP",
|
|
"Gateway": "192.168.0.1"
|
|
}
|
|
],
|
|
"IPv6AddressPolicyTable": [
|
|
{
|
|
"Prefix": "::1/128",
|
|
"Precedence": 50,
|
|
"Label": 0
|
|
}
|
|
],
|
|
"IPv6StaticAddresses": [
|
|
{
|
|
"Address": "fe80::1ec1:deff:fe6f:1e24",
|
|
"PrefixLength": 16
|
|
}
|
|
],
|
|
"IPv6DefaultGateway": "fe80::1ec1:deff:fe6f:1e24",
|
|
"IPv6Addresses": [
|
|
{
|
|
"Address": "fe80::1ec1:deff:fe6f:1e24",
|
|
"PrefixLength": 64,
|
|
"AddressOrigin": "SLAAC",
|
|
"AddressState": "Preferred"
|
|
}
|
|
],
|
|
"NameServers": [
|
|
"names.dmtf.org"
|
|
],
|
|
"Links": {
|
|
"Ports": [
|
|
{
|
|
"@odata.id": "/redfish/v1/Managers/BMC/DedicatedNetworkPorts/1"
|
|
}
|
|
]
|
|
},
|
|
"@Redfish.Settings": {
|
|
"@odata.type": "#Settings.v1_5_0.Settings",
|
|
"SettingsObject": {
|
|
"@odata.id": "/redfish/v1/Managers/BMC/EthernetInterfaces/eth0/SD"
|
|
},
|
|
"Time": "2012-03-07T14:44.30-05:00",
|
|
"ETag": "84ffcbb050ddc7fa9cddb59014546e59",
|
|
"Messages": [
|
|
{
|
|
"MessageId": "Base.1.0.SettingsFailed",
|
|
"RelatedProperties": [
|
|
"/IPv6Addresses/PrefixLength"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"@odata.id": "/redfish/v1/Managers/BMC/EthernetInterfaces/eth0",
|
|
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
|
|
} |