airgun.views.hostcollection

Module Contents

class airgun.views.hostcollection.HostCollectionsView

Bases: airgun.views.common.BaseLoggedInView, airgun.views.common.SearchableViewMixin

title
new
table
is_displayed
class airgun.views.hostcollection.HostCollectionCreateView

Bases: airgun.views.common.BaseLoggedInView

breadcrumb
name
unlimited_hosts
max_hosts
description
submit
is_displayed
class airgun.views.hostcollection.HostCollectionEditView

Bases: airgun.views.common.BaseLoggedInView

class details

Bases: airgun.views.common.SatTab

name
description
content_hosts
content_host_limit
manage_packages
install_errata
manage_module_streams
change_assigned_content
class hosts

Bases: airgun.views.common.SatTab

TAB_NAME = Hosts
resources
breadcrumb
actions
dialog
is_displayed
class airgun.views.hostcollection.HostCollectionPackageContentRadioGroup

Bases: airgun.widgets.RadioGroup

Handle an HTML non normalized Radio group according to the current architecture.

Note: This is a temporary solution, a fix will be issued upstream,
when the fix will be available downstream we should replace the implementation with RadioGroup.

Example html representation:

<div>
    <input type="radio" id="package" ...>
    <label>Package</label>
    <input type="radio" id="package_group" ...>
    <label>Package Group</label>
buttons_name_id_map
selected

Return the name of the button that is currently selected.

get_input_by_name(self, name)
select(self, name)

Select specific radio button in the group

class airgun.views.hostcollection.HostCollectionManagePackagesView

Bases: airgun.views.common.BaseLoggedInView

class dialog

Bases: airgun.widgets.ConfirmationDialog

ROOT = .//div[@class='inline-confirmation']
confirm_dialog
cancel_dialog
title
update_all
content_type
packages
install
update
remove
done
is_displayed

The view is displayed when it’s title exists

get_action_button(self, name)

Return an action button by it’s name

apply_action(self, name, action_via='via Katello Agent')

Apply an action by name using action via if indicated

class airgun.views.hostcollection.HostCollectionInstallErrataView

Bases: airgun.views.common.BaseLoggedInView, airgun.views.common.SearchableViewMixin

title
search
refresh
install
table
dialog
is_displayed

The view is displayed when it’s title exists

class airgun.views.hostcollection.HostCollectionManageModuleStreamsView

Bases: airgun.views.common.BaseLoggedInView, airgun.views.common.SearchableViewMixin

title
table
is_displayed

The view is displayed when it’s title exists

class airgun.views.hostcollection.HostCollectionChangeAssignedContentView

Bases: airgun.views.common.BaseLoggedInView

class dialog

Bases: airgun.widgets.ConfirmationDialog

ROOT = .//div[@ng-show='showConfirm']
confirm_dialog
cancel_dialog
title
lce
content_view
assign
is_displayed

The view is displayed when it’s title exists

class airgun.views.hostcollection.HostCollectionActionTaskDetailsView

Bases: airgun.views.common.TaskDetailsView

title
breadcrumb
is_displayed

The view is displayed when it’s title exists

class airgun.views.hostcollection.HostCollectionActionRemoteExecutionJobCreate

Bases: airgun.views.job_invocation.JobInvocationCreateView

is_displayed