cfme.common.provider_views module¶
-
class
cfme.common.provider_views.BeforeFillMixin[source]¶ Bases:
objectthis mixin is used to activate appropriate tab before filling this tab
-
class
cfme.common.provider_views.CloudProviderAddView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderAddViewrepresents Cloud Provider Add View
-
api_version¶ 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.
-
infra_provider¶ 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¶
-
keystone_v3_domain_id¶ 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.
-
project_id¶ 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.
-
prov_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.
-
region¶ 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.
-
subscription¶ 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.
-
tenant_id¶ 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.
-
tenant_mapping¶ 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.common.provider_views.CloudProviderDetailsView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderDetailsViewCloud Details page
-
is_displayed¶
-
-
class
cfme.common.provider_views.CloudProviderEditView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderEditViewrepresents Cloud Provider Edit View
-
is_displayed¶
-
-
class
cfme.common.provider_views.CloudProvidersDiscoverView(*args, **kwargs)[source]¶ Bases:
cfme.base.login.BaseLoggedInPageDiscover View from Infrastructure Providers page
-
Amazon= None¶
-
Azure= None¶
-
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.
-
discover_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.
-
fields¶ Conditional switchable view implementation.
This widget proxy is useful when you have a form whose parts displayed depend on certain conditions. Eg. when you select certain value from a dropdown, one form is displayed next, when other value is selected, a different form is displayed next. This widget proxy is designed to register those multiple views and then upon accessing decide which view to use based on the registration conditions.
The resulting widget proxy acts similarly like a nested view (if you use view of course).
Example
class SomeForm(View): foo = Input('...') action_type = Select(name='action_type') action_form = ConditionalSwitchableView(reference='action_type') # Simple value matching. If Action type 1 is selected in the select, use this view. # And if the action_type value does not get matched, use this view as default @action_form.register('Action type 1', default=True) class ActionType1Form(View): widget = Widget() # You can use a callable to declare the widget values to compare @action_form.register(lambda action_type: action_type == 'Action type 2') class ActionType2Form(View): widget = Widget() # With callable, you can use values from multiple widgets @action_form.register( lambda action_type, foo: action_type == 'Action type 2' and foo == 2) class ActionType2Form(View): widget = Widget()
You can see it gives you the flexibility of decision based on the values in the view.
Parameters: - reference – For using non-callable conditions, this must be specified. Specifies the name of
the widget whose value will be used for comparing non-callable conditions. Supports
going across objects using
.. - ignore_bad_reference – If this is enabled, then when the widget representing the reference is not displayed or otherwise broken, it will then use the default view.
- reference – For using non-callable conditions, this must be specified. Specifies the name of
the widget whose value will be used for comparing non-callable conditions. Supports
going across objects using
-
is_displayed¶
-
start¶ 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.common.provider_views.CloudProvidersView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProvidersViewrepresents Main view displaying all Cloud providers
-
entities¶
-
is_displayed¶
-
-
class
cfme.common.provider_views.ContainerProviderAddView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderAddViewrepresents Container Provider Add View
-
is_displayed¶
-
prov_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.
-
-
class
cfme.common.provider_views.ContainerProviderAddViewUpdated(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ContainerProviderAddView,cfme.common.provider_views.ContainerProviderSettingViewAdditional widgets for builds 5.9 and up
-
COND_WIDGETS= ['prov_type', 'metrics_type', 'alerts_type', 'virt_type']¶
-
alerts_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.
-
entities¶
-
metrics_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.
-
virt_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.
-
-
class
cfme.common.provider_views.ContainerProviderEditView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderEditViewrepresents Container Provider Edit View
-
is_displayed¶
-
-
class
cfme.common.provider_views.ContainerProviderEditViewUpdated(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ContainerProviderEditView,cfme.common.provider_views.ContainerProviderSettingViewAdditional widgets for builds 5.9 and up
-
COND_WIDGETS= ['prov_type', 'metrics_type', 'alerts_type']¶
-
alerts_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.
-
entities¶
-
metrics_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.
-
virt_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.
-
-
class
cfme.common.provider_views.ContainerProviderSettingView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProvidersViewSettings view for builds 5.9 and up
-
advanced¶ 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.
-
entities¶
-
proxy¶ 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.common.provider_views.ContainerProvidersView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProvidersViewrepresents Main view displaying all Containers providers
-
SUMMARY_TEXT= 'Containers Providers'¶
-
entities¶
-
is_displayed¶
-
paginator¶
-
summary_text¶
-
table¶
-
-
class
cfme.common.provider_views.InfraProviderAddView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderAddView-
api_version¶ 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¶
-
keystone_v3_domain_id¶ 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.common.provider_views.InfraProviderDetailsView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderDetailsViewInfra Details page
-
is_displayed¶
-
-
class
cfme.common.provider_views.InfraProviderEditView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderEditViewrepresents Infra Provider Edit View
-
is_displayed¶
-
-
class
cfme.common.provider_views.InfraProvidersDiscoverView(*args, **kwargs)[source]¶ Bases:
cfme.base.login.BaseLoggedInPageDiscover View from Infrastructure Providers page
-
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.
-
from_ip1¶ 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.
-
from_ip2¶ 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.
-
from_ip3¶ 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.
-
from_ip4¶ 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¶
-
osp_infra¶ 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.
-
rhevm¶ 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.
-
scvmm¶ 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.
-
start¶ 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.
-
to_ip4¶ 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.
-
vmware¶ 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.common.provider_views.InfraProvidersView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProvidersViewrepresents Main view displaying all Infra providers
-
entities¶
-
is_displayed¶
-
-
class
cfme.common.provider_views.JSProviderEntity(*args, **kwargs)[source]¶ Bases:
widgetastic_manageiq.JSBaseEntity-
data¶
-
-
class
cfme.common.provider_views.NetworkProvidersView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProvidersViewrepresents Main view displaying all Network providers
-
entities¶
-
is_displayed¶
-
-
class
cfme.common.provider_views.NodesToolBar(*args, **kwargs)[source]¶ Bases:
widgetastic.widget.Viewrepresents nodes toolbar and its controls (exists for Infra OpenStack provider)
-
configuration¶ 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.
-
download¶ 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.
-
policy¶ 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.
-
power¶ 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.
-
view_selector¶ 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.common.provider_views.NonJSProviderEntity(*args, **kwargs)[source]¶ Bases:
widgetastic_manageiq.NonJSBaseEntityProvider child of Proxy entity
-
list_entity¶ 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.
-
quad_entity¶ 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.
-
tile_entity¶ 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.common.provider_views.PhysicalProviderAddView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderAddViewrepresents Provider Add View
-
is_displayed¶
-
-
class
cfme.common.provider_views.PhysicalProviderDetailsView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderDetailsViewPhysical Details page
-
is_displayed¶
-
-
class
cfme.common.provider_views.PhysicalProviderEditView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderEditViewrepresents Provider Edit View
-
is_displayed¶
-
-
class
cfme.common.provider_views.PhysicalProvidersView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProvidersViewrepresents Main view displaying all Infra providers
-
entities¶
-
is_displayed¶
-
-
class
cfme.common.provider_views.ProviderAddView(*args, **kwargs)[source]¶ Bases:
cfme.base.login.BaseLoggedInPagerepresents Provider Add View
-
add¶ 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.
-
endpoints¶ 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¶
-
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.
-
prov_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.
-
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.
-
zone¶ 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.common.provider_views.ProviderDetailsToolBar(*args, **kwargs)[source]¶ Bases:
widgetastic.widget.Viewrepresents provider toolbar and its controls
-
authentication¶ 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.
-
configuration¶ 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.
-
download¶ 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.
-
monitoring¶ 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.
-
policy¶ 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.
-
reload¶ 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.
-
view_selector¶ 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.common.provider_views.ProviderDetailsView(*args, **kwargs)[source]¶ Bases:
cfme.base.login.BaseLoggedInPagemain Details page
-
ProviderDetailsDashboardView= None¶
-
ProviderDetailsSummaryView= None¶
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.
-
entities¶ Conditional switchable view implementation.
This widget proxy is useful when you have a form whose parts displayed depend on certain conditions. Eg. when you select certain value from a dropdown, one form is displayed next, when other value is selected, a different form is displayed next. This widget proxy is designed to register those multiple views and then upon accessing decide which view to use based on the registration conditions.
The resulting widget proxy acts similarly like a nested view (if you use view of course).
Example
class SomeForm(View): foo = Input('...') action_type = Select(name='action_type') action_form = ConditionalSwitchableView(reference='action_type') # Simple value matching. If Action type 1 is selected in the select, use this view. # And if the action_type value does not get matched, use this view as default @action_form.register('Action type 1', default=True) class ActionType1Form(View): widget = Widget() # You can use a callable to declare the widget values to compare @action_form.register(lambda action_type: action_type == 'Action type 2') class ActionType2Form(View): widget = Widget() # With callable, you can use values from multiple widgets @action_form.register( lambda action_type, foo: action_type == 'Action type 2' and foo == 2) class ActionType2Form(View): widget = Widget()
You can see it gives you the flexibility of decision based on the values in the view.
Parameters: - reference – For using non-callable conditions, this must be specified. Specifies the name of
the widget whose value will be used for comparing non-callable conditions. Supports
going across objects using
.. - ignore_bad_reference – If this is enabled, then when the widget representing the reference is not displayed or otherwise broken, it will then use the default view.
- reference – For using non-callable conditions, this must be specified. Specifies the name of
the widget whose value will be used for comparing non-callable conditions. Supports
going across objects using
-
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.
-
toolbar¶ 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.common.provider_views.ProviderEditView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderAddViewrepresents Provider Edit View
-
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¶
-
prov_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.
-
reset¶ 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.
-
save¶ 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.
-
vnc_end_port¶ 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.
-
vnc_start_port¶ 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.common.provider_views.ProviderEntitiesView(*args, **kwargs)[source]¶ Bases:
widgetastic_manageiq.BaseEntitiesViewrepresents child class of Entities view for Provider entities
-
entity_class¶
-
-
cfme.common.provider_views.ProviderEntity()[source]¶ Temporary wrapper for Provider Entity during transition to JS based Entity
-
class
cfme.common.provider_views.ProviderNodesView(*args, **kwargs)[source]¶ Bases:
cfme.base.login.BaseLoggedInPagerepresents main Nodes view (exists for Infra OpenStack provider)
-
entities¶
-
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.
-
toolbar¶ 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.common.provider_views.ProviderQuadIconEntity(*args, **kwargs)[source]¶ Bases:
widgetastic_manageiq.BaseQuadIconEntityProvider child of Quad Icon entity
-
data¶
-
-
class
cfme.common.provider_views.ProviderSideBar(*args, **kwargs)[source]¶ Bases:
widgetastic.widget.Viewrepresents left side bar. it usually contains navigation, filters, etc
-
class
cfme.common.provider_views.ProviderTemplatesView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderVmsTemplatesView-
entities¶
-
is_displayed¶
-
-
class
cfme.common.provider_views.ProviderTileIconEntity(*args, **kwargs)[source]¶ Bases:
widgetastic_manageiq.BaseTileIconEntityProvider child of Tile Icon entity
-
quad_icon¶ 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.common.provider_views.ProviderTimelinesView(*args, **kwargs)[source]¶ Bases:
widgetastic_manageiq.TimelinesView,cfme.base.login.BaseLoggedInPagerepresents Timelines page
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¶
-
class
cfme.common.provider_views.ProviderToolBar(*args, **kwargs)[source]¶ Bases:
widgetastic.widget.Viewrepresents provider toolbar and its controls
-
authentication¶ 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.
-
configuration¶ 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.
-
download¶ 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.
-
policy¶ 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.
-
view_selector¶ 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.common.provider_views.ProviderVmsTemplatesView(*args, **kwargs)[source]¶ Bases:
cfme.base.login.BaseLoggedInPagerepresents Templates view (exists for Infra providers)
-
entities¶
-
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.
-
toolbar¶ 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.common.provider_views.ProviderVmsView(*args, **kwargs)[source]¶ Bases:
cfme.common.provider_views.ProviderVmsTemplatesView-
entities¶
-
is_displayed¶
-
-
class
cfme.common.provider_views.ProvidersView(*args, **kwargs)[source]¶ Bases:
cfme.base.login.BaseLoggedInPagerepresents Main view displaying all providers
-
entities¶
-
is_displayed¶
-
paginator¶ A class that implements the version picking functionality.
Basic usage is a descriptor in which you place instances of
VersionPickin a view. Whenever is this instance accessed from an instance, it automatically picks the correct variant based on product_version defined in thewidgetastic.browser.Browser.You can also use this separately using the
pick()method.Example:
class MyView(View): something_version_dependent = VersionPick({ '1.0.0': Foo('bar'), '2.5.0': Bar('baz'), })
This sample will resolve the correct (Foo or Bar) kind of item and returns it.
Parameters: version_dict – Dictionary of version_introduced: item
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.
-
toolbar¶ 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.
-