entity-manager: Add Kudo json file into Entity Manager
- Add Kudo_BMC.json and Kudo_Motherboard.json in configurations
- Update meson.build
Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com>
Change-Id: I75f39bfa6d7f00ee84e1748803c7427973522df8
diff --git a/configurations/Kudo_Motherboard.json b/configurations/Kudo_Motherboard.json
new file mode 100644
index 0000000..138480b
--- /dev/null
+++ b/configurations/Kudo_Motherboard.json
@@ -0,0 +1,169 @@
+[
+ {
+ "Exposes":
+ [
+ {
+ "Address":"$address",
+ "Bus":"$bus",
+ "Name":"MB FRU",
+ "Type":"EEPROM"
+ },
+ {
+ "Address":"0x48",
+ "Bus":42,
+ "Name":"Mobo_M2_ZONE_T",
+ "Thresholds":[
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Severity":1,
+ "Value":70
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Severity":0,
+ "Value":60
+ }
+ ],
+ "Type":"TMP75"
+ },
+ {
+ "Address":"0x49",
+ "Bus":43,
+ "Name":"Mobo_BATT_ZONE_T",
+ "Thresholds":[
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Severity":1,
+ "Value":70
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Severity":0,
+ "Value":60
+ }
+ ],
+ "Type":"TMP75"
+ },
+ {
+ "Address":"0x5c",
+ "Bus":20,
+ "Name":"Mobo_INLET1_T",
+ "Thresholds":[
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Severity":1,
+ "Value":46
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Severity":0,
+ "Value":42
+ }
+ ],
+ "Type":"TMP75"
+ },
+ {
+ "Address":"0x5c",
+ "Bus":21,
+ "Name":"Mobo_OUTLET1_T",
+ "Thresholds":[
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Severity":1,
+ "Value":85
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Severity":0,
+ "Value":80
+ }
+ ],
+ "Type":"TMP75"
+ },
+ {
+ "Address":"0x5c",
+ "Bus":22,
+ "Name":"Mobo_OUTLET2_T",
+ "Thresholds":[
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Severity":1,
+ "Value":85
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Severity":0,
+ "Value":80
+ }
+ ],
+ "Type":"TMP75"
+ },
+ {
+ "Address":"0x5c",
+ "Bus":23,
+ "Name":"Mobo_OUTLET3_T",
+ "Thresholds":[
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Severity":1,
+ "Value":85
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Severity":0,
+ "Value":80
+ }
+ ],
+ "Type":"TMP75"
+ },
+ {
+ "Address":"0x74",
+ "Bus":26,
+ "Name":"Mobo_STB_T",
+ "Labels":[
+ "temp1"
+ ],
+ "Name1":"Mobo_STB_T",
+ "MaxValue" : 255,
+ "Thresholds":[
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Label":"temp1",
+ "Severity":1,
+ "Value":105
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Label":"temp1",
+ "Severity":0,
+ "Value":100
+ }
+ ],
+ "Type":"pmbus"
+ }
+ ],
+ "Name":"Kudo_Motherboard",
+ "Probe":"xyz.openbmc_project.FruDevice({'BOARD_PART_NUMBER': '1103638-*'})",
+ "Type":"Board",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer":"$BOARD_MANUFACTURER",
+ "Model":"$BOARD_PRODUCT_NAME",
+ "PartNumber":"$BOARD_PART_NUMBER",
+ "SerialNumber":"$BOARD_SERIAL_NUMBER"
+ }
+ }
+]
\ No newline at end of file