airgun.entities.subnet

Module Contents

Classes

SubnetEntity

ShowAllSubnets

Navigate to All Subnets screen.

AddNewSubnet

Navigate to Create new Subnet screen.

EditSubnet

Navigate to Edit Subnet screen.

class airgun.entities.subnet.SubnetEntity(browser)
endpoint_path = /subnets
create(values)

Create new subnet

search(value)

Search for specific subnet

read(entity_name, widget_names=None)

Read values for existing subnet

update(entity_name, values)

Update subnet values

delete(entity_name)

Delete subnet

class airgun.entities.subnet.ShowAllSubnets(obj, navigate_obj, logger=None)

Navigate to All Subnets 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.subnet.AddNewSubnet(obj, navigate_obj, logger=None)

Navigate to Create new Subnet 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.subnet.EditSubnet(obj, navigate_obj, logger=None)

Navigate to Edit Subnet screen.

Parameters

entity_name – name of subnet

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.