cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.cm.views.ctx.functions Namespace Reference

Functions

def finish_command
 REST stub for finish_command.
def get_command
def hello
 REST stub for hello function.

Function Documentation

def src.cm.views.ctx.functions.finish_command (   remote_ip,
  command_id,
  status,
  returns = None,
  kw 
)

REST stub for finish_command.

Parameters
remote_ip(POST string)
command_id(POST string) hash string identyfing command
status(POST string)
returns(POST dict) dictionary containing VM returned values
kw(POST dict) keyword params

Definition at line 98 of file functions.py.

def src.cm.views.ctx.functions.get_command (   remote_ip,
  kw 
)
Parameters
remote_ip(POST string)
kw(POST dict) keyword params
Returns
(Command) next command from the que to the asking VM

Definition at line 63 of file functions.py.

def src.cm.views.ctx.functions.hello (   remote_ip,
  kw 
)

REST stub for hello function.

Parameters
remote_ip(POST string)
kw(POST)
Returns
HTTP response

Definition at line 43 of file functions.py.