def publish(self): """Publish the module.""" for kickstart_module in self._modules: kickstart_module.publish() DBus.publish_object(STORAGE.object_path, StorageInterface(self)) DBus.register_service(STORAGE.service_name)
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_handler(self): """Publish the handler.""" self._packages_handler.publish() DBus.publish_object(PAYLOAD_DEFAULT.object_path, DNFHandlerInterface(self)) return PAYLOAD_DEFAULT.object_path
def publish(self, object_path): """Publish the object on DBus. :type object_path: a DBus path of the object """ DBus.publish_object(self, object_path) self._object_path = object_path
def publish(self): """Publish the boss.""" DBus.publish_object(BOSS.object_path, AnacondaBossInterface(self)) DBus.publish_object(BOSS_INSTALLATION.object_path, InstallationInterface(self._install_manager)) DBus.register_service(BOSS.service_name)
def publish(self): """Publish the module.""" # Publish bar. DBus.publish_object(BarInterface(self), MODULE_BAR_PATH) self.publish_task(BarTask(), MODULE_BAR_PATH) DBus.register_service(MODULE_BAR_NAME) # Start to watch the timezone module. self._timezone_module.cached_properties_changed.connect( self._timezone_callback) self._timezone_module.connect_once_available()
def publish(self, module_path): """Publish task on DBus. Every new created interface instance will get new number used as a last part of the DBus object path to avoid conflict. :param module_path: DBus object path to the module. :type module_path: str """ self._dbus_path = "{}/Tasks/{}".format(module_path, self._task_number) DBus.publish_object(self, self._dbus_path)
def publish(self): """Publish the module.""" # Publish bar. DBus.publish_object(BAR.object_path, BarInterface(self)) self.publish_task(BAR.namespace, BarTask()) DBus.register_service(BAR.service_name) # Start to watch the timezone module. self._timezone_module.cached_properties_changed.connect( self._timezone_callback) self._timezone_module.connect_once_available()
def _publish_user_instance(self, user_instance): """Publish the user instance on DBus. :param user_instance: an instance of UserModule """ # Publish the DBus object. publishable = UserInterface(user_instance) object_path = UserInterface.get_object_path(USERS.namespace) DBus.publish_object(object_path, publishable) # Update the module. self.users[object_path] = user_instance self.users_changed.emit() log.debug("Published a user at '%s'.", object_path) return object_path
def publish(self): """Publish the module.""" DBus.publish_object(FooInterface(self), MODULE_FOO_PATH) self.publish_task(FooTask(), MODULE_FOO_PATH) DBus.register_service(MODULE_FOO_NAME)
def publish(self): """Publish the module.""" DBus.publish_object(LOCALIZATION.object_path, LocalizationInterface(self)) DBus.register_service(LOCALIZATION.service_name)
def publish(self): """Publish the boss.""" DBus.publish_object(AnacondaBossInterface(self), DBUS_BOSS_PATH) DBus.publish_object(InstallationInterface(self._install_manager), DBUS_BOSS_INSTALLATION_PATH) DBus.register_service(DBUS_BOSS_NAME)
def publish(self): """Publish the module.""" DBus.publish_object(PAYLOAD.object_path, PayloadInterface(self)) DBus.register_service(PAYLOAD.service_name)
def publish(self): """Publish the module.""" DBus.publish_object(NVDIMM.object_path, NVDIMMInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(self, ADDON_BAZ_PATH) DBus.register_service(ADDON_BAZ_NAME)
def publish(self): """Publish the module.""" DBus.publish_object(SNAPSHOT.object_path, SnapshotInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(DASD.object_path, DASDInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(ZFCP.object_path, ZFCPInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(BOOTLOADER.object_path, BootloaderInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(TIMEZONE.object_path, TimezoneInterface(self)) DBus.register_service(TIMEZONE.service_name)
def publish(self): """Publish the module.""" DBus.publish_object(FCOE.object_path, FCOEInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(USERS.object_path, UsersInterface(self)) DBus.register_service(USERS.service_name)
def publish(self): """Publish the module.""" self._packages_handler.publish() DBus.publish_object(PAYLOAD_DEFAULT.object_path, DNFHandlerInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(BAZ.object_path, BazInterface(self)) DBus.register_service(BAZ.service_name)
def publish(self): """Publish the module.""" DBus.publish_object(INTERACTIVE_PARTITIONING.object_path, InteractivePartitioningInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(AUTO_PARTITIONING.object_path, AutoPartitioningInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(SECURITY.object_path, SecurityInterface(self)) DBus.register_service(SECURITY.service_name)
def publish(self): """Publish the module.""" DBus.publish_object(CUSTOM_PARTITIONING.object_path, PartitioningInterface(self))
def publish_handler(self): """Publish the handler.""" DBus.publish_object(LIVE_IMAGE_HANDLER.object_path, LiveImageHandlerInterface(self)) return LIVE_IMAGE_HANDLER.object_path
def publish(self): """Publish the module.""" DBus.publish_object( MANUAL_PARTITIONING.object_path, ManualPartitioningInterface(self) )
def publish(self): """Publish the module.""" self._firewall_module.publish() DBus.publish_object(NETWORK.object_path, NetworkInterface(self)) DBus.register_service(NETWORK.service_name)
def publish(self): """Publish the module.""" DBus.publish_object(BLIVET_PARTITIONING.object_path, BlivetPartitioningInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(MANUAL_PARTITIONING.object_path, ManualPartitioningInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(DISK_INITIALIZATION.object_path, DiskInitializationInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(DISK_SELECTION.object_path, DiskSelectionInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(FIREWALL.object_path, FirewallInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(DEVICE_TREE.object_path, DeviceTreeInterface(self))
def publish(self): """Publish the module.""" TaskContainer.set_namespace(SERVICES.namespace) DBus.publish_object(SERVICES.object_path, ServicesInterface(self)) DBus.register_service(SERVICES.service_name)
def publish(self): """Publish the boss.""" TaskContainer.set_namespace(BOSS.namespace) DBus.publish_object(BOSS.object_path, AnacondaBossInterface(self)) DBus.register_service(BOSS.service_name)
def publish(self): """Publish the module.""" DBus.publish_object(LIVE_IMAGE_HANDLER.object_path, LiveImageHandlerInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(AUTO_PARTITIONING.object_path, self.for_publication())
def publish(self): """Publish the module.""" DBus.publish_object(DNF_PACKAGES.object_path, PackagesHandlerInterface(self))
def publish(self): """Publish the module.""" DBus.publish_object(SERVICES.object_path, ServicesInterface(self)) DBus.register_service(SERVICES.service_name)
def publish(self): """Publish the module.""" DBus.publish_object(NETWORK.object_path, NetworkInterface(self)) DBus.register_service(NETWORK.service_name)
def publish(self): """Publish the boss.""" DBus.publish_object(BOSS.object_path, AnacondaBossInterface(self)) DBus.register_service(BOSS.service_name)