Manojkiran Eda | 2746fb4 | 2021-08-29 10:59:27 +0530 | [diff] [blame] | 1 | // This JSON has the information needed to create OEM FRU record VINI for FRU of |
| 2 | // type Board. |
Tom Joseph | 1f4df21 | 2020-02-06 15:48:41 +0530 | [diff] [blame] | 3 | { |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 4 | "record_details": { |
Manojkiran Eda | 2746fb4 | 2021-08-29 10:59:27 +0530 | [diff] [blame] | 5 | // FRU Record Type - OEM FRU Record |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 6 | "fru_record_type": 254, |
Manojkiran Eda | 2746fb4 | 2021-08-29 10:59:27 +0530 | [diff] [blame] | 7 | // Encoding Type for FRU fields - ASCII |
Tom Joseph | 1f4df21 | 2020-02-06 15:48:41 +0530 | [diff] [blame] | 8 | "fru_encoding_type": 1, |
| 9 | "dbus_interface_name": "xyz.openbmc_project.Inventory.Item.Board" |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 10 | }, |
| 11 | "fru_fields": [ |
| 12 | { |
| 13 | // FRU Field Type 2 - Keyword RT |
| 14 | "fru_field_type": 2, |
| 15 | // D-Bus property to read and populate the FRU field |
| 16 | "dbus": { |
| 17 | "interface": "com.ibm.ipzvpd.VINI", |
| 18 | "property_name": "RT", |
| 19 | "property_type": "string" |
Tom Joseph | 1f4df21 | 2020-02-06 15:48:41 +0530 | [diff] [blame] | 20 | } |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 21 | }, |
| 22 | { |
| 23 | // FRU Field Type 3 - Keyword B3 |
| 24 | "fru_field_type": 3, |
| 25 | // D-Bus property to read and populate the FRU field |
| 26 | "dbus": { |
| 27 | "interface": "com.ibm.ipzvpd.VINI", |
| 28 | "property_name": "B3", |
| 29 | "property_type": "bytearray" |
Tom Joseph | 1f4df21 | 2020-02-06 15:48:41 +0530 | [diff] [blame] | 30 | } |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 31 | } |
Tom Joseph | 1f4df21 | 2020-02-06 15:48:41 +0530 | [diff] [blame] | 32 | ] |
| 33 | } |