airgun.views.puppet_environment

Module Contents

Classes

PuppetEnvironmentTableView

Basic view after clicking Configure -> Environments.

PuppetEnvironmentImportView

View after clicking Configure -> Environments -> import environments with

PuppetEnvironmentCreateView

Details view of the page with boxes that have to be filled in to

class airgun.views.puppet_environment.PuppetEnvironmentTableView(parent, logger=None, **kwargs)

Basic view after clicking Configure -> Environments. In basic view, there can be seen title Puppet Environments, button Create Puppet Environment (new), button import environments and table with existing Puppet Environments

title
new
import_environments
table
property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool

class airgun.views.puppet_environment.PuppetEnvironmentImportView(parent, logger=None, **kwargs)

View after clicking Configure -> Environments -> import environments with toggles New, Updated, Obsolete. Button update and cancel

breadcrumb
new
updated
obsolete
update
cancel
table
property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool

class airgun.views.puppet_environment.PuppetEnvironmentCreateView(parent, logger=None, **kwargs)

Details view of the page with boxes that have to be filled in to create a new puppet environment

class environment(parent, logger=None, **kwargs)

Regular primary level Tab.

Usage:

@View.nested
class mytab(SatTab):
    TAB_NAME = 'My Tab'
@View.nested
class subscriptions(SatTab):
    # no need to specify 'TAB_NAME', it will be set to 'Subscriptions'
    # automatically
    pass

Note that TAB_NAME is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’

name
class locations(parent, logger=None, **kwargs)

Regular primary level Tab.

Usage:

@View.nested
class mytab(SatTab):
    TAB_NAME = 'My Tab'
@View.nested
class subscriptions(SatTab):
    # no need to specify 'TAB_NAME', it will be set to 'Subscriptions'
    # automatically
    pass

Note that TAB_NAME is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’

resources
class organizations(parent, logger=None, **kwargs)

Regular primary level Tab.

Usage:

@View.nested
class mytab(SatTab):
    TAB_NAME = 'My Tab'
@View.nested
class subscriptions(SatTab):
    # no need to specify 'TAB_NAME', it will be set to 'Subscriptions'
    # automatically
    pass

Note that TAB_NAME is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’

resources
breadcrumb
submit
property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool