cc1  v2.1
CC1 source code docs
All Classes Namespaces Files Functions Variables Pages
src.cm.views.ci.vm 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.user_log. It's recommended to read src.cm.utils.decorators.user_log docs before using functions below.

Function Documentation

def src.cm.views.ci.vm.update_state (   remote_ip,
  vm_name,
  action,
  state 
)
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)
vm_name(POST)
action(POST)
state(POST)

Definition at line 46 of file vm.py.