'Get the adapter type to be used in VirtualDiskSpec.
:param extra_spec_adapter: adapter type in the extra_spec
:return: adapter type to be used in VirtualDiskSpec'

@staticmethod
def get_adapter_type(extra_spec_adapter):

    VirtualDiskAdapterType.validate(extra_spec_adapter)
    if ((extra_spec_adapter == VirtualDiskAdapterType.LSI_LOGIC_SAS) or (extra_spec_adapter == VirtualDiskAdapterType.PARA_VIRTUAL)):
        return VirtualDiskAdapterType.LSI_LOGIC
    else:
        return extra_spec_adapter
