cfme.automate.import_export module

class cfme.automate.import_export.AutomateGitRepository(url=None, username=None, password=None, verify_ssl=None, appliance=None)[source]

Bases: cfme.utils.appliance.Navigatable

Represents an Automate git repository. This entity is not represented in UI as it is, but only in database. But by representing it it makes the code changes for domain much simpler.

fill_values_branch_select(branch, tag)[source]

Processes the args into a dictionary to be filled in the selection dialog.

fill_values_repo_add
classmethod from_db(db_id, appliance=None)[source]
import_domain_from(branch=None, tag=None)[source]

Import the domain from git using the Import/Export UI.

Parameters:
  • branch – If you import from a branch, specify the origin/branchname
  • tag – If you import from a tag, specify its name.
Returns:

Instance of cfme.automate.explorer.domain.Domain

Important! branch and tag are mutually exclusive.

class cfme.automate.import_export.GitImportSelectorView(*args, **kwargs)[source]

Bases: cfme.base.ui.AutomateImportExportBaseView

branch

This class handles instantiating and caching of the widgets on view.

It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.

It also acts as a counter, so you can then order the widgets by their “creation” stamp.

cancel

This class handles instantiating and caching of the widgets on view.

It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.

It also acts as a counter, so you can then order the widgets by their “creation” stamp.

is_displayed
submit

This class handles instantiating and caching of the widgets on view.

It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.

It also acts as a counter, so you can then order the widgets by their “creation” stamp.

tag

This class handles instantiating and caching of the widgets on view.

It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.

It also acts as a counter, so you can then order the widgets by their “creation” stamp.

type

This class handles instantiating and caching of the widgets on view.

It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.

It also acts as a counter, so you can then order the widgets by their “creation” stamp.