Esempio n. 1
0
    def start(self):
        from ssg_test_suite import virt

        self.domain = virt.connect_domain(self.hypervisor, self.domain_name)

        self.snapshot_stack = virt.SnapshotStack(self.domain)

        virt.start_domain(self.domain)
        self.domain_ip = virt.determine_ip(self.domain)

        self._origin = self._save_state("origin")
    def start(self):
        from ssg_test_suite import virt

        self.domain = virt.connect_domain(
            self.hypervisor, self.domain_name)

        self.snapshot_stack = virt.SnapshotStack(self.domain)

        virt.start_domain(self.domain)
        self.domain_ip = virt.determine_ip(self.domain)

        self._origin = self._save_state("origin")
Esempio n. 3
0
    def start(self):
        from ssg_test_suite import virt

        self.domain = virt.connect_domain(self.hypervisor, self.domain_name)

        if self.domain is None:
            sys.exit(1)

        if not self.keep_snapshots:
            self.snapshots_cleanup()

        self.snapshot_stack = virt.SnapshotStack(self.domain)

        virt.start_domain(self.domain)

        self._origin = self._save_state("origin")

        super().start()