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.EC2InstanceUtilizationView(*args, **kwargs)[source]

Bases: cfme.common.candu_views.VMUtilizationView

A VM Utilization view for AWS providers

vm_cpu

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.

vm_disk

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.

vm_network

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(parent, endpoints=NOTHING, name=None, key=None, zone=None, region=None, region_name=None)[source]

Bases: cfme.cloud.provider.CloudProvider

BaseProvider->CloudProvider->EC2Provider 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 AmazonCatalogItem

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

log_name = 'aws'
mgmt_class

alias of EC2System

settings_key = 'ems_amazon'
type_name = 'ec2'
view_value_mapping

Maps values to view attrs

vm_class

alias of EC2Instance

vm_utilization_view

alias of EC2InstanceUtilizationView