airgun.entities.provisioning_template

Module Contents

Classes

ProvisioningTemplateEntity

ShowAllProvisioningTemplates

Navigate to all Provisioning Templates screen.

AddNewProvisioningTemplate

Navigate to Create new Provisioning Template screen.

EditProvisioningTemplate

Navigate to Edit Provisioning Template screen.

CloneProvisioningTemplate

Navigate to Create Provisioning Template screen for cloned entity

class airgun.entities.provisioning_template.ProvisioningTemplateEntity(browser)
endpoint_path = /templates/provisioning_templates
create(values)

Create new provisioning template

search(value)

Search for existing provisioning template

read(entity_name, widget_names=None)

Read provisioning template values

clone(entity_name, values)

Clone existing provisioning template

lock(entity_name)

Lock provisioning template for editing

unlock(entity_name)

Unlock provisioning template for editing

is_locked(entity_name)

Check if provisioning template is locked for editing

update(entity_name, values)

Update provisioning template

delete(entity_name)

Delete provisioning template

class airgun.entities.provisioning_template.ShowAllProvisioningTemplates(obj, navigate_obj, logger=None)

Navigate to all Provisioning Templates screen.

VIEW
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.provisioning_template.AddNewProvisioningTemplate(obj, navigate_obj, logger=None)

Navigate to Create new Provisioning Template screen.

VIEW
prerequisite
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.provisioning_template.EditProvisioningTemplate(obj, navigate_obj, logger=None)

Navigate to Edit Provisioning Template screen.

Parameters

entity_name – name of provisioning template to edit

VIEW
prerequisite(*args, **kwargs)

Describes a step that must be carried our prior to this one.

This often calls a previous navigate_to, often using one of the helpers, NavigateToSibling which will navigate to a given destination using the same object, or NavigateToAttribute which will navigate to a destination against an object describe by the attribute of the parent object.

This is a default and is generally overridden.

step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.provisioning_template.CloneProvisioningTemplate(obj, navigate_obj, logger=None)

Navigate to Create Provisioning Template screen for cloned entity

Parameters

entity_name – name of provisioning template to clone

VIEW
prerequisite(*args, **kwargs)

Describes a step that must be carried our prior to this one.

This often calls a previous navigate_to, often using one of the helpers, NavigateToSibling which will navigate to a given destination using the same object, or NavigateToAttribute which will navigate to a destination against an object describe by the attribute of the parent object.

This is a default and is generally overridden.

step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.