@classmethod
def resource_setup(cls):
    super(BaseV2ComputeTest, cls).resource_setup()
    cls.request_microversion = api_version_utils.select_request_microversion(cls.min_microversion, CONF.compute.min_microversion)
    cls.volume_request_microversion = api_version_utils.select_request_microversion(cls.volume_min_microversion, CONF.volume.min_microversion)
    cls.placement_request_microversion = api_version_utils.select_request_microversion(cls.placement_min_microversion, CONF.placement.min_microversion)
    cls.build_interval = CONF.compute.build_interval
    cls.build_timeout = CONF.compute.build_timeout
    cls.image_ref = CONF.compute.image_ref
    cls.image_ref_alt = CONF.compute.image_ref_alt
    cls.flavor_ref = CONF.compute.flavor_ref
    cls.flavor_ref_alt = CONF.compute.flavor_ref_alt
    cls.ssh_user = CONF.validation.image_ssh_user
    cls.ssh_alt_user = CONF.validation.image_alt_ssh_user
    cls.image_ssh_user = CONF.validation.image_ssh_user
    cls.image_alt_ssh_user = CONF.validation.image_alt_ssh_user
    cls.image_ssh_password = CONF.validation.image_ssh_password
    cls.image_alt_ssh_password = CONF.validation.image_alt_ssh_password
@classmethod
def resource_setup(cls):
    super(BaseV2ComputeTest, cls).resource_setup()
    cls.request_microversion = api_version_utils.select_request_microversion(cls.min_microversion, CONF.compute.min_microversion)
    cls.volume_request_microversion = api_version_utils.select_request_microversion(cls.volume_min_microversion, CONF.volume.min_microversion)
    cls.placement_request_microversion = api_version_utils.select_request_microversion(cls.placement_min_microversion, CONF.placement.min_microversion)
    cls.build_interval = CONF.compute.build_interval
    cls.build_timeout = CONF.compute.build_timeout
    cls.image_ref = CONF.compute.image_ref
    cls.image_ref_alt = CONF.compute.image_ref_alt
    cls.flavor_ref = CONF.compute.flavor_ref
    cls.flavor_ref_alt = CONF.compute.flavor_ref_alt
    cls.ssh_user = CONF.validation.image_ssh_user
    cls.ssh_alt_user = CONF.validation.image_alt_ssh_user
    cls.image_ssh_user = CONF.validation.image_ssh_user
    cls.image_alt_ssh_user = CONF.validation.image_alt_ssh_user
    cls.image_ssh_password = CONF.validation.image_ssh_password
    cls.image_alt_ssh_password = CONF.validation.image_alt_ssh_password