Exemple #1
0
 def setUp(self):
     # TODO(dscannell): We will eventually want to parameterized this test
     #                  to deal with all of the supported vms versions.
     self.vmsapi = vms_api.get_vmsapi(version='2.6')
     # Capture the vmsctl output instead of actually running the command.
     self.capture = CapturedVmsCtl(vms_api.Vmsctl(vms_platform='dummy'))
     self.vmsapi.configure(self.capture)
Exemple #2
0
    def __init__(self, read_only=False):
        super(LibvirtDriver, self).__init__(read_only=read_only)

        self.vms_conn = vmsconn.LibvirtConnection(vmsapi.get_vmsapi())
        self.vms_conn.configure()
Exemple #3
0
    def __init__(self, read_only=False):
        super(LibvirtDriver, self).__init__(read_only=read_only)

        self.vms_conn = vmsconn.LibvirtConnection(vmsapi.get_vmsapi())
        self.vms_conn.configure()
Exemple #4
0
 def setUp(self):
     self.vmsapi = vms_api.get_vmsapi()
     self.vmsapi.select_hypervisor('dummy')