cfme.cloud.provider.gce module¶
-
class
cfme.cloud.provider.gce.
GCEEndpoint
(**kwargs)[source]¶ Bases:
cfme.common.provider.DefaultEndpoint
represents default GCE endpoint (Add/Edit dialogs)
-
credential_class
¶ alias of
ServiceAccountCredential
-
view_value_mapping
¶
-
-
class
cfme.cloud.provider.gce.
GCEEndpointForm
(*args, **kwargs)[source]¶ Bases:
widgetastic.widget.View
represents default GCE endpoint form in UI (Add/Edit dialogs)
-
service_account
¶ 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.
-
validate
¶ 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.cloud.provider.gce.
GCEProvider
(parent, endpoints=NOTHING, name=None, key=None, zone=None, project=None, region=None, region_name=None)[source]¶ Bases:
cfme.cloud.provider.CloudProvider
BaseProvider->CloudProvider->GCEProvider class. represents CFME provider and operations available in UI
-
__ge__
(other)¶ Automatically created by attrs.
-
__gt__
(other)¶ Automatically created by attrs.
-
__le__
(other)¶ Automatically created by attrs.
-
__lt__
(other)¶ Automatically created by attrs.
-
__ne__
(other)¶ Check equality and either forward a NotImplemented or return the result negated.
-
__repr__
()¶ Automatically created by attrs.
-
catalog_item_type
¶ alias of
GoogleCatalogItem
-
db_types
= ['Google::CloudManager']¶
-
endpoints_form
¶ alias of
GCEEndpointForm
-
classmethod
get_credentials
(credential_dict, cred_type=None)[source]¶ Processes a credential dictionary into a credential object.
Parameters: - credential_dict – A credential dictionary.
- cred_type – Type of credential (None, token, ssh, amqp, ...)
Returns: A
cfme.base.credential.ServiceAccountCredential
instance.
-
mgmt_class
¶ alias of
GoogleCloudSystem
-
settings_key
= 'ems_google'¶
-
type_name
= 'gce'¶
-
view_value_mapping
¶
-
vm_class
¶ alias of
GCEInstance
-