pyanaconda.modules.subscription.subscription_interface
Classes
The interface for a organization data parsing task. |
|
DBus interface for the Subscription service. |
Module Contents
- class pyanaconda.modules.subscription.subscription_interface.RetrieveOrganizationsTaskInterface[source]
Bases:
pyanaconda.modules.common.task.TaskInterface
The interface for a organization data parsing task.
Such a task returns a list of organization data objects.
- class pyanaconda.modules.subscription.subscription_interface.SubscriptionInterface[source]
Bases:
pyanaconda.modules.common.base.KickstartModuleInterface
DBus interface for the Subscription service.
- GetValidRoles()[source]
Return all valid system purpose roles.
These are OS release specific, but could look like this:
“Red Hat Enterprise Linux Server” “Red Hat Enterprise Linux Workstation” “Red Hat Enterprise Linux Compute Node”
- Return type:
List[Str]
- GetValidSLAs()[source]
Return all valid system purpose SLAs.
These are OS release specific, but could look like this:
“Premium” “Standard” “Self-Support”
- Return type:
List[Str]
- GetValidUsageTypes()[source]
List all valid system purpose usage types.
These are OS release specific, but could look like this:
“Production”, “Development/Test”, “Disaster Recovery”
- Return type:
List[Str]
- property SystemPurposeData: Structure[source]
Return DBus structure holding current system purpose data.
- Return type:
Structure
- SetSystemPurposeWithTask()[source]
Set system purpose for the installed system with an installation task.
- Returns:
a DBus path of an installation task
- Return type:
ObjPath
- property SubscriptionRequest: Structure[source]
Return DBus structure holding current subscription request.
Subscription request holds data necessary for a successful subscription attempt.
- Return type:
Structure
- property InsightsEnabled: Int[source]
Connect the target system to Red Hat Insights.
- Return type:
Int
- property IsRegisteredToSatellite: Bool[source]
Report if the system is registered to a Satellite instance.
- Return type:
Bool
- property IsSimpleContentAccessEnabled: Bool[source]
Report if Simple Content Access is enabled.
- Return type:
Bool
- property IsSubscriptionAttached: Bool[source]
Report if an entitlement has been successfully attached.
- Return type:
Bool
- SetRHSMConfigWithTask()[source]
Set RHSM configuration with a runtime DBus task.
- Returns:
a DBus path of an installation task
- Return type:
ObjPath
- UnregisterWithTask()[source]
Unregister using a runtime DBus task.
- Returns:
a DBus path of an installation task
- Return type:
ObjPath