cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.clm.views.user.vm Namespace Reference

Functions

def attach_vnc
def create
def destroy
def detach_vnc
def edit
def get_by_id
def get_list
def reset
def save_and_shutdown

Detailed Description

Note
All functions here are decorated by src.clm.utils.decorators.user_log. It's recommended to read src.clm.utils.decorators.user_log docs before using functions below.
Author
Maciej Nabożny di.di.nosp@m.jo@g.nosp@m.mail..nosp@m.com

Function Documentation

def src.clm.views.user.vm.attach_vnc (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.user.vm.attach_vnc()) + one additional kwarg: cm_id). View requests src.cm.views.user.vm.attach_vnc() from CM and returns the response. For documentation see src.cm.views.user.vm.attach_vnc()

Definition at line 117 of file vm.py.

def src.clm.views.user.vm.create (   cm_id,
  caller_id,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string) as required by src.cm.element.role.action except for groups.

Definition at line 38 of file vm.py.

def src.clm.views.user.vm.destroy (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.user.vm.destroy()) + one additional kwarg: cm_id). View requests src.cm.views.user.vm.destroy() from CM and returns the response. For documentation see src.cm.views.user.vm.destroy()

Definition at line 51 of file vm.py.

def src.clm.views.user.vm.detach_vnc (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.user.vm.detach_vnc()) + one additional kwarg: cm_id). View requests src.cm.views.user.vm.detach_vnc() from CM and returns the response. For documentation see src.cm.views.user.vm.detach_vnc()

Definition at line 128 of file vm.py.

def src.clm.views.user.vm.edit (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.user.vm.edit()) + one additional kwarg: cm_id). View requests src.cm.views.user.vm.edit() from CM and returns the response. For documentation see src.cm.views.user.vm.edit()

Definition at line 106 of file vm.py.

def src.clm.views.user.vm.get_by_id (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.user.vm.get_by_id()) + one additional kwarg: cm_id). View requests src.cm.views.user.vm.get_by_id() from CM and returns the response. For documentation see src.cm.views.user.vm.get_by_id()

Definition at line 73 of file vm.py.

def src.clm.views.user.vm.get_list (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.user.vm.get_list()) + one additional kwarg: cm_id). View requests src.cm.views.user.vm.get_list() from CM and returns the response. For documentation see src.cm.views.user.vm.get_list()

Definition at line 62 of file vm.py.

def src.clm.views.user.vm.reset (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.user.vm.reset()) + one additional kwarg: cm_id). View requests src.cm.views.user.vm.reset() from CM and returns the response. For documentation see src.cm.views.user.vm.reset()

Definition at line 95 of file vm.py.

def src.clm.views.user.vm.save_and_shutdown (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.user.vm.save_and_shutdown()) + one additional kwarg: cm_id). View requests src.cm.views.user.vm.save_and_shutdown() from CM and returns the response. For documentation see src.cm.views.user.vm.save_and_shutdown()

Definition at line 84 of file vm.py.