def publish(self): """Publish the module.""" TaskContainer.set_namespace(NETWORK.namespace) self._firewall_module.publish() DBus.publish_object(NETWORK.object_path, NetworkInterface(self)) DBus.register_service(NETWORK.service_name)
def publish(self): """Publish the module.""" TaskContainer.set_namespace(PAYLOADS.namespace) self._packages.publish() DBus.publish_object(PAYLOADS.object_path, PayloadsInterface(self)) DBus.register_service(PAYLOADS.service_name)
def publish(self): """Publish the boss.""" TaskContainer.set_namespace(BOSS.namespace) # Publish submodules. self._ui_module.publish() DBus.publish_object(BOSS.object_path, BossInterface(self)) DBus.register_service(BOSS.service_name)
def publish(self): """Publish the module.""" TaskContainer.set_namespace(STORAGE.namespace) for kickstart_module in self._modules: kickstart_module.publish() DBus.publish_object(STORAGE.object_path, StorageInterface(self)) DBus.register_service(STORAGE.service_name)
def ParseAttachedSubscriptionsWithTask(self) -> ObjPath: """Parse attached subscriptions using a runtime DBus task. :return: a DBus path of an installation task """ return TaskContainer.to_object_path( self.implementation.parse_attached_subscriptions_with_task())
def AttachSubscriptionWithTask(self) -> ObjPath: """Attach subscription using a runtime DBus task. :return: a DBus path of an installation task """ return TaskContainer.to_object_path( self.implementation.attach_subscription_with_task())
def UnregisterWithTask(self) -> ObjPath: """Unregister using a runtime DBus task. :return: a DBus path of an installation task """ return TaskContainer.to_object_path( self.implementation.unregister_with_task())
def InstallSystemWithTask(self) -> ObjPath: """Install the system. :return: a DBus path of the main installation task """ return TaskContainer.to_object_path( self.implementation.install_system_with_task())
def RegisterUsernamePasswordWithTask(self) -> ObjPath: """Register with username & password using a runtime DBus task. :return: a DBus path of an installation task """ return TaskContainer.to_object_path( self.implementation.register_username_password_with_task())
def ConfigureUsersWithTask(self) -> ObjPath: """Configure users via a DBus task. :returns: DBus path of the task """ return TaskContainer.to_object_path( self.implementation.configure_users_with_task())
def ConfigureFIPSWithTask(self) -> ObjPath: """Configure FIPS on the installed system. :return: a DBus path of a installation task """ return TaskContainer.to_object_path( self.implementation.configure_fips_with_task())
def StartModulesWithTask(self) -> ObjPath: """Start modules with the task. :return: a DBus path of the task """ return TaskContainer.to_object_path( self.implementation.start_modules_with_task())
def ConfigureWithTask(self) -> ObjPath: """Schedule the partitioning actions. :return: a DBus path to a task """ return TaskContainer.to_object_path( self.implementation.configure_with_task())
def ResetWithTask(self) -> ObjPath: """Reset the storage model. :return: a path to a task """ return TaskContainer.to_object_path( self.implementation.reset_with_task())
def FinishInstallationWithTasks(self) -> List[ObjPath]: """Finish installation with tasks. :return: a list of D-Bus paths of tasks """ tasks = self.implementation.finish_installation_with_tasks() return TaskContainer.to_object_path_list(tasks)
def CopyLogsWithTask(self) -> ObjPath: """Copy installation logs with a task. :return: a DBus path of the task """ return TaskContainer.to_object_path( self.implementation.copy_logs_with_task())
def SetRootPasswordWithTask(self) -> ObjPath: """Set root password via a DBus task. :returns: DBus path of the task """ return TaskContainer.to_object_path( self.implementation.set_root_password_with_task())
def SetSystemPurposeWithTask(self) -> ObjPath: """Set system purpose for the installed system with an installation task. :return: a DBus path of an installation task """ return TaskContainer.to_object_path( self.implementation.set_system_purpose_with_task())
def PreInstallWithTasks(self) -> List[ObjPath]: """Execute preparation steps. FIXME: Temporary -- installation methods will be provided only by the main service """ return TaskContainer.to_object_path_list( self.implementation.pre_install_with_tasks())
def JoinRealmWithTask(self) -> ObjPath: """Join realm with a task. NOTE: temporary API needed before dynamic task scheduling is implemented """ return TaskContainer.to_object_path( self.implementation.join_realm_with_task())
def ApplyKeyboardWithTask(self) -> ObjPath: """Apply keyboard configuration to the current system. :return: DBus path of the task applying the configuration """ return TaskContainer.to_object_path( self.implementation.apply_keyboard_with_task())
def SetupWithTask(self) -> ObjPath: """Setup the payload. Check availability of the image and update required space """ return TaskContainer.to_object_path( self.implementation.setup_with_task())
def InstallWithTasks(self) -> List[ObjPath]: """Returns installation tasks of this module. :returns: list of object paths of installation tasks """ return TaskContainer.to_object_path_list( self.implementation.install_with_tasks())
def InstallWithTasks(self) -> List[ObjPath]: """Install the payload. FIXME: Temporary -- installation methods will be provided only by the main service """ return TaskContainer.to_object_path_list( self.implementation.install_with_tasks())
def TeardownWithTasks(self) -> List[ObjPath]: """Returns teardown tasks for this module. :returns: list of object paths of installation tasks """ return TaskContainer.to_object_path_list( self.implementation.teardown_with_tasks())
def SetRHSMConfigWithTask(self) -> ObjPath: """Set RHSM configuration with a runtime DBus task. :return: a DBus path of an installation task """ return TaskContainer.to_object_path( self.implementation.set_rhsm_config_with_task())
def RegisterOrganizationKeyWithTask(self) -> ObjPath: """Register with organization & keys(s) using a runtime DBus task. :return: a DBus path of an installation task """ return TaskContainer.to_object_path( self.implementation.register_organization_key_with_task())
def PostInstallWithTasks(self) -> List[ObjPath]: """Do post installation tasks. * [NO] check installation requirements were applied (Payload) """ return TaskContainer.to_object_path_list( self.implementation.post_install_with_tasks())
def ScanDevicesWithTask(self) -> ObjPath: """Scan all devices with a task. :return: a path to a task """ return TaskContainer.to_object_path( self.implementation.scan_devices_with_task())
def InstallWithTask(self) -> ObjPath: """Install the payload. * Copy the payload. * Create rescue images """ return TaskContainer.to_object_path( self.implementation.install_with_task())