summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-motherboard/motherboard.yaml
blob: 57d6085144288390ebf8e456e82d7469de65337f (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
events:
    - name: Add Chassis interface
      description: >
          Add the chassis interface on the chassis inventory path
      type: startup
      actions:
          - name: createObjects
            objs:
              /system/chassis/motherboard:
                xyz.openbmc_project.Inventory.Item.Board.Motherboard:
                    
          - name: createObjects
            objs:   
              /system/chassis/motherboard:      
                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: 
                xyz.openbmc_project.Inventory.Decorator.AssetTag:
                  AssetTag:
                    value: "AssetTag"
                    type: string