summaryrefslogtreecommitdiffstats
path: root/pychassisctl
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-03-23 18:46:06 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-03-30 03:05:32 +0000
commitcf951db6eb9d3e3fd8af769adc6bebf3160b73bc (patch)
tree87bc7d23a2e14b1040fc0d88ce98c9667d4272c1 /pychassisctl
parente688d94b8a21796be2e839fc6b19336b9f192e05 (diff)
downloadtalos-skeleton-cf951db6eb9d3e3fd8af769adc6bebf3160b73bc.tar.gz
talos-skeleton-cf951db6eb9d3e3fd8af769adc6bebf3160b73bc.zip
LED: Remove methods used to set and clear Identify LEDs.
Now that the LED Group manager support is in, the users can make a call to phosphor-ledmanager and assert the Identify group and hence this code in here is not needed. Change-Id: I7c268710ee8806215c60015d6b39a0ef19601fd0 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'pychassisctl')
-rw-r--r--pychassisctl/chassis_control.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/pychassisctl/chassis_control.py b/pychassisctl/chassis_control.py
index faf7d1d..4d688d6 100644
--- a/pychassisctl/chassis_control.py
+++ b/pychassisctl/chassis_control.py
@@ -44,11 +44,6 @@ class ChassisControlObject(DbusProperties, DbusObjectManager):
'object_name': '/org/openbmc/control/power0',
'interface_name': 'org.openbmc.control.Power'
},
- 'identify_led': {
- 'bus_name': 'org.openbmc.control.led',
- 'object_name': '/org/openbmc/control/led/identify',
- 'interface_name': 'org.openbmc.Led'
- },
'host_services': {
'bus_name': 'org.openbmc.HostServices',
'object_name': '/org/openbmc/HostServices',
@@ -101,22 +96,6 @@ class ChassisControlObject(DbusProperties, DbusObjectManager):
@dbus.service.method(DBUS_NAME,
in_signature='', out_signature='')
- def setIdentify(self):
- print "Turn on identify"
- intf = self.getInterface('identify_led')
- intf.setOn()
- return None
-
- @dbus.service.method(DBUS_NAME,
- in_signature='', out_signature='')
- def clearIdentify(self):
- print "Turn on identify"
- intf = self.getInterface('identify_led')
- intf.setOff()
- return None
-
- @dbus.service.method(DBUS_NAME,
- in_signature='', out_signature='')
def powerOn(self):
print "Turn on power and boot"
self.Set(DBUS_NAME, "reboot", 0)
OpenPOWER on IntegriCloud