diff options
Diffstat (limited to 'hdv/redfish/test/mock_server.json')
-rw-r--r-- | hdv/redfish/test/mock_server.json | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/hdv/redfish/test/mock_server.json b/hdv/redfish/test/mock_server.json new file mode 100644 index 0000000..acf7e9a --- /dev/null +++ b/hdv/redfish/test/mock_server.json @@ -0,0 +1,50 @@ +{ + "/redfish/v1/Systems/": { + "return_code": 200, + "return_value": { + "@odata.id": "/redfish/v1/Systems", + "@odata.type": "#ComputerSystemCollection.ComputerSystemCollection", + "Members": [ + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2" + } + ], + "Members@odata.count": 1, + "Name": "Computer System Collection" + } + }, + "/redfish/v1/Chassis/": { + "return_code": 200, + "return_value": { + "@odata.id": "/redfish/v1/Chassis", + "@odata.type": "#ChassisCollection.ChassisCollection", + "Members": [ + { + "@odata.id": "/redfish/v1/Chassis/1U" + } + ], + "Members@odata.count": 1, + "Name": "Chassis Collection" + } + }, + "/redfish/v1/Systems/437XR1138R2/Processors/": { + "return_code": 200, + "return_value": { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/Processors", + "@odata.type": "#ProcessorCollection.ProcessorCollection", + "Members": [ + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/Processors/CPU1" + }, + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/Processors/CPU2" + }, + { + "@odata.id": "/redfish/v1/Systems/437XR1138R2/Processors/FPGA1" + } + ], + "Members@odata.count": 3, + "Name": "Processors Collection" + } + } +}
\ No newline at end of file |