def _get_unused_lun_ids(mappings):
 used_luns = _get_used_lun_ids_for_mappings(mappings)
 unused_luns = (set(range(utils.MAX_LUNS_PER_HOST)) - set(used_luns))
 return unused_luns

def _get_unused_lun_ids ( mappings ) : used_luns = _get_used_lun_ids_for_mappings ( mappings ) unused_luns = ( set ( range ( utils . MAX_LUNS_PER_HOST ) ) - set ( used_luns ) ) return unused_luns
returns unused lun ids given mappings .