summaryrefslogtreecommitdiff
path: root/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis
diff options
context:
space:
mode:
authorGeorge Liu <liuxiwei@inspur.com>2020-07-24 11:33:05 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-10-06 01:10:25 +0300
commit56da762e1dc443e8e9eac3cabf31ec205d1f18e8 (patch)
tree4fae697a2ad40d5a68edd37f60a45d5b323db6e8 /meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis
parente8860cd0e1d3d85802d12cf30c54ec15fa99d28c (diff)
downloadopenbmc-56da762e1dc443e8e9eac3cabf31ec205d1f18e8.tar.xz
fp5280g2: inventory: Add Chassis interface to the chassis
Create the xyz.openbmc_project.Inventory.Item.Chassis interface on the /system/chassis inventory item at startup. (From meta-inspur rev: 7cd52a29282b3a6f4d291d16cec1bcaeb16ab2d0) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I514c7b77583992357696b5eb09df52b4770efa23 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis')
-rw-r--r--meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis/chassis.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis/chassis.yaml b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis/chassis.yaml
new file mode 100644
index 000000000..b5c548ece
--- /dev/null
+++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/inventory/phosphor-inventory-manager-chassis/chassis.yaml
@@ -0,0 +1,13 @@
+events:
+ - name: Add Chassis interface
+ description: >
+ Add the chassis interface on the chassis inventory path
+ type: startup
+ actions:
+ - name: createObjects
+ objs:
+ /system/chassis:
+ xyz.openbmc_project.Inventory.Item.Chassis:
+ Type:
+ value: "RackMount"
+ type: string