コード例 #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."""
     DBus.publish_object(BOOTLOADER.object_path, BootloaderInterface(self))
コード例 #6
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(NVDIMM.object_path, NVDIMMInterface(self))
コード例 #7
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(DNF_PACKAGES.object_path,
                         PackagesHandlerInterface(self))
コード例 #8
0
ファイル: devicetree.py プロジェクト: martinpitt/anaconda-1
 def publish(self):
     """Publish the module."""
     DBus.publish_object(DEVICE_TREE.object_path, self.for_publication())
コード例 #9
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)
コード例 #10
0
ファイル: dasd.py プロジェクト: martinpitt/anaconda-1
 def publish(self):
     """Publish the module."""
     DBus.publish_object(DASD.object_path, DASDInterface(self))
コード例 #11
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(USER_INTERFACE.object_path, UIInterface(self))
コード例 #12
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)
コード例 #13
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(FCOE.object_path, FCOEInterface(self))
コード例 #14
0
ファイル: packages.py プロジェクト: yubihong/anaconda
 def publish(self):
     """Publish the module."""
     DBus.publish_object(PAYLOAD_PACKAGES.object_path,
                         PackagesInterface(self))
コード例 #15
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)
コード例 #16
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)
コード例 #17
0
ファイル: checker.py プロジェクト: martinpitt/anaconda-1
 def publish(self):
     """Publish the module."""
     DBus.publish_object(STORAGE_CHECKER.object_path, StorageCheckerInterface(self))
コード例 #18
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)
コード例 #19
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)
コード例 #20
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(SNAPSHOT.object_path, SnapshotInterface(self))
コード例 #21
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(AUTO_PARTITIONING.object_path,
                         self.for_publication())
コード例 #22
0
ファイル: initialization.py プロジェクト: yubihong/anaconda
 def publish(self):
     """Publish the module."""
     DBus.publish_object(DISK_INITIALIZATION.object_path,
                         DiskInitializationInterface(self))
コード例 #23
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(DISK_SELECTION.object_path,
                         DiskSelectionInterface(self))
コード例 #24
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)
コード例 #25
0
ファイル: zfcp.py プロジェクト: lyj7890/anaconda
 def publish(self):
     """Publish the module."""
     DBus.publish_object(ZFCP.object_path, ZFCPInterface(self))
コード例 #26
0
    def publish_payload(self):
        """Publish the payload."""
        self._packages_module.publish()

        DBus.publish_object(PAYLOAD_DEFAULT.object_path, DNFInterface(self))
        return PAYLOAD_DEFAULT.object_path
コード例 #27
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(ISCSI.object_path, ISCSIInterface(self))
コード例 #28
0
 def publish(self):
     """Publish the module."""
     DBus.publish_object(FIREWALL.object_path, FirewallInterface(self))
コード例 #29
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)
コード例 #30
0
ファイル: live_os.py プロジェクト: lyj7890/anaconda
 def publish_payload(self):
     """Publish the payload."""
     DBus.publish_object(PAYLOAD_LIVE_OS.object_path, LiveOSInterface(self))
     return PAYLOAD_LIVE_OS.object_path