SEBA-902 mock testing of redfish importer;
Remove hardcoded addresses and replace with config file / cmdline;
Support hostnames in importer as alternative to ip addresses;
Treat response 204 as success
Change-Id: I17e8e585e388c501c02867ce952bbe1fa9b09668
diff --git a/mock-redfish-server/mockup/redfish/v1/SessionService/Sessions/index.json b/mock-redfish-server/mockup/redfish/v1/SessionService/Sessions/index.json
new file mode 100644
index 0000000..2fd3d6c
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/SessionService/Sessions/index.json
@@ -0,0 +1,9 @@
+{
+ "@odata.type": "#SessionCollection.SessionCollection",
+ "Name": "Session Collection",
+ "@odata.context": "/redfish/v1/$metadata#SessionCollection.SessionCollection",
+ "Members": [],
+ "Description": "Session Collection",
+ "@odata.id": "/redfish/v1/SessionService/Sessions",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/SessionService/index.json b/mock-redfish-server/mockup/redfish/v1/SessionService/index.json
new file mode 100644
index 0000000..780ea96
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/SessionService/index.json
@@ -0,0 +1,19 @@
+{
+ "ServiceEnabled": false,
+ "SessionTimeout": 300,
+ "@odata.type": "#SessionService.v1_0_0.SessionService",
+ "Name": "Session Service",
+ "@odata.context": "/redfish/v1/$metadata#SessionService.SessionService",
+ "Status": {
+ "State": "Enabled",
+ "HealthRollup": "OK",
+ "Health": "OK"
+ },
+ "Id": "SessionService",
+ "Description": "Session Service ",
+ "@odata.id": "/redfish/v1/SessionService",
+ "Oem": {},
+ "Sessions": {
+ "@odata.id": "/redfish/v1/SessionService/Sessions"
+ }
+}
\ No newline at end of file