Пример #1
0
 def __init__(self, stub_config):
     StubFactoryBase.__init__(self, stub_config)
     self.vcenter.hvc = hvc_factory(stub_config)
     self.vcenter.inventory = inventory_factory(stub_config)
     self.vcenter.iso = iso_factory(stub_config)
     self.vcenter.ovf = ovf_factory(stub_config)
     self.vcenter.vm_template = vm_template_factory(stub_config)
Пример #2
0
 def __init__(self, stub_config):
     StubFactoryBase.__init__(self, stub_config)
     self.vcenter.hvc = hvc_factory(stub_config)
     self.vcenter.compute = compute_factory(stub_config)
     self.vcenter.vm.compute = vm_compute_factory(stub_config)
     self.vcenter.inventory = inventory_factory(stub_config)
     self.vcenter.iso = iso_factory(stub_config)
     self.vcenter.ovf = ovf_factory(stub_config)
     self.vcenter.vm_template = vm_template_factory(stub_config)
     self.appliance.recovery = appliance_recovery_factory(stub_config)
     self.appliance.vmon = appliance_vmon_factory(stub_config)