cfme.middleware.deployment module

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

Bases: utils.appliance.implementations.ui.CFMENavigateStep

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.deployment.Details(obj, navigate_obj)[source]

Bases: utils.appliance.implementations.ui.CFMENavigateStep

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.deployment.MiddlewareDeployment(name, server, provider=None, appliance=None, **kwargs)[source]

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

MiddlewareDeployment class provides details on deployment page. Class methods available to get existing deployments list

Parameters:
  • name – Name of the deployment
  • provider – Provider object (HawkularProvider)
  • server – Server object of the deployment (MiddlewareServer)
  • nativeid – Native id (internal id) of deployment
  • db_id – database row id of deployment

Usage:

mydeployment = MiddlewareDeployment(name='Foo.war',
                        server=ser_instance,
                        provider=haw_provider)

deployments = MiddlewareDeployment.deployments() [or]
deployments = MiddlewareDeployment.deployments(provider=haw_provider) [or]
deployments = MiddlewareDeployment.deployments(provider=haw_provider,server=ser_instance)
deployment(*args, **kwargs)
deployment_in_db = None
deployment_in_mgmt = None
deployment_in_rest = None
classmethod deployments(provider=None, server=None)[source]
classmethod deployments_in_db(server=None, provider=None, strict=True)[source]
classmethod deployments_in_mgmt(provider=None, server=None)[source]
classmethod download(extension, provider=None, server=None)[source]
load_details(refresh=False)[source]
property_tuples = [('name', 'Name'), ('status', 'Status')]
taggable_type = 'MiddlewareDeployment'