'Get the disk controller type based on the given adapter type.
:param adapter_type: disk adapter type
:return: controller type corresponding to the given adapter type
:raises: InvalidAdapterTypeException'

@staticmethod
def get_controller_type(adapter_type):

    if (adapter_type in ControllerType.CONTROLLER_TYPE_DICT):
        return ControllerType.CONTROLLER_TYPE_DICT[adapter_type]
    raise vmdk_exceptions.InvalidAdapterTypeException(invalid_type=adapter_type)
