]> git.puffer.fish Git - matthieu/frr.git/commit
lib: remove prefix-list dup api in validation phase
authorChirag Shah <chirag@nvidia.com>
Fri, 18 Dec 2020 00:18:40 +0000 (16:18 -0800)
committerChirag Shah <chirag@nvidia.com>
Tue, 2 Mar 2021 00:04:31 +0000 (16:04 -0800)
commit4d2f546f82860d4680a7b17164d8ce0598c8ebb5
treef0feaf101d303b3ca2ae557b4f0a263933a3f98b
parent64407418349f11587382db56c121ef2dea1fb7b3
lib: remove prefix-list dup api in validation phase

Following patch
" lib: disallow access list duplicated values"
introduce a libyang dnode iterator for every prefix-list
config which adds an overhead of traversal all prefix dnodes
and degrades the performance in scaled prefix-list config.

This check is not necessary in prefix-list northbound callbacks
as there won't be a case where prefix-list config comes to nb
callback without sequence number.

The dup check is only necessary for the vtysh case for backward
compatiblity reason where cli can be accepted without sequence number.

Ticket: CM-32035
Reviewed By: CCR-11096
Testing Done:

Signed-off-by: Chirag Shah <chirag@nvidia.com>
lib/filter_nb.c