]> git.puffer.fish Git - matthieu/frr.git/commit
lib: northbound: improve xpath functionality
authorChristian Hopps <chopps@labn.net>
Tue, 10 Oct 2023 08:28:07 +0000 (04:28 -0400)
committerChristian Hopps <chopps@labn.net>
Thu, 28 Dec 2023 17:52:57 +0000 (17:52 +0000)
commitd58653a5ba004f1d55981e8a69bcbdb82b87d354
treecc2a9b89a05ff8a2fc790dc7bf53700e4237a9ef
parentdb0211d48a78730cd93b0610888f35120e0c7afe
lib: northbound: improve xpath functionality

Allow user to leave keys off of a list entry node at the end of the xpath. This
will return all list entries. Previously there was no way to just get the list
entries. One had to leave off the last list entry node which would then return
all list nodes as well as all the siblings at the same level.

Signed-off-by: Christian Hopps <chopps@labn.net>
lib/frrstr.c
lib/frrstr.h
lib/northbound.c