configurations: yv4 sentinel dome: add interface
Add ManagedHost interface to yv4 sentinel dome, which will be
used by bmcweb for system discovery and other dbus operations.
Change-Id: I633722ccfa7d957d976ef7dc37fdda12df35d59e
Signed-off-by: Oliver Brewka <mox669.dev@gmail.com>
diff --git a/configurations/yosemite4_sentineldome_chassis.json b/configurations/yosemite4_sentineldome_chassis.json
index 76a1ff2..b4932df 100644
--- a/configurations/yosemite4_sentineldome_chassis.json
+++ b/configurations/yosemite4_sentineldome_chassis.json
@@ -10,6 +10,9 @@
"SerialNumber": "$PRODUCT_SERIAL_NUMBER",
"SparePartNumber": "$PRODUCT_INFO_AM1"
},
+ "xyz.openbmc_project.Inventory.Decorator.ManagedHost": {
+ "HostIndex": "$bus % 15"
+ },
"xyz.openbmc_project.Inventory.Decorator.Slot": {
"SlotNumber": "$bus % 15"
}
diff --git a/configurations/yosemite4_sentineldome_t1.json b/configurations/yosemite4_sentineldome_t1.json
index 87ec79a..251ca22 100644
--- a/configurations/yosemite4_sentineldome_t1.json
+++ b/configurations/yosemite4_sentineldome_t1.json
@@ -354,6 +354,9 @@
"xyz.openbmc_project.Inventory.Decorator.AssetTag": {
"AssetTag": "$PRODUCT_ASSET_TAG"
},
+ "xyz.openbmc_project.Inventory.Decorator.ManagedHost": {
+ "HostIndex": "$bus % 15"
+ },
"xyz.openbmc_project.Inventory.Decorator.Revision": {
"Version": "$PRODUCT_VERSION"
},
diff --git a/configurations/yosemite4_sentineldome_t1_retimer.json b/configurations/yosemite4_sentineldome_t1_retimer.json
index 20f1a2e..804aa26 100644
--- a/configurations/yosemite4_sentineldome_t1_retimer.json
+++ b/configurations/yosemite4_sentineldome_t1_retimer.json
@@ -414,6 +414,9 @@
"xyz.openbmc_project.Inventory.Decorator.AssetTag": {
"AssetTag": "$PRODUCT_ASSET_TAG"
},
+ "xyz.openbmc_project.Inventory.Decorator.ManagedHost": {
+ "HostIndex": "$bus % 15"
+ },
"xyz.openbmc_project.Inventory.Decorator.Revision": {
"Version": "$PRODUCT_VERSION"
},
diff --git a/configurations/yosemite4_sentineldome_t2.json b/configurations/yosemite4_sentineldome_t2.json
index d7cc83f..713fe60 100644
--- a/configurations/yosemite4_sentineldome_t2.json
+++ b/configurations/yosemite4_sentineldome_t2.json
@@ -415,6 +415,9 @@
"xyz.openbmc_project.Inventory.Decorator.AssetTag": {
"AssetTag": "$PRODUCT_ASSET_TAG"
},
+ "xyz.openbmc_project.Inventory.Decorator.ManagedHost": {
+ "HostIndex": "$bus % 15"
+ },
"xyz.openbmc_project.Inventory.Decorator.Revision": {
"Version": "$PRODUCT_VERSION"
},
diff --git a/configurations/yosemite4_sentineldome_t2_retimer.json b/configurations/yosemite4_sentineldome_t2_retimer.json
index ad07c4e..2d2e494 100644
--- a/configurations/yosemite4_sentineldome_t2_retimer.json
+++ b/configurations/yosemite4_sentineldome_t2_retimer.json
@@ -475,6 +475,9 @@
"xyz.openbmc_project.Inventory.Decorator.AssetTag": {
"AssetTag": "$PRODUCT_ASSET_TAG"
},
+ "xyz.openbmc_project.Inventory.Decorator.ManagedHost": {
+ "HostIndex": "$bus % 15"
+ },
"xyz.openbmc_project.Inventory.Decorator.Revision": {
"Version": "$PRODUCT_VERSION"
},
diff --git a/schemas/global.json b/schemas/global.json
index e05f2bf..e963774 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -108,6 +108,9 @@
"xyz.openbmc_project.Inventory.Decorator.Compatible": {
"$ref": "openbmc-dbus.json#/$defs/xyz/openbmc_project/Inventory/Decorator/Compatible"
},
+ "xyz.openbmc_project.Inventory.Decorator.ManagedHost": {
+ "$ref": "openbmc-dbus.json#/$defs/xyz/openbmc_project/Inventory/Decorator/ManagedHost"
+ },
"xyz.openbmc_project.Inventory.Decorator.Replaceable": {
"$ref": "openbmc-dbus.json#/$defs/xyz/openbmc_project/Inventory/Decorator/Replaceable"
},
diff --git a/schemas/openbmc-dbus.json b/schemas/openbmc-dbus.json
index 75b4d74..24f71b9 100644
--- a/schemas/openbmc-dbus.json
+++ b/schemas/openbmc-dbus.json
@@ -59,6 +59,16 @@
"required": ["Names"],
"type": "object"
},
+ "ManagedHost": {
+ "additionalProperties": false,
+ "properties": {
+ "HostIndex": {
+ "type": ["string", "number"]
+ }
+ },
+ "required": ["HostIndex"],
+ "type": "object"
+ },
"Replaceable": {
"additionalProperties": false,
"properties": {