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
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"@odata.type": "#ManagerNetworkProtocol.v1_14_0.ManagerNetworkProtocol",
|
||||
"Id": "NetworkProtocol",
|
||||
"Name": "Manager Network Protocol",
|
||||
"Description": "Manager Network Service Status",
|
||||
"Status": {
|
||||
"State": "Enabled",
|
||||
"Health": "OK"
|
||||
},
|
||||
"HostName": "mymanager",
|
||||
"FQDN": "mymanager.mydomain.com",
|
||||
"HTTP": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 80
|
||||
},
|
||||
"HTTPS": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 443
|
||||
},
|
||||
"IPMI": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 623
|
||||
},
|
||||
"SSH": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 22
|
||||
},
|
||||
"SNMP": {
|
||||
"ProtocolEnabled": true,
|
||||
"Port": 161
|
||||
},
|
||||
"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
|
||||
},
|
||||
"NTP": {
|
||||
"ProtocolEnabled": true,
|
||||
"NTPServers": [
|
||||
"0.pool.ntp.org",
|
||||
"1.pool.ntp.org",
|
||||
"time-a.nist.gov"
|
||||
]
|
||||
},
|
||||
"@odata.id": "/redfish/v1/Managers/1/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