cfme.containers.provider.openshift module

class cfme.containers.provider.openshift.AlertsEndpoint(**kwargs)[source]

Bases: cfme.common.provider.DefaultEndpoint

Represents Alerts Endpoint

name = 'alerts'
view_value_mapping
class cfme.containers.provider.openshift.CustomAttribute(name, value, field_type=None, href=None)[source]

Bases: object

class cfme.containers.provider.openshift.HawkularEndpoint(**kwargs)[source]

Bases: cfme.common.provider.DefaultEndpoint

Represents Hawkular Endpoint

name = 'hawkular'
view_value_mapping
class cfme.containers.provider.openshift.OpenshiftDefaultEndpoint(**kwargs)[source]

Bases: cfme.containers.provider.ContainersProviderDefaultEndpoint

Represents Openshift default endpoint

static get_ca_cert()[source]

Getting OpenShift’s certificate from the master machine. :param No args.:

Returns:certificate’s content.
class cfme.containers.provider.openshift.OpenshiftProvider(name=None, key=None, zone=None, metrics_type=None, alerts_type=None, provider_data=None, endpoints=None, appliance=None, http_proxy=None, adv_http=None, adv_https=None, no_proxy=None, image_repo=None, image_reg=None, image_tag=None, cve_loc=None)[source]

Bases: cfme.containers.provider.ContainersProvider

STATS_TO_MATCH = ['num_project', 'num_service', 'num_replication_controller', 'num_pod', 'num_node', 'num_image_registry', 'num_container', 'num_route']
add_custom_attributes(*custom_attributes)[source]

Adding static custom attributes to provider. :param custom_attributes: The custom attributes to add.

returns: response.

cli
custom_attributes()[source]

returns custom attributes

db_types = ['Openshift::ContainerManager']
delete_custom_attributes(*custom_attributes)[source]

Deleting static custom attributes from provider.

Parameters:custom_attributes – The custom attributes to delete. (Could be also names (str))

Returns: response.

edit_custom_attributes(*custom_attributes)[source]

Editing static custom attributes in provider. :param custom_attributes: The custom attributes to edit.

returns: response.

endpoints_form

alias of ContainersProviderEndpointsForm

classmethod from_config(prov_config, prov_key, appliance=None)[source]
href()[source]
mgmt_class = <Mock name='mock.Openshift' id='140602849662864'>
num_route(*args, **kwargs)
num_route_ui = None
num_template(*args, **kwargs)
num_template_ui = None
type_name = 'openshift'
view_value_mapping