airgun.views.virtwho_configure

Module Contents

class airgun.views.virtwho_configure.VirtwhoConfigureStatus

Bases: widgetastic.widget.GenericLocatorWidget

The status for virtwho configure can be: ok, info, warning.

ok: The virt-who report has not arrived within the interval,
which indicates there was no change on hypervisor
info: The configuration was not deployed yet or the virt-who was
unable to report the status

warning: The configuration is invalid and not available.

STATUS_ICON = .//span[contains(@class, 'virt-who-config-report-status')]
status

The attributes for the element is such as: virt-who-config-report-status pficon-ok status-ok virt-who-config-report-status pficon-info status-info

read(self)

Returns current status

fill(self, value)
class airgun.views.virtwho_configure.VirtwhoConfigureScript

Bases: widgetastic.widget.Widget

Return the virtwho configure script by innerHTML. It will preserve the line break and whitespace.

SCRIPT_PRE = .//pre[@id='config_script']
content
read(self)

Returns the script content

fill(self, value)
class airgun.views.virtwho_configure.VirtwhoConfiguresDebug

Bases: widgetastic.widget.Widget

Return the virtwho configure debug status.

DEBUG = .//span[contains(@class,'config-debug')]
STATUS = .//span[contains(@class,'fa-check')]
status
read(self)

Returns the debug status

fill(self, value)
class airgun.views.virtwho_configure.VirtwhoConfiguresView

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

title
new
table
is_displayed
class airgun.views.virtwho_configure.VirtwhoConfigureCreateView

Bases: airgun.views.common.BaseLoggedInView

class HypervisorForm

Bases: widgetastic.widget.View

server
username
password
class LibvirtForm

Bases: widgetastic.widget.View

server
username
class KubevirtForm

Bases: widgetastic.widget.View

server
kubeconfig
class FilterUnlimitedForm

Bases: widgetastic.widget.View

class FilterWhitelistForm

Bases: widgetastic.widget.View

filter_hosts
filter_host_parents
class FilterBlacklistForm

Bases: widgetastic.widget.View

exclude_hosts
exclude_host_parents
breadcrumb
name
interval
satellite_url
hypervisor_id
debug
proxy
no_proxy
filtering
filtering_content
hypervisor_type
hypervisor_content
submit
is_displayed
class airgun.views.virtwho_configure.VirtwhoConfigureEditView

Bases: airgun.views.virtwho_configure.VirtwhoConfigureCreateView

is_displayed
class airgun.views.virtwho_configure.VirtwhoConfigureDetailsView

Bases: airgun.views.common.BaseLoggedInView

class overview

Bases: airgun.views.common.SatTab

status
debug
hypervisor_type
hypervisor_server
hypervisor_username
interval
satellite_url
hypervisor_id
filtering
filter_hosts
filter_host_parents
exclude_hosts
exclude_host_parents
proxy
no_proxy
kubeconfig_path
__label_template = //span[contains(@class, '{class_name}')]/../preceding-sibling::div/strong
status_label
debug_label
hypervisor_type_label
hypervisor_server_label
hypervisor_username_label
interval_label
satellite_url_label
hypervisor_id_label
filtering_label
filter_hosts_label
filter_host_parents_label
exclude_hosts_label
exclude_host_parents_label
proxy_label
no_proxy_label
kubeconfig_path_label
class deploy

Bases: airgun.views.common.SatTab

command
script
download
breadcrumb
edit
delete
is_displayed