airgun.entities.errata

Module Contents

class airgun.entities.errata.ErrataEntity

Bases: airgun.entities.base.BaseEntity

endpoint_path = /errata
search(self, value, applicable=True, installable=False, repo=None)

Search for specific errata.

Parameters:
  • value (str) – search query to type into search field.
  • applicable (bool) – filter by only applicable errata
  • installable (bool) – filter by only installable errata
  • optional repo (str) – filter by repository name
Returns:

list of dicts representing table rows

Return type:

list

read(self, entity_name, applicable=False, installable=False, repo=None, environment=None, widget_names=None)

Read errata details.

Parameters:
  • entity_name (str) – errata id or title
  • applicable (bool) – filter by only applicable errata
  • installable (bool) – filter by only installable errata
  • optional repo (str) – filter by repository name
  • optional environment (str) – filter applicable hosts by environment name
Returns:

dict representing tabs, with nested dicts representing fields and values

Return type:

dict

install(self, entity_name, host_name)

Install errata on content host.

Parameters:
  • entity_name (str) – errata id or title
  • host_name (str) – content host name to apply errata on
search_content_hosts(self, entity_name, value, environment=None)

Search errata applicability for content hosts.

Parameters:
  • entity_name (str) – errata id or title
  • value (str) – search query to type into search field.
  • optional environment (str) – filter applicable hosts by environment name
class airgun.entities.errata.ShowAllErratum

Bases: airgun.navigation.NavigateStep

Navigate to All Erratum screen.

VIEW
step(self, *args, **kwargs)
class airgun.entities.errata.ErrataDetails

Bases: airgun.navigation.NavigateStep

Navigate to Errata details page.

Args:
entity_name: id or title of errata
Optional Args:
applicable: whether to filter errata by only applicable ones installable: whether to filter errata by only installable ones repo: name of repository to filter errata by
VIEW
prerequisite(self, *args, **kwargs)
step(self, *args, **kwargs)