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

Functions

def update_state

Detailed Description

Author
Maciej Nabozny mn@mn.nosp@m.aboz.nosp@m.ny.pl
Note
All functions here are decorated by src.cm.utils.decorators.ci_log. It's recommended to read src.cm.utils.decorators.ci_log docs before using functions below.

Function Documentation

def src.cm.views.ci.node.update_state (   remote_ip,
  state,
  comment = "",
  error = "" 
)
Note
The cm.utils.decorators.ci_log decorator provides handling/logging mechanism for each Exception raised in view. see also: cm.utils.decorators.ci_log
Parameters
http_request(HttpRequest)
remote_ip(POST string)
state(POST)
comment(POST string)
error(POST string)

Definition at line 42 of file node.py.