@classmethod
def setUpClass(cls):
    cls.api_client = super(TestDeployVMFromTemplate, cls).getClsTestClient().getApiClient()
    cls.services = Services().services
    cls.domain = get_domain(cls.api_client, cls.services)
    cls.zone = get_zone(cls.api_client, cls.services)
    cls.service_offering = ServiceOffering.create(cls.api_client, cls.services['service_offering'], offerha=True)
    cls.disk_offering = DiskOffering.create(cls.api_client, cls.services['disk_offering'])
    cls._cleanup = [cls.service_offering, cls.disk_offering]
    return
@classmethod
def setUpClass(cls):
    cls.api_client = super(TestDeployVMFromTemplate, cls).getClsTestClient().getApiClient()
    cls.services = Services().services
    cls.domain = get_domain(cls.api_client, cls.services)
    cls.zone = get_zone(cls.api_client, cls.services)
    cls.service_offering = ServiceOffering.create(cls.api_client, cls.services['service_offering'], offerha=True)
    cls.disk_offering = DiskOffering.create(cls.api_client, cls.services['disk_offering'])
    cls._cleanup = [cls.service_offering, cls.disk_offering]
    return