Red Hat Subscription Manager Release

Combiner provides the Red Hat Subscription Manager release information from the parsers insights.parsers.rhsm_releasever.RhsmReleaseVer and insights.parsers.subscription_manager_release.SubscriptionManagerReleaseShow.

class insights.combiners.rhsm_release.RhsmRelease(rhsm_release, sm_release)[source]

Bases: object

Combiner for parsers RhsmReleaseVer and SubscriptionManagerReleaseShow.

Examples

>>> type(rhsm_release)
<class 'insights.combiners.rhsm_release.RhsmRelease'>
>>> rhsm_release.set == '7.6'
True
>>> rhsm_release.major
7
>>> rhsm_release.minor
6
major

Major version of the release

Type

int

minor

Minor version of the release

Type

int

set

Release version string returned from the parsers

Type

str