cfme.middleware.domain module

class cfme.middleware.domain.All(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ui.CFMENavigateStep

VIEW

alias of DomainAllView

prerequisite

This is a helper descriptor for destinations which are linked to an attribute of the object.

For instance, imagine you have an object that has an attribute(parent) which has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToAttribute as a helper, supplying only the name of the attribute which stores the object to be used in the navigation, and the destination name. This will set prerequisite to be a callable that will navigate to the prerequisite step.

resetter()[source]
step()[source]
class cfme.middleware.domain.Details(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ui.CFMENavigateStep

VIEW

alias of DomainDetailsView

prerequisite

This is a helper descriptor for navigation destinations which are linked to the same class.

For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.

step()[source]
class cfme.middleware.domain.DomainServerGroups(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ui.CFMENavigateStep

VIEW

alias of DomainServerGroupAllView

prerequisite

This is a helper descriptor for navigation destinations which are linked to the same class.

For instance, imagine you have an object that has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToSibling as a helper. This will set prerequisite to be a callable that will navigate to the prerequisite step.

step()[source]
class cfme.middleware.domain.MiddlewareDomain(name, provider=None, appliance=None, **kwargs)[source]

Bases: cfme.middleware.provider.MiddlewareBase, cfme.utils.appliance.Navigatable, cfme.common.Taggable

MiddlewareDomain class provides actions and details on Domain page. Class method available to get existing domains list

Parameters:
  • name – name of the domain
  • provider – Provider object (HawkularProvider)
  • product – Product type of the domain
  • feed – feed of the domain
  • db_id – database row id of domain

Usage:

mydomain = MiddlewareDomain(name='master', provider=haw_provider)

mydomains = MiddlewareDomain.domains()
domain(*args, **kwargs)
domain_in_db = None
domain_in_mgmt = None
domain_in_rest = None
classmethod domains(provider=None, strict=True)[source]
classmethod domains_in_db(name=None, feed=None, provider=None, strict=True)[source]
classmethod domains_in_mgmt(provider=None)[source]
classmethod download(extension, provider=None)[source]
classmethod headers()[source]
is_running(*args, **kwargs)
is_running_in_db = None
is_running_in_mgmt = None
load_details(refresh=False)[source]
property_tuples = [('name', 'Name')]
shutdown_domain()[source]
start_domain()[source]
taggable_type = 'MiddlewareDomain'