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/ACLs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/ACLs/index.json
new file mode 100644
index 0000000..a443f59
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/ACLs/index.json
@@ -0,0 +1,9 @@
+{
+ "@odata.type": "#EthernetSwitchACLCollection.EthernetSwitchACLCollection",
+ "Name": "Ethernet Switch Access Control List Collection",
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchACLCollection.EthernetSwitchACLCollection",
+ "Members": [],
+ "Description": "Switch Access Control List. Each ACL entry can be bound to any switch port",
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/ACLs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/1/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/1/StaticMACs/index.json
new file mode 100644
index 0000000..02e3787
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/1/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/1/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/1/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/1/VLANs/index.json
new file mode 100644
index 0000000..9d150e1
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/1/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/1/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/1/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/1/index.json
new file mode 100644
index 0000000..756c557
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/1/index.json
@@ -0,0 +1,124 @@
+{
+ "Name": "Port1",
+ "MACAddress": null,
+ "Statistics": {},
+ "TransceiverStatistics": {
+ "BiasCurrent": {
+ "LowerThresholdFatal": 0,
+ "LowerThresholdCritical": 0.5,
+ "Status": {
+ "State": "Enabled",
+ "Health": "OK"
+ },
+ "Reading": 41.154,
+ "ReadingUnits": "mA",
+ "UpperThresholdFatal": 70,
+ "UpperThresholdCritical": 65
+ },
+ "TxPower": {
+ "LowerThresholdFatal": 0.5,
+ "LowerThresholdCritical": 0.629,
+ "Status": {
+ "State": "Enabled",
+ "Health": "OK"
+ },
+ "Reading": 1.278,
+ "ReadingUnits": "mW",
+ "UpperThresholdFatal": 3.154,
+ "UpperThresholdCritical": 2.505
+ },
+ "Voltage": {
+ "LowerThresholdFatal": 2.97,
+ "LowerThresholdCritical": 3.129,
+ "Status": {
+ "State": "Enabled",
+ "Health": "OK"
+ },
+ "Reading": 3.33,
+ "ReadingUnits": "V",
+ "UpperThresholdFatal": 3.629,
+ "UpperThresholdCritical": 3.47
+ },
+ "Serial Number": "",
+ "SFP Vendor Name": "",
+ "RxPower": {
+ "LowerThresholdFatal": 0,
+ "LowerThresholdCritical": 0.001,
+ "Status": {
+ "State": "Enabled",
+ "Health": "Warning"
+ },
+ "Reading": 0,
+ "ReadingUnits": "mW",
+ "UpperThresholdFatal": 0.372,
+ "UpperThresholdCritical": 0.316
+ },
+ "Manufacture Date": "",
+ "Temperature": {
+ "LowerThresholdFatal": -15,
+ "LowerThresholdCritical": -8,
+ "Status": {
+ "State": "Enabled",
+ "Health": "OK"
+ },
+ "Reading": 30.476,
+ "ReadingUnits": "Celsius",
+ "UpperThresholdFatal": 85,
+ "UpperThresholdCritical": 78
+ },
+ "Part Number": ""
+ },
+ "OperationalState": "Up",
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/1",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/1/VLANs"
+ },
+ "LinkType": "Ethernet",
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/1/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "1",
+ "Description": "Ethernet Switch Port description",
+ "ONUs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/1/ONUs"
+ },
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Enabled",
+ "HealthRollup": "OK",
+ "Health": "OK"
+ },
+ "Autosense": null,
+ "AdministrativeState": "Down",
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/10/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/10/StaticMACs/index.json
new file mode 100644
index 0000000..2c2579b
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/10/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/10/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/10/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/10/VLANs/index.json
new file mode 100644
index 0000000..1f8b3d4
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/10/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/10/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/10/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/10/index.json
new file mode 100644
index 0000000..7b5e879
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/10/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port10",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/10",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/10/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/10/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "10",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/11/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/11/StaticMACs/index.json
new file mode 100644
index 0000000..fdcf96f
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/11/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/11/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/11/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/11/VLANs/index.json
new file mode 100644
index 0000000..bf364ac
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/11/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/11/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/11/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/11/index.json
new file mode 100644
index 0000000..4ab3ef6
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/11/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port11",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/11",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/11/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/11/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "11",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
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
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/12/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/12/VLANs/index.json
new file mode 100644
index 0000000..faa4212
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/12/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/12/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/12/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/12/index.json
new file mode 100644
index 0000000..a82a42d
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/12/index.json
@@ -0,0 +1,124 @@
+{
+ "Name": "Port12",
+ "MACAddress": null,
+ "Statistics": {},
+ "TransceiverStatistics": {
+ "BiasCurrent": {
+ "LowerThresholdFatal": 10,
+ "LowerThresholdCritical": 20,
+ "Status": {
+ "State": "Enabled",
+ "Health": "OK"
+ },
+ "Reading": 92.906,
+ "ReadingUnits": "mA",
+ "UpperThresholdFatal": 130,
+ "UpperThresholdCritical": 120
+ },
+ "TxPower": {
+ "LowerThresholdFatal": 1.584,
+ "LowerThresholdCritical": 1.995,
+ "Status": {
+ "State": "Enabled",
+ "Health": "OK"
+ },
+ "Reading": 3.505,
+ "ReadingUnits": "mW",
+ "UpperThresholdFatal": 6.456,
+ "UpperThresholdCritical": 6.309
+ },
+ "Voltage": {
+ "LowerThresholdFatal": 3,
+ "LowerThresholdCritical": 3.049,
+ "Status": {
+ "State": "Enabled",
+ "Health": "OK"
+ },
+ "Reading": 3.329,
+ "ReadingUnits": "V",
+ "UpperThresholdFatal": 3.599,
+ "UpperThresholdCritical": 3.549
+ },
+ "Serial Number": "HDG2019845",
+ "SFP Vendor Name": "SOURCEPHOTONICS",
+ "RxPower": {
+ "LowerThresholdFatal": 0,
+ "LowerThresholdCritical": 0,
+ "Status": {
+ "State": "Enabled",
+ "Health": "OK"
+ },
+ "Reading": 0.009,
+ "ReadingUnits": "mW",
+ "UpperThresholdFatal": 0.316,
+ "UpperThresholdCritical": 0.225
+ },
+ "Manufacture Date": "171215",
+ "Temperature": {
+ "LowerThresholdFatal": -10,
+ "LowerThresholdCritical": -5,
+ "Status": {
+ "State": "Enabled",
+ "Health": "OK"
+ },
+ "Reading": 30.23,
+ "ReadingUnits": "Celsius",
+ "UpperThresholdFatal": 80,
+ "UpperThresholdCritical": 75
+ },
+ "Part Number": "XPPXG2N2CDFA"
+ },
+ "OperationalState": "Up",
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/12",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/12/VLANs"
+ },
+ "LinkType": "Ethernet",
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/12/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "12",
+ "Description": "Ethernet Switch Port description",
+ "ONUs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/12/ONUs"
+ },
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Enabled",
+ "HealthRollup": "OK",
+ "Health": "OK"
+ },
+ "Autosense": null,
+ "AdministrativeState": "Down",
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/13/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/13/StaticMACs/index.json
new file mode 100644
index 0000000..7ebb0bb
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/13/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/13/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/13/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/13/VLANs/index.json
new file mode 100644
index 0000000..e9cab48
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/13/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/13/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/13/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/13/index.json
new file mode 100644
index 0000000..f17b327
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/13/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port13",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/13",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/13/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/13/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "13",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/14/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/14/StaticMACs/index.json
new file mode 100644
index 0000000..3e71b30
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/14/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/14/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/14/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/14/VLANs/index.json
new file mode 100644
index 0000000..150757e
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/14/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/14/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/14/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/14/index.json
new file mode 100644
index 0000000..751f7c2
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/14/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port14",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/14",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/14/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/14/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "14",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/15/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/15/StaticMACs/index.json
new file mode 100644
index 0000000..343e03d
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/15/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/15/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/15/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/15/VLANs/index.json
new file mode 100644
index 0000000..ee9470c
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/15/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/15/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/15/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/15/index.json
new file mode 100644
index 0000000..9107f5a
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/15/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port15",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/15",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/15/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/15/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "15",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/16/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/16/StaticMACs/index.json
new file mode 100644
index 0000000..3fd229c
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/16/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/16/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/16/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/16/VLANs/index.json
new file mode 100644
index 0000000..87a29af
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/16/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/16/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/16/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/16/index.json
new file mode 100644
index 0000000..a75e05b
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/16/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port16",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/16",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/16/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/16/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "16",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/17/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/17/StaticMACs/index.json
new file mode 100644
index 0000000..107f2a2
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/17/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/17/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/17/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/17/VLANs/index.json
new file mode 100644
index 0000000..9a3f96a
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/17/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/17/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/17/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/17/index.json
new file mode 100644
index 0000000..cb43b9b
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/17/index.json
@@ -0,0 +1,134 @@
+{
+ "Name": "Port17",
+ "MACAddress": null,
+ "Statistics": {
+ "rx_bytes": 0,
+ "tx_packets": 0,
+ "tx_bcast_packets": 0,
+ "tx_mcast_packets": 0,
+ "tx_ucast_packets": 0,
+ "rx_bcast_packets": 0,
+ "tx_error_packets": 0,
+ "rx_packets": 0,
+ "rx_mcast_packets": 0,
+ "rx_ucast_packets": 0,
+ "tx_bytes": 0,
+ "rx_error_packets": 0
+ },
+ "TransceiverStatistics": {
+ "BiasCurrent": {
+ "LowerThresholdFatal": 0,
+ "LowerThresholdCritical": 0,
+ "Status": {
+ "State": null,
+ "Health": null
+ },
+ "Reading": 0,
+ "ReadingUnits": "mA",
+ "UpperThresholdFatal": 0,
+ "UpperThresholdCritical": 0
+ },
+ "TxPower": {
+ "LowerThresholdFatal": 0,
+ "LowerThresholdCritical": 0,
+ "Status": {
+ "State": null,
+ "Health": null
+ },
+ "Reading": 0,
+ "ReadingUnits": "mW",
+ "UpperThresholdFatal": 0,
+ "UpperThresholdCritical": 0
+ },
+ "Voltage": {
+ "LowerThresholdFatal": 0,
+ "LowerThresholdCritical": 0,
+ "Status": {
+ "State": null,
+ "Health": null
+ },
+ "Reading": 0,
+ "ReadingUnits": "V",
+ "UpperThresholdFatal": 0,
+ "UpperThresholdCritical": 0
+ },
+ "Serial Number": "NA",
+ "SFP Vendor Name": "NA",
+ "RxPower": {
+ "LowerThresholdFatal": 0,
+ "LowerThresholdCritical": 0,
+ "Status": {
+ "State": null,
+ "Health": null
+ },
+ "Reading": 0,
+ "ReadingUnits": "mW",
+ "UpperThresholdFatal": 0,
+ "UpperThresholdCritical": 0
+ },
+ "Manufacture Date": "NA",
+ "Temperature": {
+ "LowerThresholdFatal": 0,
+ "LowerThresholdCritical": 0,
+ "Status": {
+ "State": null,
+ "Health": null
+ },
+ "Reading": 0,
+ "ReadingUnits": "Celsius",
+ "UpperThresholdFatal": 0,
+ "UpperThresholdCritical": 0
+ },
+ "Part Number": "NA"
+ },
+ "OperationalState": "Up",
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/17",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/17/VLANs"
+ },
+ "LinkType": "Ethernet",
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/17/StaticMACs"
+ },
+ "PortId": "QSFP port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "17",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Enabled",
+ "HealthRollup": "OK",
+ "Health": "OK"
+ },
+ "Autosense": null,
+ "AdministrativeState": "Down",
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/18/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/18/StaticMACs/index.json
new file mode 100644
index 0000000..9c898c8
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/18/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/18/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/18/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/18/VLANs/index.json
new file mode 100644
index 0000000..f2c6d67
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/18/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/18/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/18/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/18/index.json
new file mode 100644
index 0000000..682f736
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/18/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port18",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/18",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/18/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/18/StaticMACs"
+ },
+ "PortId": "QSFP port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "18",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/19/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/19/StaticMACs/index.json
new file mode 100644
index 0000000..fce27b7
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/19/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/19/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/19/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/19/VLANs/index.json
new file mode 100644
index 0000000..5e38d1c
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/19/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/19/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/19/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/19/index.json
new file mode 100644
index 0000000..02c0416
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/19/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port19",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/19",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/19/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/19/StaticMACs"
+ },
+ "PortId": "QSFP port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "19",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/2/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/2/StaticMACs/index.json
new file mode 100644
index 0000000..54c3b73
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/2/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/2/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/2/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/2/VLANs/index.json
new file mode 100644
index 0000000..9d3c408
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/2/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/2/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/2/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/2/index.json
new file mode 100644
index 0000000..3722e52
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/2/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port2",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/2",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/2/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/2/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "2",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/20/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/20/StaticMACs/index.json
new file mode 100644
index 0000000..5ef1a43
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/20/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/20/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/20/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/20/VLANs/index.json
new file mode 100644
index 0000000..116ecef
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/20/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/20/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/20/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/20/index.json
new file mode 100644
index 0000000..1b58f1b
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/20/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port20",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/20",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/20/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/20/StaticMACs"
+ },
+ "PortId": "QSFP port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "20",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/3/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/3/StaticMACs/index.json
new file mode 100644
index 0000000..c4218a1
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/3/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/3/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/3/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/3/VLANs/index.json
new file mode 100644
index 0000000..7cf1cd8
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/3/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/3/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/3/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/3/index.json
new file mode 100644
index 0000000..f6c1adf
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/3/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port3",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/3",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/3/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/3/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "3",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/4/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/4/StaticMACs/index.json
new file mode 100644
index 0000000..b6f0398
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/4/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/4/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/4/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/4/VLANs/index.json
new file mode 100644
index 0000000..4574f95
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/4/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/4/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/4/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/4/index.json
new file mode 100644
index 0000000..b3f6a1f
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/4/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port4",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/4",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/4/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/4/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "4",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/5/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/5/StaticMACs/index.json
new file mode 100644
index 0000000..aa0d86b
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/5/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/5/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
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
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/5/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/5/index.json
new file mode 100644
index 0000000..ff24333
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/5/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port5",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/5",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/5/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/5/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "5",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/6/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/6/StaticMACs/index.json
new file mode 100644
index 0000000..2d74d82
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/6/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/6/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/6/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/6/VLANs/index.json
new file mode 100644
index 0000000..5e0541f
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/6/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/6/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/6/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/6/index.json
new file mode 100644
index 0000000..5233526
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/6/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port6",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/6",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/6/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/6/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "6",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/7/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/7/StaticMACs/index.json
new file mode 100644
index 0000000..748186b
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/7/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/7/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/7/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/7/VLANs/index.json
new file mode 100644
index 0000000..0475324
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/7/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/7/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/7/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/7/index.json
new file mode 100644
index 0000000..74c5b78
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/7/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port7",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/7",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/7/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/7/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "7",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/8/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/8/StaticMACs/index.json
new file mode 100644
index 0000000..f1d81b4
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/8/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/8/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/8/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/8/VLANs/index.json
new file mode 100644
index 0000000..06d5957
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/8/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/8/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/8/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/8/index.json
new file mode 100644
index 0000000..0e5a606
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/8/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port8",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/8",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/8/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/8/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "8",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/9/StaticMACs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/9/StaticMACs/index.json
new file mode 100644
index 0000000..7c26584
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/9/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/9/StaticMACs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/9/VLANs/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/9/VLANs/index.json
new file mode 100644
index 0000000..f95e2cf
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/9/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/9/VLANs",
+ "Members@odata.count": 0
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/9/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/9/index.json
new file mode 100644
index 0000000..3c6ef6b
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/9/index.json
@@ -0,0 +1,54 @@
+{
+ "Name": "Port9",
+ "MACAddress": null,
+ "OperationalState": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/9",
+ "NeighborMAC": null,
+ "VLANs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/9/VLANs"
+ },
+ "LinkType": null,
+ "Oem": {},
+ "FrameSize": null,
+ "PortClass": null,
+ "FullDuplex": null,
+ "StaticMACs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/9/StaticMACs"
+ },
+ "PortId": "PON port",
+ "Links": {
+ "Switch": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ },
+ "ActiveACLs": [],
+ "PortMembers": [],
+ "PrimaryVLAN": null,
+ "Oem": {
+ "Intel_RackScale": {
+ "@odata.type": "#Intel.Oem.EthernetSwitchPort"
+ }
+ },
+ "MemberOfPort": null
+ },
+ "Id": "9",
+ "Description": "Ethernet Switch Port description",
+ "IPv4Addresses": [],
+ "PortMode": null,
+ "LinkSpeedMbps": null,
+ "@odata.type": "#EthernetSwitchPort.v1_0_0.EthernetSwitchPort",
+ "IPv6Addresses": [],
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPort.EthernetSwitchPort",
+ "Status": {
+ "State": "Absent",
+ "HealthRollup": "OK",
+ "Health": "Warning"
+ },
+ "Autosense": null,
+ "AdministrativeState": null,
+ "PortType": null,
+ "NeighborInfo": {
+ "CableId": null,
+ "SwitchId": null,
+ "PortId": null
+ }
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/index.json
new file mode 100644
index 0000000..0353960
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/Ports/index.json
@@ -0,0 +1,70 @@
+{
+ "@odata.type": "#EthernetSwitchPortCollection.EthernetSwitchPortCollection",
+ "Name": "Ethernet Switch Port Collection",
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchPortCollection.EthernetSwitchPortCollection",
+ "Members": [
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/1"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/2"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/3"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/4"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/5"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/6"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/7"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/8"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/9"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/10"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/11"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/12"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/13"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/14"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/15"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/16"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/17"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/18"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/19"
+ },
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports/20"
+ }
+ ],
+ "Description": "Collection of Ethernet Switch Ports",
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports",
+ "Members@odata.count": 20
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/index.json
new file mode 100644
index 0000000..5d44735
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/1/index.json
@@ -0,0 +1,39 @@
+{
+ "SerialNumber": null,
+ "FirmwareName": null,
+ "Model": null,
+ "Name": "Switch1",
+ "Links": {
+ "ManagedBy": [
+ {
+ "@odata.id": "/redfish/v1/Managers/1"
+ }
+ ],
+ "Chassis": {
+ "@odata.id": "/redfish/v1/Chassis/1"
+ }
+ },
+ "Role": "TOR",
+ "MaxACLNumber": 10,
+ "Id": "1",
+ "FirmwareVersion": null,
+ "Description": "Ethernet Switch description",
+ "SwitchId": null,
+ "ACLs": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/ACLs"
+ },
+ "ManufacturingDate": null,
+ "Ports": {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1/Ports"
+ },
+ "@odata.type": "#EthernetSwitch.v1_0_0.EthernetSwitch",
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitch.EthernetSwitch",
+ "Status": {
+ "State": "Enabled",
+ "HealthRollup": "OK",
+ "Health": "OK"
+ },
+ "Manufacturer": null,
+ "@odata.id": "/redfish/v1/EthernetSwitches/1",
+ "PartNumber": null
+}
\ No newline at end of file
diff --git a/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/index.json b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/index.json
new file mode 100644
index 0000000..db51199
--- /dev/null
+++ b/mock-redfish-server/mockup/redfish/v1/EthernetSwitches/index.json
@@ -0,0 +1,13 @@
+{
+ "@odata.type": "#EthernetSwitchCollection.EthernetSwitchCollection",
+ "Name": "Ethernet Switches Collection",
+ "@odata.context": "/redfish/v1/$metadata#EthernetSwitchCollection.EthernetSwitchCollection",
+ "Members": [
+ {
+ "@odata.id": "/redfish/v1/EthernetSwitches/1"
+ }
+ ],
+ "Description": "Collection of Ethernet Switches",
+ "@odata.id": "/redfish/v1/EthernetSwitches",
+ "Members@odata.count": 1
+}
\ No newline at end of file