Add Ports schema
Based on DSP8010_2022.3 and adds the Ports schema.
The port is a child of the FabricAdapters schema, and the
PortCollection schema will collect all Ports information, each Port
contains Location, LocationIndicatorActive, etc., and these functions
will be implemented in the next patch.
Tested: built bmcweb successfully and validator passes.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I9adfa852c3b9c5deaace0c958e477a67d49f4939
diff --git a/static/redfish/v1/$metadata/index.xml b/static/redfish/v1/$metadata/index.xml
index 36901d0..dcf7de3 100644
--- a/static/redfish/v1/$metadata/index.xml
+++ b/static/redfish/v1/$metadata/index.xml
@@ -1896,6 +1896,55 @@
<edmx:Reference Uri="/redfish/v1/schema/PhysicalContext_v1.xml">
<edmx:Include Namespace="PhysicalContext"/>
</edmx:Reference>
+ <edmx:Reference Uri="/redfish/v1/schema/Port_v1.xml">
+ <edmx:Include Namespace="Port"/>
+ <edmx:Include Namespace="Port.v1_0_0"/>
+ <edmx:Include Namespace="Port.v1_0_1"/>
+ <edmx:Include Namespace="Port.v1_0_2"/>
+ <edmx:Include Namespace="Port.v1_0_3"/>
+ <edmx:Include Namespace="Port.v1_0_4"/>
+ <edmx:Include Namespace="Port.v1_0_5"/>
+ <edmx:Include Namespace="Port.v1_0_6"/>
+ <edmx:Include Namespace="Port.v1_0_7"/>
+ <edmx:Include Namespace="Port.v1_0_8"/>
+ <edmx:Include Namespace="Port.v1_0_9"/>
+ <edmx:Include Namespace="Port.v1_0_10"/>
+ <edmx:Include Namespace="Port.v1_1_0"/>
+ <edmx:Include Namespace="Port.v1_1_1"/>
+ <edmx:Include Namespace="Port.v1_1_2"/>
+ <edmx:Include Namespace="Port.v1_1_3"/>
+ <edmx:Include Namespace="Port.v1_1_4"/>
+ <edmx:Include Namespace="Port.v1_1_5"/>
+ <edmx:Include Namespace="Port.v1_1_6"/>
+ <edmx:Include Namespace="Port.v1_1_7"/>
+ <edmx:Include Namespace="Port.v1_2_0"/>
+ <edmx:Include Namespace="Port.v1_2_1"/>
+ <edmx:Include Namespace="Port.v1_2_2"/>
+ <edmx:Include Namespace="Port.v1_2_3"/>
+ <edmx:Include Namespace="Port.v1_2_4"/>
+ <edmx:Include Namespace="Port.v1_2_5"/>
+ <edmx:Include Namespace="Port.v1_2_6"/>
+ <edmx:Include Namespace="Port.v1_3_0"/>
+ <edmx:Include Namespace="Port.v1_3_1"/>
+ <edmx:Include Namespace="Port.v1_3_2"/>
+ <edmx:Include Namespace="Port.v1_3_3"/>
+ <edmx:Include Namespace="Port.v1_3_4"/>
+ <edmx:Include Namespace="Port.v1_4_0"/>
+ <edmx:Include Namespace="Port.v1_4_1"/>
+ <edmx:Include Namespace="Port.v1_4_2"/>
+ <edmx:Include Namespace="Port.v1_4_3"/>
+ <edmx:Include Namespace="Port.v1_5_0"/>
+ <edmx:Include Namespace="Port.v1_5_1"/>
+ <edmx:Include Namespace="Port.v1_5_2"/>
+ <edmx:Include Namespace="Port.v1_6_0"/>
+ <edmx:Include Namespace="Port.v1_6_1"/>
+ <edmx:Include Namespace="Port.v1_6_2"/>
+ <edmx:Include Namespace="Port.v1_7_0"/>
+ <edmx:Include Namespace="Port.v1_8_0"/>
+ </edmx:Reference>
+ <edmx:Reference Uri="/redfish/v1/schema/PortCollection_v1.xml">
+ <edmx:Include Namespace="PortCollection"/>
+ </edmx:Reference>
<edmx:Reference Uri="/redfish/v1/schema/Power_v1.xml">
<edmx:Include Namespace="Power"/>
<edmx:Include Namespace="Power.v1_0_0"/>