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/5/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/5/VLANs/index.json
new file mode 100644
index 0000000..4facec5
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/5/VLANs/index.json
@@ -0,0 +1,9 @@
+{
+ "@odata.type": "#VLanNetworkInterfaceCollection.VLanNetworkInterfaceCollection",
+ "Name": "VLAN Network Interface Collection",
+ "@odata.context": "/redfish/v1/$metadata#VLanNetworkInterfaceCollection.VLanNetworkInterfaceCollection",
+ "Members": [],
+ "Description": "Collection of VLAN Network Interfaces",
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/5/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file