summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-01-18 23:27:56 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2024-01-19 03:46:56 +0200
commitfdd834b8cc69b1b8c9bdfcfa1f033f35affb4c09 (patch)
treee583ef8ad991140ef214508d1f50ec8cc93e25a9 /lib/lib_errors.c
parent6103c6251ac7986cda4d538d25efc5fcc2b6d1c7 (diff)
lib: validate affinity-map reference using yang model
Change the type of affinity leaf-list in frr-zebra to a leafref with "require-instance" property set to true. This change tells libyang to automatically check that affinity-map exists before usage and doesn't allow it to be deleted if it's referenced. It allows us to remove all the manual code that is doing the same thing. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions