airgun.entities.host_new
¶
Module Contents¶
Classes¶
Navigate to Host Details page by clicking on necessary host name in the table |
- class airgun.entities.host_new.NewHostEntity(browser)¶
- create(values)¶
Create new host entity
- get_details(entity_name, widget_names=None)¶
Read host values from Host Details page, optionally only the widgets in widget_names will be read.
- schedule_job(entity_name, values)¶
Schedule a remote execution on selected host
- get_packages(entity_name, search='')¶
Filter installed packages on host
- install_package(entity_name, package)¶
Installs package on host using the installation modal
- apply_package_action(entity_name, package_name, action)¶
Apply action to selected package based on the package_name
- get_errata_by_type(entity_name, type)¶
List errata based on type and return table
- apply_erratas(entity_name, search)¶
Apply errata on selected host based on errata_id
- get_module_streams(entity_name, search)¶
Filter module streams
- apply_module_streams_action(entity_name, module_stream, action)¶
Apply action to selected Module stream based on the module_stream
- class airgun.entities.host_new.ShowNewHostDetails(obj, navigate_obj, logger=None)¶
Navigate to Host Details page by clicking on necessary host name in the table
- Parameters
entity_name – name of the host
- 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.