@classmethod
def is_requested_microversion_compatible(cls, max_version):
    "Check the compatibility of selected request microversion\n\n        This method will check if selected request microversion\n        (cls.request_microversion) for test is compatible with respect\n        to 'max_version'. Compatible means if selected request microversion\n        is in the range(<=) of 'max_version'.\n\n        :param max_version: maximum microversion to compare for compatibility.\n            Example: '2.30'\n        :returns: True if selected request microversion is compatible with\n            'max_version'. False in other case.\n        "
    try:
        req_version_obj = api_version_request.APIVersionRequest(cls.request_microversion)
    except AttributeError:
        request_microversion = api_version_utils.select_request_microversion(cls.min_microversion, CONF.compute.min_microversion)
        req_version_obj = api_version_request.APIVersionRequest(request_microversion)
    max_version_obj = api_version_request.APIVersionRequest(max_version)
    return (req_version_obj <= max_version_obj)
Check the compatibility of selected request microversion

This method will check if selected request microversion
(cls.request_microversion) for test is compatible with respect
to 'max_version'. Compatible means if selected request microversion
is in the range(<=) of 'max_version'.

:param max_version: maximum microversion to compare for compatibility.
    Example: '2.30'
:returns: True if selected request microversion is compatible with
    'max_version'. False in other case.
@classmethod
def is_requested_microversion_compatible(cls, max_version):
    "Check the compatibility of selected request microversion\n\n        This method will check if selected request microversion\n        (cls.request_microversion) for test is compatible with respect\n        to 'max_version'. Compatible means if selected request microversion\n        is in the range(<=) of 'max_version'.\n\n        :param max_version: maximum microversion to compare for compatibility.\n            Example: '2.30'\n        :returns: True if selected request microversion is compatible with\n            'max_version'. False in other case.\n        "
    try:
        req_version_obj = api_version_request.APIVersionRequest(cls.request_microversion)
    except AttributeError:
        request_microversion = api_version_utils.select_request_microversion(cls.min_microversion, CONF.compute.min_microversion)
        req_version_obj = api_version_request.APIVersionRequest(request_microversion)
    max_version_obj = api_version_request.APIVersionRequest(max_version)
    return (req_version_obj <= max_version_obj)