This Page

backend.scriptbase — SEER scripting

class backend.scriptbase.AgentGroup(type, group, messaging)
getCommand(event)
setForNode(key, regex, val)
class backend.scriptbase.ScriptController(name, cafile, nodefile, func)
handleDATA(sock, msg)
handleGET(sock, msg)

Just checks for a kill command sent to this node or group, if so, start teardown

handleINFO(sock, msg)

Hook into incoming INFO message so we know when connection occurs

newGroup(type, group)

Return a new AgentGroup object linked to this connection

send(msg)

Don’t route message as we don’t want to wait for the routing to stablize for a short run script, we already know there is only one socket so just stick the message on that socket and let it route.

sendCommand(command)
status(str, complete=False)

Interface for sending commands to the experiment

class backend.scriptbase.ScriptThread(messaging, name, func)
run()
backend.scriptbase.run(scriptfunc)
backend.scriptbase.usage()