cfme.cloud.provider.ec2 module

class cfme.cloud.provider.ec2.EC2Endpoint(**kwargs)[source]

Bases: cfme.common.provider.DefaultEndpoint

represents default Amazon endpoint (Add/Edit dialogs)

view_value_mapping
class cfme.cloud.provider.ec2.EC2EndpointForm(*args, **kwargs)[source]

Bases: widgetastic.widget.View

represents default Amazon endpoint form in UI (Add/Edit dialogs)

default

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.

smart_state_docker

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.ec2.EC2Provider(name=None, endpoints=None, zone=None, key=None, region=None, region_name=None, appliance=None)[source]

Bases: cfme.cloud.provider.CloudProvider

BaseProvider->CloudProvider->EC2Provider class. represents CFME provider and operations available in UI

db_types = ['Amazon::CloudManager']
static discover_dict(credential)[source]

Returns the discovery credentials dictionary

discover_name = 'Amazon EC2'
endpoints_form

alias of EC2EndpointForm

classmethod from_config(prov_config, prov_key, appliance=None)[source]

Returns the EC” object from configuration

mgmt_class = <Mock name='mock.EC2System' id='140339085439504'>
type_name = 'ec2'
view_value_mapping

Maps values to view attrs