blob: c250bdf41244507cbc5c3497b517a83db15a675e [file] [log] [blame]
Norman Jamesce46e3e2015-08-30 22:25:55 -05001import dbus
2
3BUS_PREFIX = 'org.openbmc'
4GPIO_DEV = '/sys/class/gpio'
5
6
7FRU_TYPES = {
8 'CPU' : dbus.Byte(1),
9 'DIMM' : dbus.Byte(2),
10 'BACKPLANE' : dbus.Byte(3),
11 'RISER_CARD' : dbus.Byte(4),
12 'FAN' : dbus.Byte(4)
13}
14
15ENUMS = {
16 'org.openbmc.SensorIntegerThreshold.state' :
17 ['NOT_SET','NORMAL','LOWER_CRITICAL','LOWER_WARNING','UPPER_WARNING','UPPER_CRITICAL'],
18 'org.openbmc.Fru.type' :
19 ['NONE','CPU','DIMM','BACKPLANE','RISER_CARD','FAN']
20}
21