airgun.entities.sync_status

Module Contents

class airgun.entities.sync_status.SyncStatusEntity

Bases: airgun.entities.base.BaseEntity

endpoint_path = /katello/sync_management
read(self, widget_names=None)

Read all widgets at Sync status entity

synchronize(self, repository_paths, timeout=3600)

Synchronize repositories

Parameters:
  • repository_paths (list) – A list of repositories to synchronize where each element of the list is path to repository represented by a list or tuple.
  • timeout – time to wait for all repositories to be synchronized.

Example usage:

synchronize([
   ('product1', 'repo1'),
   ('product1', 'repo2'),
   ('product2', 'repo2'),
   ('Red Hat Enterprise Linux Server', '7.5', 'x86_64',
    'Red Hat Enterprise Linux 7 Server RPMs x86_64 7.5'),
   ('Red Hat Satellite Capsule',
   'Red Hat Satellite Capsule 6.2 for RHEL 7 Server RPMs x86_64')
])
Returns:the results text in RESULT columns
class airgun.entities.sync_status.ShowAllHostCollections

Bases: airgun.navigation.NavigateStep

VIEW
step(self, *args, **kwargs)