summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu.yaml
blob: 329d1b20d498d5f15a82e34372f44c1e9cb963c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
events:
    - name: Add Cpu interface
      description: >
          Add the cpu interface on the cpu inventory path
      type: startup
      actions:
          - name: createObjects
            objs:
              /system/board/cpu0:
                xyz.openbmc_project.Inventory.Item.Cpu:
                  Socket:
                    value: "FCLGA2011-3"
                    type: string
                  Family:
                    value: "XeonCPU-3"
                    type: string
          - name: createObjects
            objs:
              /system/board/cpu0/core0:      
                xyz.openbmc_project.Inventory.Item.CpuCore:
                    
          - name: setProperty
            interface: xyz.openbmc_project.Inventory.Item.Cpu
            property: EffectiveFamily    
            paths:
                - /system/board/cpu0
            value:
              type: uint16
              value: 888
              
          - name: setProperty   
            interface: xyz.openbmc_project.Inventory.Item.Cpu  
            property: EffectiveModel    
            paths:
                - /system/board/cpu0
            value:
              type: uint16
              value: 321
              
          - name: setProperty   
            interface: xyz.openbmc_project.Inventory.Item.Cpu  
            property: Id    
            paths:
                - /system/board/cpu0
            value:
              type: uint64
              value: 7008

          - name: setProperty   
            interface: xyz.openbmc_project.Inventory.Item.Cpu  
            property: MaxSpeedInMhz    
            paths:
                - /system/board/cpu0
            value:
              type: uint32
              value: 4200
              
          - name: setProperty   
            interface: xyz.openbmc_project.Inventory.Item.Cpu  
            property: CoreCount    
            paths:
                - /system/board/cpu0
            value:
              type: uint16
              value: 1234
              
          - name: setProperty   
            interface: xyz.openbmc_project.Inventory.Item.Cpu  
            property: ThreadCount    
            paths:
                - /system/board/cpu0
            value:
              type: uint16
              value: 152
              
          - name: setProperty   
            interface: xyz.openbmc_project.Inventory.Item.Cpu  
            property: Step    
            paths:
                - /system/board/cpu0
            value:
              type: uint16
              value: 999
              
          - name: setProperty   
            interface: xyz.openbmc_project.Inventory.Item.Cpu  
            property: Microcode    
            paths:
                - /system/board/cpu0
            value:
              type: uint32
              value: 111
              
          - name: setProperty   
            interface: xyz.openbmc_project.Inventory.Item.CpuCore  
            property: Microcode    
            paths:
                - /system/board/cpu0/core0
            value:
              type: uint32
              value: 111