summaryrefslogtreecommitdiffstats
path: root/pychassisctl
diff options
context:
space:
mode:
authorJosh D. King <jdking@us.ibm.com>2017-04-11 13:48:00 -0500
committerJosh D. King <jdking@us.ibm.com>2017-04-11 13:48:00 -0500
commit2a559546389d69b8505087f9ada92aaa1fec21b6 (patch)
tree4e562c86143c42cb7ba71a51bd201bab1a3969a1 /pychassisctl
parentb72169d0e60abb116aeb5bfe226b3c3f36758823 (diff)
downloadblackbird-skeleton-2a559546389d69b8505087f9ada92aaa1fec21b6.tar.gz
blackbird-skeleton-2a559546389d69b8505087f9ada92aaa1fec21b6.zip
Refactor action target names Host-start-stop
The target change is: obmc-chassis-stop -> obmc-host-stop obmc-chassis-start -> obmc-host-start Change-Id: Ibba1e8d56e8d911dca309a6e6dc9ad3335bb644d Signed-off-by: Josh D. King <jdking@us.ibm.com>
Diffstat (limited to 'pychassisctl')
-rw-r--r--pychassisctl/chassis_control.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pychassisctl/chassis_control.py b/pychassisctl/chassis_control.py
index 4d688d6..b3662d0 100644
--- a/pychassisctl/chassis_control.py
+++ b/pychassisctl/chassis_control.py
@@ -101,7 +101,7 @@ class ChassisControlObject(DbusProperties, DbusObjectManager):
self.Set(DBUS_NAME, "reboot", 0)
intf = self.getInterface('systemd')
f = getattr(intf, 'StartUnit')
- f.call_async('obmc-chassis-start@0.target', 'replace')
+ f.call_async('obmc-host-start@0.target', 'replace')
return None
@dbus.service.method(DBUS_NAME,
@@ -111,7 +111,7 @@ class ChassisControlObject(DbusProperties, DbusObjectManager):
intf = self.getInterface('systemd')
f = getattr(intf, 'StartUnit')
- f.call_async('obmc-chassis-stop@0.target', 'replace')
+ f.call_async('obmc-host-stop@0.target', 'replace')
return None
@dbus.service.method(DBUS_NAME,
OpenPOWER on IntegriCloud