def remove_duplicate_objects(self, obj_type, obj_list):
    '\n        Remove duplicate objects from list\n        :param obj_type: Object type\n        :param obj_list: list of all objects\n        :return: return list which has no duplicates objects\n        '
    if (len(obj_list) == 1):
        return obj_list
    for source_obj in obj_list:
        for (index, tmp_obj) in enumerate(obj_list):
            if (tmp_obj['name'] == source_obj['name']):
                continue
            src_cp = copy.deepcopy(source_obj)
            tmp_cp = copy.deepcopy(tmp_obj)
            del src_cp['name']
            if ('description' in src_cp):
                del src_cp['description']
            del tmp_cp['name']
            if ('description' in tmp_cp):
                del tmp_cp['description']
            if (src_cp.items() == tmp_cp.items()):
                LOG.warn(('Remove duplicate %s object : %s' % (obj_type, tmp_obj['name'])))
                del obj_list[index]
                self.remove_duplicate_objects(obj_type, obj_list)
    return obj_list
Remove duplicate objects from list
:param obj_type: Object type
:param obj_list: list of all objects
:return: return list which has no duplicates objects
def remove_duplicate_objects(self, obj_type, obj_list):
    '\n        Remove duplicate objects from list\n        :param obj_type: Object type\n        :param obj_list: list of all objects\n        :return: return list which has no duplicates objects\n        '
    if (len(obj_list) == 1):
        return obj_list
    for source_obj in obj_list:
        for (index, tmp_obj) in enumerate(obj_list):
            if (tmp_obj['name'] == source_obj['name']):
                continue
            src_cp = copy.deepcopy(source_obj)
            tmp_cp = copy.deepcopy(tmp_obj)
            del src_cp['name']
            if ('description' in src_cp):
                del src_cp['description']
            del tmp_cp['name']
            if ('description' in tmp_cp):
                del tmp_cp['description']
            if (src_cp.items() == tmp_cp.items()):
                LOG.warn(('Remove duplicate %s object : %s' % (obj_type, tmp_obj['name'])))
                del obj_list[index]
                self.remove_duplicate_objects(obj_type, obj_list)
    return obj_list