コード例 #1
0
ファイル: network.py プロジェクト: yubihong/anaconda
    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)
コード例 #2
0
    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)
コード例 #3
0
ファイル: boss.py プロジェクト: sandrobonazzola/anaconda
    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)
コード例 #4
0
    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)
コード例 #5
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(SUBSCRIPTION.namespace)
     DBus.publish_object(SUBSCRIPTION.object_path,
                         SubscriptionInterface(self))
     DBus.register_service(SUBSCRIPTION.service_name)
コード例 #6
0
ファイル: security.py プロジェクト: WildeGeist/anaconda
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(SECURITY.namespace)
     DBus.publish_object(SECURITY.object_path, SecurityInterface(self))
     DBus.register_service(SECURITY.service_name)
コード例 #7
0
ファイル: boss.py プロジェクト: m4d3bug/anaconda
    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)
コード例 #8
0
ファイル: users.py プロジェクト: martinpitt/anaconda-1
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(USERS.namespace)
     DBus.publish_object(USERS.object_path, UsersInterface(self))
     DBus.register_service(USERS.service_name)
コード例 #9
0
ファイル: timezone.py プロジェクト: VladimirSlavik/anaconda
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(TIMEZONE.namespace)
     DBus.publish_object(TIMEZONE.object_path, TimezoneInterface(self))
     DBus.register_service(TIMEZONE.service_name)
コード例 #10
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(BAZ.namespace)
     DBus.publish_object(BAZ.object_path, BazInterface(self))
     DBus.register_service(BAZ.service_name)
コード例 #11
0
 def publish(self):
     """Publish the DBus objects."""
     TaskContainer.set_namespace(KDUMP.namespace)
     DBus.publish_object(KDUMP.object_path, KdumpInterface(self))
     DBus.register_service(KDUMP.service_name)
コード例 #12
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(HELLO_WORLD.namespace)
     DBus.publish_object(HELLO_WORLD.object_path, HelloWorldInterface(self))
     DBus.register_service(HELLO_WORLD.service_name)
コード例 #13
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(LOCALIZATION.namespace)
     DBus.publish_object(LOCALIZATION.object_path,
                         LocalizationInterface(self))
     DBus.register_service(LOCALIZATION.service_name)
コード例 #14
0
 def publish(self):
     """Publish the module."""
     TaskContainer.set_namespace(PACKAGE_REMOVE.namespace)
     DBus.publish_object(PACKAGE_REMOVE.object_path,
                         PackageRemoveInterface(self))
     DBus.register_service(PACKAGE_REMOVE.service_name)