Proyecto

General

Perfil

« Anterior | Siguiente » 

Revisión 75

Preparando alta de thinclients

Ver diferencias:

MainLoop.py
# Gestion de Grupos
if command == "hosts":
from Plugins.Hosts import Hosts
if request.args['action'][0] == "list":
h = Hosts (l,"","","","")
response = h.list(request.args)
......
#print "Encendiendo host "+h.getName()
#h.wakeup()
return json.dumps(response)
elif request.args['action'][0] == "getThinclientGroups":
h = Hosts (l,"","","","")
response = h.getThinclientGroups ()
return json.dumps({"response" : response})
else:
if request.args ['type'][0] == 'thinclient':
ip = ""

Exportar a: Unified diff