pyanaconda.modules.boss.boss_interface
Classes
DBus interface for the Boss. |
Module Contents
- class pyanaconda.modules.boss.boss_interface.BossInterface[source]
Bases:
pyanaconda.modules.common.base.base_template.InterfaceTemplate
DBus interface for the Boss.
- GetModules()[source]
Get service names of running modules.
Get a list of all running DBus modules (including addons) that were discovered and started by the boss.
- Returns:
a list of service names
- Return type:
List[pyanaconda.modules.common.custom_typing.BusName]
- StartModulesWithTask()[source]
Start modules with the task.
- Returns:
a DBus path of the task
- Return type:
ObjPath
- ReadKickstartFile(path)[source]
Read the specified kickstart file.
- Parameters:
path (Str) – a path to a file
- Returns:
a structure with a kickstart report
- Return type:
Structure
- GenerateKickstart()[source]
Return a kickstart representation of modules.
- Returns:
a kickstart string
- Return type:
Str
- SetLocale(locale)[source]
Set locale of boss and all modules.
Examples: “cs_CZ.UTF-8”, “fr_FR”
- Parameters:
locale (Str)
- CollectRequirements()[source]
Collect requirements of the modules.
- Returns:
a list of DBus structures of the type Requirement
- Return type:
List[Structure]
- InstallWithTasks()[source]
Returns installation tasks of this module.
FIXME: This is a temporary workaround for the Web UI.
- Returns:
list of object paths of installation tasks
- Return type:
List[ObjPath]
- CollectConfigureRuntimeTasks()[source]
Collect tasks for configuration of the runtime environment.
FIXME: This is a temporary workaround for add-ons.
- Returns:
a list of service names and object paths of tasks
- Return type:
List[Tuple[pyanaconda.modules.common.custom_typing.BusName, ObjPath]]
- CollectConfigureBootloaderTasks(kernel_versions)[source]
Collect tasks for configuration of the bootloader.
FIXME: This is a temporary workaround for add-ons.
- Parameters:
kernel_versions (List[Str]) – a list of kernel versions
- Returns:
a list of service names and object paths of tasks
- Return type:
List[Tuple[pyanaconda.modules.common.custom_typing.BusName, ObjPath]]
- CollectInstallSystemTasks()[source]
Collect tasks for installation of the system.
FIXME: This is a temporary workaround for add-ons.
- Returns:
a list of service names and object paths of tasks
- Return type:
List[Tuple[pyanaconda.modules.common.custom_typing.BusName, ObjPath]]