- Disabled xpath optimization for hierarchical list

- Made cli show xpath command more capable
This commit is contained in:
Olof hagsand 2022-04-14 14:17:20 +02:00
parent 6c3771e604
commit 8c60d81ed2
4 changed files with 37 additions and 18 deletions

View file

@ -61,6 +61,7 @@
/*! Optimize special list key searches in XPATH finds
* Identify xpaths that search for exactly a list key, eg: "y[k=3]" and then call
* binary search. This only works if "y" has proper yang binding and is sorted by system
* Dont optimize on "hierarchical" lists such as: a/b/y[k=3], where a or b is another list.
*/
#define XPATH_LIST_OPTIMIZE