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

Functions

def attach
def convert_to_system_image
def create
def delete
def detach
def download
def edit
def get_by_id
def get_disk_controllers
def get_filesystems
def get_list
 Method returns list of Images.

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.

Function Documentation

def src.clm.views.user.storage_image.attach (   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.image.attach()) + one additional kwarg: cm_id). View requests src.cm.views.user.image.attach() from CM and returns the response. For documentation see src.cm.views.user.image.attach()

Definition at line 103 of file storage_image.py.

def src.clm.views.user.storage_image.convert_to_system_image (   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.image.convert_to_system_image()) + one additional kwarg: cm_id). View requests src.cm.views.user.image.convert_to_system_image() from CM and returns the response. For documentation see src.cm.views.user.image.convert_to_system_image()

Definition at line 147 of file storage_image.py.

def src.clm.views.user.storage_image.create (   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.image.create()) + one additional kwarg: cm_id). View requests src.cm.views.user.image.create() from CM and returns the response. For documentation see src.cm.views.user.image.create()

Definition at line 81 of file storage_image.py.

def src.clm.views.user.storage_image.delete (   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.image.delete()) + one additional kwarg: cm_id). View requests src.cm.views.user.image.delete() from CM and returns the response. For documentation see src.cm.views.user.image.delete()

Definition at line 59 of file storage_image.py.

def src.clm.views.user.storage_image.detach (   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.image.detach()) + one additional kwarg: cm_id). View requests src.cm.views.user.image.detach() from CM and returns the response. For documentation see src.cm.views.user.image.detach()

Definition at line 114 of file storage_image.py.

def src.clm.views.user.storage_image.download (   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.image.download()) + one additional kwarg: cm_id). View requests src.cm.views.user.image.download() from CM and returns the response. For documentation see src.cm.views.user.image.download()

Definition at line 92 of file storage_image.py.

def src.clm.views.user.storage_image.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.image.edit()) + one additional kwarg: cm_id). View requests src.cm.views.user.image.edit() from CM and returns the response. For documentation see src.cm.views.user.image.edit()

Definition at line 70 of file storage_image.py.

def src.clm.views.user.storage_image.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.image.get_by_id()) + one additional kwarg: cm_id). View requests src.cm.views.user.image.get_by_id() from CM and returns the response. For documentation see src.cm.views.user.image.get_by_id()

Definition at line 48 of file storage_image.py.

def src.clm.views.user.storage_image.get_disk_controllers (   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.image.get_disk_controllers()) + one additional kwarg: cm_id). View requests src.cm.views.user.image.get_disk_controllers() from CM and returns the response. For documentation see src.cm.views.user.image.get_disk_controllers()

Definition at line 136 of file storage_image.py.

def src.clm.views.user.storage_image.get_filesystems (   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.image.get_filesystems()) + one additional kwarg: cm_id). View requests src.cm.views.user.image.get_filesystems() from CM and returns the response. For documentation see src.cm.views.user.image.get_filesystems()

Definition at line 125 of file storage_image.py.

def src.clm.views.user.storage_image.get_list (   cm_response,
  data 
)

Method returns list of Images.

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.image.get_list()) + one additional kwarg: cm_id). View requests src.cm.views.user.image.get_list() from CM and returns the response. For documentation see src.cm.views.user.image.get_list()

Definition at line 37 of file storage_image.py.