]> git.proxmox.com Git - mirror_frr.git/commit
lib: peform only partial YANG validation when displaying operational data
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 4 Jan 2019 21:08:10 +0000 (19:08 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 18 Jan 2019 18:15:41 +0000 (16:15 -0200)
commit37345802af89567a5238d8894c0ef4e273c9d0c0
treeab92668791bea95ba184de7e792399aeb05cd76f
parentfcb7bffdda0b122c34978e3f7390b6f26689848a
lib: peform only partial YANG validation when displaying operational data

When lyd_validate() is used with the LYD_OPT_DATA option, full YANG
validation is performed. As a side-effect to this, default nodes are
created, which is not desirable when displaying operational data
since configuration nodes can also be created. Use LYD_OPT_GET
option to resolve this problem.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/northbound_cli.c