cfme.automate.provisioning_dialogs module

class cfme.automate.provisioning_dialogs.DialogTypeSelect(loc)[source]

Bases: utils.pretty.Pretty

pretty_attrs = ['loc']
select[source]
class cfme.automate.provisioning_dialogs.ProvisioningDialog(type, name=None, description=None, content=None)[source]

Bases: utils.update.Updateable, utils.pretty.Pretty

ALLOWED_TYPES = set([('host_provision', 'Host Provision'), ('vm_provision', 'VM Provision'), ('vm_migrate', 'VM Migrate')])
HOST_PROVISION = ('host_provision', 'Host Provision')
VM_MIGRATE = ('vm_migrate', 'VM Migrate')
VM_PROVISION = ('vm_provision', 'VM Provision')
change_type(new_type)[source]

Safely changes type of the dialog. It would normally mess up the navigation

create(cancel=False)[source]
delete(cancel=False)[source]
exists[source]
form = <cfme.web_ui.Form fields=[('name', <cfme.web_ui.Input _names=('name',), _use_id=False>), ('description', <cfme.web_ui.Input _names=('description',), _use_id=False>), ('type', <cfme.automate.provisioning_dialogs.DialogTypeSelect loc=None>), ('content', "//textarea[@id='content_data']")]>
pretty_attrs = ['name', 'description', 'content']
type_nav[source]
update(updates)[source]
cfme.automate.provisioning_dialogs.get_dialog_name(o)[source]