def get_vmdk_adapter_type(adapter_type):
    if adapter_type in [constants.ADAPTER_TYPE_LSILOGICSAS,
                        constants.ADAPTER_TYPE_PARAVIRTUAL]:
        vmdk_adapter_type = constants.DEFAULT_ADAPTER_TYPE
    else:
        vmdk_adapter_type = adapter_type
    return vmdk_adapter_type
Accessor for accessing a registered or instantiated task classes
dataset/ETHPy150Open openstack/nova/nova/virt/vmwareapi/vm_util.py/get_vmdk_adapter_type--crossover with--dataset/ETHPy150Open facebook/sparts/sparts/vtask.py/Tasks.tasks