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.rhui_release.RHUIReleaseVer.

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

Bases: object

Combiner for parsers RhsmReleaseVer and RHUIReleaseVer.

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