'is vni peer list change'

def is_vni_peer_list_change(self, nve_name, vni_id, peer_ip_list):

    if (not self.nve_info):
        return True
    for peer_ip in peer_ip_list:
        if (self.nve_info['ifName'] == nve_name):
            if (not self.nve_info['vni_peer_ips']):
                return True
            for member in self.nve_info['vni_peer_ips']:
                if (member['vniId'] != vni_id):
                    return True
                elif ((member['vniId'] == vni_id) and (member['peerAddr'] != peer_ip)):
                    return True
    return False
