summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu1.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu1.yaml')
-rw-r--r--meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu1.yaml148
1 files changed, 148 insertions, 0 deletions
diff --git a/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu1.yaml b/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu1.yaml
new file mode 100644
index 0000000000..35a8d5abb5
--- /dev/null
+++ b/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu1.yaml
@@ -0,0 +1,148 @@
+events:
+ - name: Add Cpu interface
+ description: >
+ Add the cpu interface on the cpu inventory path
+ type: startup
+ actions:
+ - name: createObjects
+ objs:
+ /system/chassis/motherboard/cpu1:
+ xyz.openbmc_project.Inventory.Item.Cpu:
+ Socket:
+ value: "FCLGA2011-3"
+ type: string
+ Family:
+ value: "XeonCPU-3"
+ type: string
+
+ - name: createObjects
+ objs:
+ /system/chassis/motherboard/cpu1:
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ Manufacturer:
+ value: "Manufacturer"
+ type: string
+ PartNumber:
+ value: "PartNumber"
+ type: string
+ SerialNumber:
+ value: "SerialNumber"
+ type: string
+ BuildDate:
+ value: "BuildDate"
+ type: string
+ Model:
+ value: "Model"
+ type: string
+ SubModel:
+ value: "SubModel"
+ type: string
+ SparePartNumber:
+ value: "SparePartNumber"
+ type: string
+
+ - name: createObjects
+ objs:
+ /system/chassis/motherboard/cpu1:
+ xyz.openbmc_project.Inventory.Decorator.AssetTag:
+ AssetTag:
+ value: "AssetTag"
+ type: string
+
+ - name: createObjects
+ objs:
+ /system/chassis/motherboard/cpu1/core0:
+ xyz.openbmc_project.Inventory.Item.CpuCore:
+
+ - name: createObjects
+ objs:
+ /system/chassis/motherboard/cpu1/core0:
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ Manufacturer:
+ value: "Manufacturer"
+ type: string
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Cpu
+ property: EffectiveFamily
+ paths:
+ - /system/chassis/motherboard/cpu1
+ value:
+ type: uint16
+ value: 888
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Cpu
+ property: EffectiveModel
+ paths:
+ - /system/chassis/motherboard/cpu1
+ value:
+ type: uint16
+ value: 321
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Cpu
+ property: Id
+ paths:
+ - /system/chassis/motherboard/cpu1
+ value:
+ type: uint64
+ value: 7008
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Cpu
+ property: MaxSpeedInMhz
+ paths:
+ - /system/chassis/motherboard/cpu1
+ value:
+ type: uint32
+ value: 4200
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Cpu
+ property: CoreCount
+ paths:
+ - /system/chassis/motherboard/cpu1
+ value:
+ type: uint16
+ value: 1234
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Cpu
+ property: ThreadCount
+ paths:
+ - /system/chassis/motherboard/cpu1
+ value:
+ type: uint16
+ value: 152
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Cpu
+ property: Step
+ paths:
+ - /system/chassis/motherboard/cpu1
+ value:
+ type: uint16
+ value: 999
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Cpu
+ property: Microcode
+ paths:
+ - /system/chassis/motherboard/cpu1
+ value:
+ type: uint32
+ value: 111
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.CpuCore
+ property: Microcode
+ paths:
+ - /system/chassis/motherboard/cpu1/core0
+ value:
+ type: uint32
+ value: 111
+
+
+
+