cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
predefined.actions Namespace Reference

Functions

def get_admin_vm_details
def wait_image_is_downloaded
def wait_vm_in_state_by_id
def wait_vm_is_running
 Wait conditions #.

Variables

dictionary list_admin_public_ip
dictionary list_admin_vms
dictionary list_all_storage_images
dictionary list_available_networks
dictionary list_clusters
dictionary list_disk_controllers
dictionary list_filesystems
dictionary list_group_vm_images
dictionary list_network_devices
dictionary list_nodes
dictionary list_private_cd_images
dictionary list_private_storage_images
dictionary list_private_vm_images
dictionary list_public_vm_images
dictionary list_storages
dictionary list_templates
dictionary list_user_networks
dictionary list_user_public_ip
dictionary list_user_vms
dictionary list_users
dictionary list_video_devices

Function Documentation

def predefined.actions.get_admin_vm_details (   name)

Definition at line 162 of file actions.py.

def predefined.actions.wait_image_is_downloaded (   name,
  access,
  type 
)

Definition at line 184 of file actions.py.

def predefined.actions.wait_vm_in_state_by_id (   id,
  state = 1 
)

Definition at line 178 of file actions.py.

def predefined.actions.wait_vm_is_running (   name,
  state = 1 
)

Wait conditions #.

Definition at line 172 of file actions.py.

Variable Documentation

dictionary predefined.actions.list_admin_public_ip
Initial value:
1 {'u': u_admin_cm,
2  'fname': 'elasticip.admin_cm.list',
3  'as_cmadmin': True,
4  'args': [],
5  'store_as': 'admin_public_ip'}

Definition at line 46 of file actions.py.

dictionary predefined.actions.list_admin_vms
Initial value:
1 {'u': u_admin_cm,
2  'as_cmadmin': True,
3  'fname': 'vm.admin_cm.list',
4  'args': [{'all': True, 'user_id': 0}],
5  'store_as': 'admin_vms',
6  'predefined_action': True}

Definition at line 155 of file actions.py.

dictionary predefined.actions.list_all_storage_images
Initial value:
1 {'u': u_admin,
2  'fname': 'image.admin_cm.list',
3  'as_cmadmin': True,
4  'args': [{'access': 0, 'type': 1}],
5  'store_as': 'storage_images',
6  'predefined_action': True
7  }

Definition at line 107 of file actions.py.

dictionary predefined.actions.list_available_networks
Initial value:
1 {'u': u_new,
2  'fname': 'network.user.list_available_networks',
3  'args': [],
4  'store_as': 'available_networks',
5  'predefined_action': True}

Definition at line 59 of file actions.py.

dictionary predefined.actions.list_clusters
Initial value:
1 {'u': u_admin_clm,
2  'fname': 'cluster.admin_clm.list',
3  'args': [],
4  'store_as': 'clusters',
5  'predefined_action': True}

Definition at line 25 of file actions.py.

dictionary predefined.actions.list_disk_controllers
Initial value:
1 {'u': u_new,
2  'fname': 'image.user.get_disk_controllers',
3  'args': [],
4  'store_as': 'disk_controllers',
5  'predefined_action': True}

Definition at line 143 of file actions.py.

dictionary predefined.actions.list_filesystems
Initial value:
1 {'u': u_new,
2  'fname': 'image.user.get_supported_filesystems',
3  'args': [],
4  'store_as': 'filesystems',
5  'predefined_action': True}

Definition at line 128 of file actions.py.

dictionary predefined.actions.list_group_vm_images
Initial value:
1 {'u': u_new,
2  'fname': 'image.user.list',
3  'args': [{'access': 2, 'type': 2}],
4  'store_as': 'group_vm_images',
5  'predefined_action': True
6  }

Definition at line 101 of file actions.py.

dictionary predefined.actions.list_network_devices
Initial value:
1 {'u': u_new,
2  'fname': 'image.user.get_network_devices',
3  'args': [],
4  'store_as': 'network_devices',
5  'predefined_action': True}

Definition at line 138 of file actions.py.

dictionary predefined.actions.list_nodes
Initial value:
1 {'u': u_admin_cm,
2  'fname': 'node.admin_cm.list',
3  'as_cmadmin': True,
4  'args': [],
5  'store_as': 'nodes',
6  'predefined_action': True}

Definition at line 81 of file actions.py.

dictionary predefined.actions.list_private_cd_images
Initial value:
1 {'u': u_new,
2  'fname': 'image.user.list',
3  'args': [{'access': 0, 'type': 0}],
4  'store_as': 'private_cd_images',
5  'predefined_action': True
6  }

Definition at line 120 of file actions.py.

dictionary predefined.actions.list_private_storage_images
Initial value:
1 {'u': u_new,
2  'fname': 'image.user.list',
3  'args': [{'access': 0, 'type': 1}],
4  'store_as': 'private_storage_images',
5  'predefined_action': True
6  }

Definition at line 114 of file actions.py.

dictionary predefined.actions.list_private_vm_images
Initial value:
1 {'u': u_new,
2  'fname': 'image.user.list',
3  'args': [{'access': 0, 'type': 2}],
4  'store_as': 'private_vm_images',
5  'predefined_action': True
6  }

Definition at line 89 of file actions.py.

dictionary predefined.actions.list_public_vm_images
Initial value:
1 {'u': u_new,
2  'fname': 'image.user.list',
3  'args': [{'access': 1, 'type': 2}],
4  'store_as': 'public_vm_images',
5  'predefined_action': True
6  }

Definition at line 95 of file actions.py.

dictionary predefined.actions.list_storages
Initial value:
1 {'u': u_admin_cm,
2  'as_cmadmin': True,
3  'fname': 'storage.admin_cm.list',
4  'args': [],
5  'store_as': 'storages',
6  'predefined_action': True}

Definition at line 73 of file actions.py.

dictionary predefined.actions.list_templates
Initial value:
1 {'u': u_new,
2  'fname': 'template.user.list',
3  'args': [],
4  'store_as': 'templates',
5  'predefined_action': True}

Definition at line 39 of file actions.py.

dictionary predefined.actions.list_user_networks
Initial value:
1 {'u': u_new,
2  'fname': 'network.user.list_user_networks',
3  'args': [],
4  'store_as': 'user_networks',
5  'predefined_action': True}

Definition at line 66 of file actions.py.

dictionary predefined.actions.list_user_public_ip
Initial value:
1 {'u': u_new,
2  'fname': 'elasticip.user.list',
3  'args': [],
4  'store_as': 'user_public_ip',
5  'predefined_action': True}

Definition at line 52 of file actions.py.

dictionary predefined.actions.list_user_vms
Initial value:
1 {'u': u_new,
2  'fname': 'vm.user.list',
3  'args': [],
4  'store_as': 'user_vms',
5  'predefined_action': True}

Definition at line 150 of file actions.py.

dictionary predefined.actions.list_users
Initial value:
1 {'u': u_admin,
2  'fname': 'user.admin_clm.list',
3  'args': [],
4  'store_as': 'clm_user_list',
5  'predefined_action': True}

Definition at line 32 of file actions.py.

dictionary predefined.actions.list_video_devices
Initial value:
1 {'u': u_new,
2  'fname': 'image.user.get_video_devices',
3  'args': [],
4  'store_as': 'video_devices',
5  'predefined_action': True}

Definition at line 133 of file actions.py.