Add DMTF mockup fixtures and test helpers
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.
This commit is contained in:
77 files changed
+4051
No files matched your search
+87
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"@odata.type": "#ManagerNetworkProtocol.v1_14_0.ManagerNetworkProtocol",
|
||||
"Id": "NetworkProtocol",
|
||||
"Name": "Manager Network Protocol",
|
||||
"Description": "Manager Network Service",
|
||||
"Status": {
|
||||
"State": "Enabled",
|
||||
"Health": "OK"
|
||||
},
|
||||
"HostName": "web483-bmc",
|
||||
"FQDN": "web483-bmc.dmtf.org",
|
||||
"HTTP": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 80
|
||||
},
|
||||
"HTTPS": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 443,
|
||||
"Certificates": {
|
||||
"@odata.id": "/redfish/v1/Managers/BMC/NetworkProtocol/HTTPS/Certificates"
|
||||
}
|
||||
},
|
||||
"Proxy": {
|
||||
"Enabled": true,
|
||||
"ProxyServerURI": "https://proxy.intranet.contoso.com:9900",
|
||||
"Username": "proxy",
|
||||
"Password": null,
|
||||
"PasswordSet": true,
|
||||
"ExcludeAddresses": [],
|
||||
"ProxyAutoConfigURI": "proxy.intranet.contoso.com/proxy.pac"
|
||||
},
|
||||
"IPMI": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 623
|
||||
},
|
||||
"SSH": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 22
|
||||
},
|
||||
"SNMP": {
|
||||
"ProtocolEnabled": true,
|
||||
"EnableSNMPv1": true,
|
||||
"EnableSNMPv2c": false,
|
||||
"EnableSNMPv3": true,
|
||||
"Port": 161,
|
||||
"CommunityStrings": [
|
||||
{
|
||||
"Name": "Read-only community",
|
||||
"CommunityString": null,
|
||||
"AccessMode": "Limited"
|
||||
},
|
||||
{
|
||||
"Name": "Full access community",
|
||||
"CommunityString": null,
|
||||
"AccessMode": "Full"
|
||||
}
|
||||
],
|
||||
"EngineId": {
|
||||
"PrivateEnterpriseId": "00 00 01 9C",
|
||||
"EnterpriseSpecificMethod": "00 11 22 33 44 55 66 77"
|
||||
},
|
||||
"HideCommunityStrings": true,
|
||||
"AuthenticationProtocol": "HMAC_SHA96",
|
||||
"EncryptionProtocol": "CFB128_AES128"
|
||||
},
|
||||
"VirtualMedia": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 17988
|
||||
},
|
||||
"SSDP": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 1900,
|
||||
"NotifyMulticastIntervalSeconds": 600,
|
||||
"NotifyTTL": 5,
|
||||
"NotifyIPv6Scope": "Site"
|
||||
},
|
||||
"Telnet": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 23
|
||||
},
|
||||
"KVMIP": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 5288
|
||||
},
|
||||
"@odata.id": "/redfish/v1/Managers/BMC/NetworkProtocol",
|
||||
"@Redfish.Copyright": "Copyright 2014-2026 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
|
||||
}
|
||||
Reference in new issue
Block a user