schema: Add physical topology fields
Add ConnectsToType and PowerPort to the schema. Code support was added
awhile ago with
https://gerrit.openbmc.org/c/openbmc/entity-manager/+/68030 and
https://gerrit.openbmc.org/c/openbmc/entity-manager/+/57133.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I579d593a95ebbd3b9e6a2be8865390b77a2126e0
diff --git a/schemas/legacy.json b/schemas/legacy.json
index cc5d735..50c3122 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -47,6 +47,9 @@
"Connector": {
"$ref": "#/definitions/Types/Connector"
},
+ "ConnectsToType": {
+ "$ref": "#/definitions/Types/ConnectsToType"
+ },
"CpuID": {
"$ref": "#/definitions/Types/CpuID"
},
@@ -176,6 +179,9 @@
"PowerFactorMin": {
"$ref": "#/definitions/Types/PowerFactorMin"
},
+ "PowerPort": {
+ "$ref": "#/definitions/Types/PowerPort"
+ },
"PowerScaleFactor": {
"$ref": "#/definitions/Types/PowerScaleFactor"
},
@@ -787,6 +793,9 @@
"required": ["Name", "Pwm", "Tachs"],
"type": "object"
},
+ "ConnectsToType": {
+ "type": "string"
+ },
"CpuID": {
"type": "number"
},
@@ -937,6 +946,9 @@
"PowerFactorMin": {
"type": "number"
},
+ "PowerPort": {
+ "type": "boolean"
+ },
"PowerScaleFactor": {
"type": "number"
},