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_BMC.json b/configurations/Kudo_BMC.json
new file mode 100644
index 0000000..db3dec8
--- /dev/null
+++ b/configurations/Kudo_BMC.json
@@ -0,0 +1,219 @@
+[
+ {
+ "Exposes":
+ [
+ {
+ "Address":"$address",
+ "Bus":"$bus",
+ "Name":"BMC FRU",
+ "Type":"EEPROM"
+ },
+ {
+ "Address":"0x59",
+ "Bus":14,
+ "PowerState":"Always",
+ "Name":"BMC_MAX34451",
+ "Labels":[
+ "vout1",
+ "vout2",
+ "vout3",
+ "vout5",
+ "vout6",
+ "vout10"
+ ],
+ "Name1":"DC_P1V8",
+ "Name2":"DC_P2V5",
+ "Name3":"DC_P1V2",
+ "Name4":"DC_3V3_STBY",
+ "Name5":"DC_P1V175",
+ "Name6":"DC_PVTT",
+ "vout1_Max":4,
+ "vout2_Max":3.5,
+ "vout3_Max":2.5,
+ "vout5_Max":5.8,
+ "vout6_Max":3,
+ "vout10_Max":4,
+ "Thresholds":[
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Label":"vout2",
+ "Severity":1,
+ "Value":2.754
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Label":"vout2",
+ "Severity":0,
+ "Value":2.617
+ },
+ {
+ "Direction":"less than",
+ "Name":"lower non critical",
+ "Label":"vout2",
+ "Severity":0,
+ "Value":2.4
+ },
+ {
+ "Direction":"less than",
+ "Name":"lower critical",
+ "Label":"vout2",
+ "Severity":1,
+ "Value":2.37
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Label":"vout3",
+ "Severity":1,
+ "Value":1.313
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Label":"vout3",
+ "Severity":0,
+ "Value":1.215
+ },
+ {
+ "Direction":"less than",
+ "Name":"lower non critical",
+ "Label":"vout3",
+ "Severity":0,
+ "Value":1.176
+ },
+ {
+ "Direction":"less than",
+ "Name":"lower critical",
+ "Label":"vout3",
+ "Severity":1,
+ "Value":1.147
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Label":"vout5",
+ "Severity":1,
+ "Value":3.609
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Label":"vout5",
+ "Severity":0,
+ "Value":3.382
+ },
+ {
+ "Direction":"less than",
+ "Name":"lower non critical",
+ "Label":"vout5",
+ "Severity":0,
+ "Value":3.2
+ },
+ {
+ "Direction":"less than",
+ "Name":"lower critical",
+ "Label":"vout5",
+ "Severity":1,
+ "Value":3.155
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Label":"vout6",
+ "Severity":1,
+ "Value":1.286
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Label":"vout6",
+ "Severity":0,
+ "Value":1.227
+ },
+ {
+ "Direction":"less than",
+ "Name":"lower non critical",
+ "Label":"vout6",
+ "Severity":0,
+ "Value":1.121
+ },
+ {
+ "Direction":"less than",
+ "Name":"lower critical",
+ "Label":"vout6",
+ "Severity":1,
+ "Value":1.121
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Label":"vout1",
+ "Severity":1,
+ "Value":1.978
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Label":"vout1",
+ "Severity":0,
+ "Value":1.884
+ },
+ {
+ "Direction":"less than",
+ "Name":"lower non critical",
+ "Label":"vout1",
+ "Severity":0,
+ "Value":1.711
+ },
+ {
+ "Direction":"less than",
+ "Name":"lower critical",
+ "Label":"vout1",
+ "Severity":1,
+ "Value":1.633
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper critical",
+ "Label":"vout10",
+ "Severity":1,
+ "Value":0.659
+ },
+ {
+ "Direction":"greater than",
+ "Name":"upper non critical",
+ "Label":"vout10",
+ "Severity":0,
+ "Value":0.628
+ },
+ {
+ "Direction":"less than",
+ "Name":"lower non critical",
+ "Label":"vout10",
+ "Severity":0,
+ "Value":0.581
+ },
+ {
+ "Direction":"less than",
+ "Name":"lower critical",
+ "Label":"vout10",
+ "Severity":1,
+ "Value":0.55
+ }
+ ],
+ "Type":"MAX34451"
+ }
+ ],
+ "Name":"Kudo_BMC",
+ "Probe":"xyz.openbmc_project.FruDevice({'BOARD_PART_NUMBER': '1093695-*'})",
+ "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
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
diff --git a/meson.build b/meson.build
index 4fb8877..357ada1 100644
--- a/meson.build
+++ b/meson.build
@@ -107,6 +107,8 @@
'IBM 2000W CFFPS.json',
'IBM 2300W CFFPS.json',
'Intel Front Panel.json',
+ 'Kudo_BMC.json',
+ 'Kudo_Motherboard.json',
'Nisqually.json',
'NVME P4000.json',
'PCIE SSD Retimer.json',