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>
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 @@
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 @@
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,