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

Functions

def add
def delete_available_network
def delete_user_network
def list_available_networks
def list_leases
def list_user_networks
def lock
def unlock

Function Documentation

def src.clm.views.admin_cm.network.add (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_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.network.add()) + one additional kwarg: cm_id). View requests src.cm.views.network.add() from CM and returns the response. For documentation see src.cm.views.network.add()

Definition at line 36 of file network.py.

def src.clm.views.admin_cm.network.delete_available_network (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_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.network.delete_available_network()) + one additional kwarg: cm_id). View requests src.cm.views.network.delete_available_network() from CM and returns the response. For documentation see src.cm.views.network.delete_available_network()

Definition at line 47 of file network.py.

def src.clm.views.admin_cm.network.delete_user_network (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_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.network.delete_user_network()) + one additional kwarg: cm_id). View requests src.cm.views.network.delete_user_network() from CM and returns the response. For documentation see src.cm.views.network.delete_user_network()

Definition at line 58 of file network.py.

def src.clm.views.admin_cm.network.list_available_networks (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_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.network.list_available_networks()) + one additional kwarg: cm_id). View requests src.cm.views.network.list_available_networks() from CM and returns the response. For documentation see src.cm.views.network.list_available_networks()

Definition at line 69 of file network.py.

def src.clm.views.admin_cm.network.list_leases (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_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.network.list_leases()) + one additional kwarg: cm_id). View requests src.cm.views.network.list_leases() from CM and returns the response. For documentation see src.cm.views.network.list_leases()

Definition at line 101 of file network.py.

def src.clm.views.admin_cm.network.list_user_networks (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.iso_image.get_list()) + one additional kwarg: cm_id). View requests src.cm.views.iso_image.get_list() from CM. CM response is processed and finally returned. see also: src.cm.views.iso_image.get_list()

Definition at line 80 of file network.py.

def src.clm.views.admin_cm.network.lock (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_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.network.lock()) + one additional kwarg: cm_id). View requests src.cm.views.network.lock() from CM and returns the response. For documentation see src.cm.views.network.lock()

Definition at line 112 of file network.py.

def src.clm.views.admin_cm.network.unlock (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_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.network.unlock()) + one additional kwarg: cm_id). View requests src.cm.views.network.unlock() from CM and returns the response. For documentation see src.cm.views.network.unlock()

Definition at line 123 of file network.py.