Components identify Satellite or Satellite Capsule
An IsSatellite
component is valid if the
insights.combiners.satellite_version.SatelliteVersion
combiner
indicates the host is a Satellite host, and also checks the Satellite major
or major and minor versions match the specified versions when they exist.
Otherwise, it raises a insights.core.exceptions.SkipComponent
to prevent
dependent components from executing.
An IsCapsule
component is valid if the
insights.combiners.satellite_version.CapsuleVersion
combiner
indicates the host is a Satellite Capsule host, and also checks the Satellite
Capsule major or major and minor versions match the specified versions when
they exist. Otherwise, it raises a insights.core.exceptions.SkipComponent
to prevent dependent components from executing.
- class insights.components.satellite.IsCapsule(cap, major_ver=None, minor_ver=None)[source]
Bases:
object
This component uses
CapsuleVersion
combiner to determine if the host is a Satellite Capsule host, and also if major_ver is passed, it checks if the curent capsule major version match the argument, and if both major_ver and minor_ver are passed, it checks if both the current capsule major and minor versions match both the arguments, and raisesSkipComponent
when they do not match.- Raises:
ParseException -- When only minor_ver specified.
SkipComponent -- When the Satellite Capsule major or minor versions do not match the arguments.
- class insights.components.satellite.IsSatellite(sat, major_ver=None, minor_ver=None)[source]
Bases:
object
This component uses
SatelliteVersion
combiner to determine if the host is a Satellite host, and also if major_ver is passed, it checks if the curent satellite major version match the argument, and if both major_ver and minor_ver are passed, it checks if the current satellite major and minor versions match both the arguments, and raisesSkipComponent
when they do not match.- Raises:
ParseException -- When only minor_ver specified.
SkipComponent -- When Satellite major or minor versions do not match the arguments.
- class insights.components.satellite.IsSatellite611(sat)[source]
Bases:
IsSatellite
This component uses
SatelliteVersion
combiner to determine the Satellite version. It checks if the Satellite version is 6.11, and raisesSkipComponent
when it isn’t.- Raises:
SkipComponent -- When the Satellite version is not 6.11.
- class insights.components.satellite.IsSatellite614AndLater(sat)[source]
Bases:
object
This component uses
SatelliteVersion
combiner to determine the Satellite version. It checks if the Satellite version is 6.14 and later, and raisesSkipComponent
when it isn’t.- Raises:
SkipComponent -- When the Satellite version is earlier than 6.14.
- class insights.components.satellite.IsSatelliteLessThan614(sat)[source]
Bases:
object
This component uses
SatelliteVersion
combiner to determine the Satellite version. It checks if the Satellite version is 6.x and less than 6.14, and raisesSkipComponent
when it isn’t.- Raises:
SkipComponent -- When the Satellite version isn’t 6.x or it’s 6.14 and later.