airgun.views.contenthost¶
Module Contents¶
-
class
airgun.views.contenthost.StatusIcon(parent, locator=None, logger=None)¶ Bases:
widgetastic.widget.GenericLocatorWidgetSmall icon indicating subscription or katello-agent status. Can be colored in either green, yellow or red.
Example html representation:
<span ng-class="table.getHostStatusIcon(host.subscription_global_status)" class="red host-status pficon pficon-error-circle-o status-error"> </span>
Locator example:
//span[contains(@ng-class, 'host.subscription_global_status')] //i[contains(@ng-class, 'host.subscription_global_status')]
-
color¶ Returns string representing icon color: ‘red’, ‘yellow’, ‘green’ or ‘unknown’.
-
read(self)¶ Returns current icon color
-
-
class
airgun.views.contenthost.InstallableUpdatesCellView¶ Bases:
widgetastic.widget.ViewInstallable Updates Table Cell View for content host view Table
-
class
errata¶ Bases:
widgetastic.widget.View-
ROOT= ./a[contains(@ui-sref, 'errata')]¶
-
security¶
-
bug_fix¶
-
enhancement¶
-
-
ROOT= .¶
-
packages¶
-
class
-
class
airgun.views.contenthost.ContentHostsView¶ Bases:
airgun.views.common.BaseLoggedInView,airgun.views.common.SearchableViewMixin-
title¶
-
export¶
-
register¶
-
actions¶
-
dialog¶
-
table¶
-
is_displayed¶
-
-
class
airgun.views.contenthost.ContentHostDetailsView¶ Bases:
airgun.views.common.BaseLoggedInView-
class
details¶ Bases:
airgun.views.common.SatTab-
name¶
-
uuid¶
-
description¶
-
type¶
-
katello_agent¶
-
virtual_guests¶
-
registered_through¶
-
subscription_status¶
-
details¶
-
auto_attach¶
-
service_level¶
-
system_purpose_status¶
-
service_level
-
usage_type¶
-
role¶
-
addons¶
-
os¶
-
architecture¶
-
number_of_cpus¶
-
sockets¶
-
cores_per_socket¶
-
ram¶
-
virtual_guest¶
-
security¶
-
bug_fix¶
-
enhancement¶
-
release_version¶
-
content_view¶
-
lce¶
-
registered¶
-
registered_by¶
-
last_checkin¶
-
-
class
provisioning_details¶ Bases:
airgun.views.common.SatTab-
TAB_NAME= Provisioning Details¶
-
name¶
-
status¶
-
operating_system¶
-
puppet_environment¶
-
last_puppet_report¶
-
model¶
-
host_group¶
-
-
class
subscriptions¶ Bases:
airgun.views.common.SatTab-
SUB_ITEM= Subscriptions¶
-
status¶
-
auto_attach¶
-
run_auto_attach¶
-
service_level¶
-
resources¶
-
-
class
host_collections¶ Bases:
airgun.views.common.SatTab-
TAB_NAME= Host Collections¶
-
resources¶
-
-
class
packages_actions¶ Bases:
airgun.views.common.SatTabWithDropdown-
TAB_NAME= Packages¶
-
SUB_ITEM= Actions¶
-
action_type¶
-
name¶
-
perform¶
-
update_all_packages¶
-
-
class
packages_installed¶ Bases:
airgun.views.common.SatTabWithDropdown,airgun.views.common.SearchableViewMixin-
TAB_NAME= Packages¶
-
SUB_ITEM= Installed¶
-
remove_selected¶
-
table¶
-
-
class
packages_applicable¶ Bases:
airgun.views.common.SatTabWithDropdown,airgun.views.common.SearchableViewMixin-
TAB_NAME= Packages¶
-
SUB_ITEM= Applicable¶
-
upgrade_selected¶
-
update_all_packages¶
-
table¶
-
-
class
errata¶ Bases:
airgun.views.common.SatTab-
lce_filter¶
-
searchbox¶
-
apply_selected¶
-
recalculate¶
-
table¶
-
search(self, query, lce=None)¶ Apply available filters before proceeding with searching and automatically set proper search mask if errata id instead of errata title was passed.
Parameters: Returns: list of dicts representing table rows
Return type:
-
-
class
module_streams¶ Bases:
airgun.views.common.SatTab,airgun.views.common.SearchableViewMixin-
TAB_NAME= Module Streams¶
-
status_filter¶
-
table¶
-
search(self, query, status='All')¶ Searches for Module Streams. Apply available filters before proceeding with searching. By default ‘All’ is passed
Parameters: Returns: list of dicts representing table rows
Return type:
-
-
class
repository_sets¶ Bases:
airgun.views.common.SatTab,airgun.views.common.SearchableViewMixin-
TAB_NAME= Repository Sets¶
-
show_all¶
-
limit_to_lce¶
-
actions¶
-
table¶
-
read(self)¶ Sometimes no checkboxes are checked off by default, selecting “Show All” in such case.
-
-
unregister¶
-
dialog¶
-
is_displayed¶
-
class
-
class
airgun.views.contenthost.ContentHostTaskDetailsView¶ Bases:
airgun.views.common.TaskDetailsView-
is_displayed¶
-