OPSI.Backend.HostControl module¶
HostControl backend.
This backend can be used to control hosts.
| copyright: | uib GmbH <info@uib.de> |
|---|---|
| author: | Jan Schneider <j.schneider@uib.de> |
| author: | Erol Ueluekmen <e.ueluekmen@uib.de> |
| author: | Niko Wenselowski <n.wenselowski@uib.de> |
| license: | GNU Affero General Public License version 3 |
-
class
OPSI.Backend.HostControl.ConnectionThread(hostControlBackend, hostId, address)¶ Bases:
OPSI.Util.Thread.KillableThread-
run()¶
-
-
class
OPSI.Backend.HostControl.HostControlBackend(backend, **kwargs)¶ Bases:
OPSI.Backend.Backend.ExtendedBackend-
hostControl_execute(command, hostIds=[], waitForEnding=True, captureStderr=True, encoding=None, timeout=300)¶
-
hostControl_fireEvent(event, hostIds=[])¶
-
hostControl_getActiveSessions(hostIds=[])¶
-
hostControl_opsiclientdRpc(method, params=[], hostIds=[], timeout=None)¶
-
hostControl_reachable(hostIds=[], timeout=None)¶
-
hostControl_reboot(hostIds=[])¶
-
hostControl_showPopup(message, hostIds=[])¶
-
hostControl_shutdown(hostIds=[])¶
-
hostControl_start(hostIds=[])¶ Switches on remote computers using WOL.
-
hostControl_uptime(hostIds=[])¶
-
-
class
OPSI.Backend.HostControl.RpcThread(hostControlBackend, hostId, address, username, password, method, params=[], hostPort=0)¶ Bases:
OPSI.Util.Thread.KillableThread-
run()¶
-