cfme.intelligence.reports.dashboards module¶
Page model for Cloud Intel / Reports / Dashboards
-
class
cfme.intelligence.reports.dashboards.
Dashboard
(name, group, title=None, locked=None, widgets=None, appliance=None)[source]¶ Bases:
utils.update.Updateable
,utils.pretty.Pretty
,utils.appliance.Navigatable
-
delete
(cancel=False)[source]¶ Delete this Dashboard in the UI.
Parameters: cancel – Whether to cancel the deletion (default False).
-
group
¶
-
pretty_attrs
= ['name', 'group', 'title', 'widgets']¶
-
-
class
cfme.intelligence.reports.dashboards.
DashboardAllGroupsView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.intelligence.reports.CloudIntelReportsView
-
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.intelligence.reports.dashboards.
DashboardDetails
(obj, navigate_obj)[source]¶ Bases:
utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
DashboardDetailsView
-
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.
-
-
class
cfme.intelligence.reports.dashboards.
DashboardDetailsView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.intelligence.reports.CloudIntelReportsView
-
ITEM_TITLE_LOCATOR
= ".//h3[contains(@class, 'panel-title')]"¶
-
SAMPLE_DASHBOARD_ROOT
= ".//div[@id='modules']"¶
-
is_displayed
¶
-
name
¶ 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.
-
selected_items
¶
-
tab_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.
-
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.intelligence.reports.dashboards.
DashboardEdit
(obj, navigate_obj)[source]¶ Bases:
utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
EditDashboardView
-
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.
-
-
class
cfme.intelligence.reports.dashboards.
DashboardFormCommon
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.intelligence.reports.CloudIntelReportsView
-
basic_information
¶ 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.
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.
-
locked
¶ 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.
-
name
¶ 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.
-
sample_dashboard
¶ 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.
-
tab_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.
-
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.
-
widgets
¶ 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.intelligence.reports.dashboards.
DashboardNew
(obj, navigate_obj)[source]¶ Bases:
utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
NewDashboardView
-
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.
-
-
class
cfme.intelligence.reports.dashboards.
DefaultDashboard
(title='Default Dashboard', locked=None, widgets=None, appliance=None)[source]¶ Bases:
utils.update.Updateable
,utils.pretty.Pretty
,utils.appliance.Navigatable
-
name
¶ Name of Default Dashboard cannot be changed.
-
pretty_attrs
= ['name', 'title', 'widgets']¶
-
-
class
cfme.intelligence.reports.dashboards.
DefaultDashboardDetails
(obj, navigate_obj)[source]¶ Bases:
utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
DefaultDashboardDetailsView
-
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.
-
-
class
cfme.intelligence.reports.dashboards.
DefaultDashboardDetailsView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.intelligence.reports.dashboards.DashboardDetailsView
-
is_displayed
¶
-
-
class
cfme.intelligence.reports.dashboards.
DefaultDashboardEdit
(obj, navigate_obj)[source]¶ Bases:
utils.appliance.implementations.ui.CFMENavigateStep
-
VIEW
¶ alias of
EditDefaultDashboardView
-
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.
-
-
class
cfme.intelligence.reports.dashboards.
EditDashboardView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.intelligence.reports.dashboards.DashboardFormCommon
-
is_displayed
¶
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.
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.intelligence.reports.dashboards.
EditDefaultDashboardView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.intelligence.reports.dashboards.EditDashboardView
-
is_displayed
¶
-
-
class
cfme.intelligence.reports.dashboards.
NewDashboardView
(parent, logger=None, **kwargs)[source]¶ Bases:
cfme.intelligence.reports.dashboards.DashboardFormCommon
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
¶