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/redfish-core/include/schemas.hpp b/redfish-core/include/schemas.hpp
index e9e5fe5..8267338 100644
--- a/redfish-core/include/schemas.hpp
+++ b/redfish-core/include/schemas.hpp
@@ -79,6 +79,8 @@
"PCIeFunctionCollection",
"PCIeSlots",
"PhysicalContext",
+ "Port",
+ "PortCollection",
"Power",
"PowerSubsystem",
"PowerSupply",