Components identify Cloud Provider

The Is* component in this module is valid if the insights.combiners.cloud_provider.CloudProvider combiner indicates the host is from the specific Cloud Provider. Otherwise, it raises a insights.core.dr.SkipComponent to prevent dependent components from executing.

class insights.components.cloud_provider.IsAWS(cp)[source]

Bases: object

This component uses CloudProvider combiner to determine the cloud provider of the instance. It checks if AWS, if not AWS it raises SkipComponent.

Raises

SkipComponent -- When it’s not an instance from AWS.

class insights.components.cloud_provider.IsAzure(cp)[source]

Bases: object

This component uses CloudProvider combiner to determine the cloud provider of the instance. It checks if Azure, if not Azure it raises SkipComponent.

Raises

SkipComponent -- When it’s not an instance from Azure.

class insights.components.cloud_provider.IsGCP(cp)[source]

Bases: object

This component uses CloudProvider combiner to determine the cloud provider of the instance. It checks if Google Cloud Platform (GCP), if not GCP it raises SkipComponent.

Raises

SkipComponent -- When it’s not an instance from GCP.