cfme.services.dashboard.ssui module

class cfme.services.dashboard.ssui.CurrentServices(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ssui.SSUINavigateStep

VIEW

alias of MyServicesView

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(*args, **kwargs)[source]
class cfme.services.dashboard.ssui.DashboardAll(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ssui.SSUINavigateStep

VIEW

alias of DashboardView

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.

step(*args, **kwargs)[source]
class cfme.services.dashboard.ssui.DashboardView(parent, logger=None, **kwargs)[source]

Bases: cfme.base.ssui.SSUIBaseLoggedInPage

aggregate_card

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.

dashboard_card

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.

in_dashboard()[source]
is_displayed
title

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.

class cfme.services.dashboard.ssui.MyServiceForm(parent, logger=None, **kwargs)[source]

Bases: cfme.base.ssui.SSUIBaseLoggedInPage

service

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.

class cfme.services.dashboard.ssui.MyServicesView(parent, logger=None, **kwargs)[source]

Bases: cfme.services.dashboard.ssui.MyServiceForm

in_myservices()[source]
is_displayed
paginator

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.

title

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.

class cfme.services.dashboard.ssui.RetiredServices(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ssui.SSUINavigateStep

VIEW

alias of MyServicesView

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(*args, **kwargs)[source]
class cfme.services.dashboard.ssui.RetiringSoon(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ssui.SSUINavigateStep

VIEW

alias of MyServicesView

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(*args, **kwargs)[source]
class cfme.services.dashboard.ssui.TotalServices(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ssui.SSUINavigateStep

VIEW

alias of MyServicesView

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(*args, **kwargs)[source]
cfme.services.dashboard.ssui.approved_requests(self)[source]

Approved Request cannot be clicked so this method just returns the total number of requests displayed on dashboard.

cfme.services.dashboard.ssui.current_services(self)[source]

Returns the count of active services displayed on dashboard

cfme.services.dashboard.ssui.denied_requests(self)[source]

Denied Request cannot be clicked so this method just returns the total number of requests displayed on dashboard.

cfme.services.dashboard.ssui.monthly_charges(self)[source]

Returns the chargeback data displayed on dashboard

cfme.services.dashboard.ssui.num_of_rows(self)[source]

Returns the number of rows/services displayed

cfme.services.dashboard.ssui.pending_requests(self)[source]

Pending Request cannot be clicked so this method just returns the total number of requests displayed on dashboard.

cfme.services.dashboard.ssui.retired_services(self)[source]

Returns the count of retired services displayed on dashboard

cfme.services.dashboard.ssui.retiring_soon(self)[source]

Returns the count of retiring soon services displayed on dashboard

cfme.services.dashboard.ssui.total_requests(self)[source]

Total Request cannot be clicked so this method just returns the total number of requests displayed on dashboard.

cfme.services.dashboard.ssui.total_services(self)[source]

Returns the total services(Integer) displayed on dashboard