cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.wi.utils.parsing Namespace Reference

Functions

def parse_cm_list
def parse_cm_users
def parse_disks
 Returns list of the disks' names.
def parse_disks_from_vm
 Returns list of the disks' names.
def parse_generic
 Returns a list of (potentially disabled) choices from a dictionary.
def parse_generic_enabled
 Returns a list of (potentially disabled) choices from a dictionary.
def parse_group_images
 Returns a list of group images.
def parse_groups
 Returns list of the groups' names.
def parse_groups_ids
 Returns list of the groups' ids.
def parse_image_descriptions
 Returns list of the images' descriptions.
def parse_image_names
 Returns list of the Images names grouped by type.
def parse_ips
 Returns list of the IPs.
def parse_ips_from_vm
 Returns list of the assigned IPs to selected vm.
def parse_iso
 Returns list of the ISO images' names.
def parse_leases
 Returns list of the assigned IPs to selected vm.
def parse_node_names
 Returns list of the nodes' names.
def parse_own_groups
 Returns list of the ownde groups' ids.
def parse_platform
def parse_ssh_keys
def parse_storage_names
 Returns a list of the storages' names.
def parse_template_names
 Returns list of the Templates names.

Detailed Description

Author
Krzysztof Danielowski
Piotr Wójcik
Date
26.11.2010

Function Documentation

def src.wi.utils.parsing.parse_cm_list (   data)
Parameters
data
Returns
(list) the CMs.

Definition at line 446 of file parsing.py.

def src.wi.utils.parsing.parse_cm_users (   data)
Parameters
data
Returns
(list) the CMs' users.

Definition at line 463 of file parsing.py.

def src.wi.utils.parsing.parse_disks (   data,
  select_flag = True 
)

Returns list of the disks' names.

Parameters
data(dict)
select_flag(boolean)
Returns
(list) disks' names.

Definition at line 179 of file parsing.py.

def src.wi.utils.parsing.parse_disks_from_vm (   data)

Returns list of the disks' names.

Parameters
data
Returns
(list) disks' names.

Definition at line 210 of file parsing.py.

def src.wi.utils.parsing.parse_generic (   data,
  key 
)

Returns a list of (potentially disabled) choices from a dictionary.

Definition at line 402 of file parsing.py.

def src.wi.utils.parsing.parse_generic_enabled (   data,
  key 
)

Returns a list of (potentially disabled) choices from a dictionary.

Definition at line 413 of file parsing.py.

def src.wi.utils.parsing.parse_group_images (   data)

Returns a list of group images.

Parameters
data(dict)

Definition at line 278 of file parsing.py.

def src.wi.utils.parsing.parse_groups (   data)

Returns list of the groups' names.

Parameters
data
Returns
(list) groups' names.

Definition at line 357 of file parsing.py.

def src.wi.utils.parsing.parse_groups_ids (   data)

Returns list of the groups' ids.

Parameters
data
Returns
(list) groups' ids.

Definition at line 340 of file parsing.py.

def src.wi.utils.parsing.parse_image_descriptions (   data)

Returns list of the images' descriptions.

Parameters
data
Returns
(list) images' descriptions.

Definition at line 257 of file parsing.py.

def src.wi.utils.parsing.parse_image_names (   data)

Returns list of the Images names grouped by type.

Parameters
data(dict) dictionary with keys: images_private, images_public, images_group
Returns
(list) Images names.

Definition at line 42 of file parsing.py.

def src.wi.utils.parsing.parse_ips (   data,
  select_flag = True 
)

Returns list of the IPs.

Parameters
data(dict)
select_flag(bool)
Returns
(list) IPs.

Definition at line 116 of file parsing.py.

def src.wi.utils.parsing.parse_ips_from_vm (   data)

Returns list of the assigned IPs to selected vm.

Parameters
data(dict)
Returns
(list) IPs.

Definition at line 142 of file parsing.py.

def src.wi.utils.parsing.parse_iso (   data)

Returns list of the ISO images' names.

Parameters
data
Returns
(list) ISO images' names.

Definition at line 236 of file parsing.py.

def src.wi.utils.parsing.parse_leases (   data)

Returns list of the assigned IPs to selected vm.

Parameters
data(dict)
Returns
(list) IPs.

Definition at line 160 of file parsing.py.

def src.wi.utils.parsing.parse_node_names (   data)

Returns list of the nodes' names.

(attaching storage to multiple nodes).

@param data

@returns <i>(\c list)</i> nodes' names.

Definition at line 318 of file parsing.py.

def src.wi.utils.parsing.parse_own_groups (   data)

Returns list of the ownde groups' ids.

Parameters
data
Returns
(list) owned groups' ids.

Definition at line 377 of file parsing.py.

def src.wi.utils.parsing.parse_platform ( )
Returns
(list(key)) platforms.

Definition at line 390 of file parsing.py.

def src.wi.utils.parsing.parse_ssh_keys (   data)
Parameters
data
Returns
(list) the SSH keys.

Definition at line 429 of file parsing.py.

def src.wi.utils.parsing.parse_storage_names (   data)

Returns a list of the storages' names.

Parameters
data(dict)
Returns
(list) storages' names.

Definition at line 296 of file parsing.py.

def src.wi.utils.parsing.parse_template_names (   data)

Returns list of the Templates names.

Parameters
data(dict)
Returns
(list) Templates names.

Definition at line 94 of file parsing.py.