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