]> git.puffer.fish Git - matthieu/frr.git/commit
lib, mgmtd: respect base xpath in mgmtd
authorIgor Ryzhov <iryzhov@nfware.com>
Sat, 11 Nov 2023 00:13:17 +0000 (02:13 +0200)
committerIgor Ryzhov <iryzhov@nfware.com>
Sun, 12 Nov 2023 18:28:08 +0000 (20:28 +0200)
commitb8a2efbf2f062dd5dc6ab0c660b3cba3f2f469f5
treec04a1318de46e9a7e97214290dbc2d69308d4017
parent19bcca4f2e9a3ee3c8cc16608dcf303241bbf014
lib, mgmtd: respect base xpath in mgmtd

`nb_cli_apply_changes` can be called with base xpath which should be
prepended to xpaths of every change in a transaction. This base xpath is
respected by regular northbound CLI but not by mgmtd. This commit fixes
the problem.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/mgmt_be_client.c
lib/northbound.c
lib/northbound.h
lib/northbound_cli.c
lib/vty.c
lib/vty.h
mgmtd/mgmt_txn.c
mgmtd/mgmt_vty.c