OPSI.Backend.HostControlSafe module

HostControl Backend: Safe edition

copyright:uib GmbH <info@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.HostControlSafe.HostControlSafeBackend(backend, **kwargs)

Bases: OPSI.Backend.Backend.ExtendedBackend

This backend is the same as the HostControl-backend but it will not allow to call methods without hostId

hostControlSafe_execute(command, hostIds=[], waitForEnding=True, captureStderr=True, encoding=None, timeout=300)
hostControlSafe_fireEvent(event, hostIds=[])
hostControlSafe_getActiveSessions(hostIds=[])
hostControlSafe_opsiclientdRpc(method, params=[], hostIds=[], timeout=None)
hostControlSafe_reachable(hostIds=[], timeout=None)
hostControlSafe_reboot(hostIds=[])
hostControlSafe_showPopup(message, hostIds=[])
hostControlSafe_shutdown(hostIds=[])
hostControlSafe_start(hostIds=[])

Switches on remote computers using WOL.

hostControlSafe_uptime(hostIds=[])