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/EthernetSwitches/1/Ports/12/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/12/StaticMACs/index.json
new file mode 100644
index 0000000..dc3a3f9
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/12/StaticMACs/index.json
@@ -0,0 +1,9 @@
+{
+ "@odata.type": "#EthernetSwitchStaticMACCollection.EthernetSwitchStaticMACCollection",
+ "Name": "Static MAC Collection",
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchStaticMACCollection.EthernetSwitchStaticMACCollection",
+ "Members": [],
+ "Description": "Collection of Static MACs",
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/12/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file