summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu.yaml
blob: 0d96757f673c4fd6e51c30709459faca084f55f0 (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
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:      
                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/board/cpu0: 
                xyz.openbmc_project.Inventory.Decorator.AssetTag:
                  AssetTag:
                    value: "AssetTag"
                    type: string 
                    
          - name: createObjects
            objs:
              /system/board/cpu0/core0:      
                xyz.openbmc_project.Inventory.Item.CpuCore:
                
          - name: createObjects
            objs:
              /system/board/cpu0/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/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