gen_ipmi_fru.pl: remove example input and output
Change-Id: Ie3aa1e6fa3476c2ed2df32ed5c2c7ce784ddd6b1
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/fru-types.yaml b/fru-types.yaml
deleted file mode 100644
index bba9fe6..0000000
--- a/fru-types.yaml
+++ /dev/null
@@ -1,85 +0,0 @@
-PROC:
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFruSection: Board
- IPMIFruProperty: "Mfg Date"
- Manufacturer:
- IPMIFruSection: Board
- IPMIFruProperty: "Manufacturer"
- PartNumber:
- IPMIFruSection: Board
- IPMIFruProperty: "Part Number"
- SerialNumber:
- IPMIFruSection: Board
- IPMIFruProperty: "Serial Number"
- xyz.openbmc_project.Inventory.Item:
- PrettyName:
- IPMIFruSection: Board
- IPMIFruProperty: "Product Name"
-
-CORE:
-
-SYS:
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFruSection: Product
- IPMIFruProperty: "Mfg Date"
- Manufacturer:
- IPMIFruSection: Product
- IPMIFruProperty: "Manufacturer"
- PartNumber:
- IPMIFruSection: Product
- IPMIFruProperty: "Part Number"
- SerialNumber:
- IPMIFruSection: Product
- IPMIFruProperty: "Serial Number"
- xyz.openbmc_project.Inventory.Item:
- PrettyName:
- IPMIFruSection: Product
- IPMIFruProperty: "Product Name"
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFruSection: Product
- IPMIFruProperty: "Version"
-
-DIMM:
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFruSection: Product
- IPMIFruProperty: "Mfg Date"
- Manufacturer:
- IPMIFruSection: Product
- IPMIFruProperty: "Manufacturer"
- PartNumber:
- IPMIFruSection: Product
- IPMIFruProperty: "Part Number"
- SerialNumber:
- IPMIFruSection: Product
- IPMIFruProperty: "Serial Number"
- xyz.openbmc_project.Inventory.Item:
- PrettyName:
- IPMIFruSection: Product
- IPMIFruProperty: "Product Name"
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFruSection: Product
- IPMIFruProperty: "Version"
-
-MEMBUFF:
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFruSection: Board
- IPMIFruProperty: "Mfg Date"
- Manufacturer:
- IPMIFruSection: Board
- IPMIFruProperty: "Manufacturer"
- PartNumber:
- IPMIFruSection: Board
- IPMIFruProperty: "Part Number"
- SerialNumber:
- IPMIFruSection: Board
- IPMIFruProperty: "Serial Number"
- xyz.openbmc_project.Inventory.Item:
- PrettyName:
- IPMIFruSection: Board
- IPMIFruProperty: "Product Name"
diff --git a/inventory-gen.yaml b/inventory-gen.yaml
deleted file mode 100644
index 2a9402b..0000000
--- a/inventory-gen.yaml
+++ /dev/null
@@ -1,594 +0,0 @@
-0:
- /system:
- xyz.openbmc_project.Inventory.Item:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- Present:
- xyz.openbmc_project.Inventory.Decorator.Asset:
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis:
-0:
- /system/chassis/motherboard/dimm0:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm1:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm10:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm11:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm12:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm13:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm14:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm15:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm2:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm3:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm4:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm5:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm6:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm7:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm8:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/dimm9:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Product
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Product
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Product
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Product
- xyz.openbmc_project.Inventory.Revision:
- Version:
- IPMIFRUProperty: Version
- IPMIFruSection: Product
-0:
- /system/chassis/motherboard/cpu0:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Board
- xyz.openbmc_project.Inventory.Decorator.Asset:
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Board
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Board
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Board
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Board
- /system/chassis/motherboard/cpu0/core0:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core1:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core2:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core3:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core4:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core5:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core6:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core7:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core8:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core9:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core10:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core11:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core12:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core13:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core14:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core15:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core16:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core17:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core18:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core19:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core20:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core21:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core22:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu0/core23:
- xyz.openbmc_project.Inventory.Item:
- Present:
-0:
- /system/chassis/motherboard/cpu1:
- xyz.openbmc_project.Inventory.Item:
- Present:
- PrettyName:
- IPMIFRUProperty: Product Name
- IPMIFruSection: Board
- xyz.openbmc_project.Inventory.Decorator.Asset:
- SerialNumber:
- IPMIFRUProperty: Serial Number
- IPMIFruSection: Board
- BuildDate:
- IPMIFRUProperty: Mfg Date
- IPMIFruSection: Board
- Manufacturer:
- IPMIFRUProperty: Manufacturer
- IPMIFruSection: Board
- PartNumber:
- IPMIFRUProperty: Part Number
- IPMIFruSection: Board
- /system/chassis/motherboard/cpu1/core0:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core1:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core2:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core3:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core4:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core5:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core6:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core7:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core8:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core9:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core10:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core11:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core12:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core13:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core14:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core15:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core16:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core17:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core18:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core19:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core20:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core21:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core22:
- xyz.openbmc_project.Inventory.Item:
- Present:
- /system/chassis/motherboard/cpu1/core23:
- xyz.openbmc_project.Inventory.Item:
- Present: