![]() |
libyang
3.10.1
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
|
Macros | |
#define | LYD_DIFF_DEFAULTS 0x01 |
#define | LYD_DIFF_META 0x02 |
Various options to change lyd_diff_tree() and lyd_diff_siblings() behavior.
Default behavior:
#define LYD_DIFF_DEFAULTS 0x01 |
Default nodes in the trees are not ignored but treated similarly to explicit nodes. Also, leaves and leaf-lists are added into diff even in case only their default flag (state) was changed.
Definition at line 2194 of file tree_data.h.
#define LYD_DIFF_META 0x02 |
All metadata are compared and the full difference reported in the diff always in the form of 'yang:meta-<operation>' metadata. Also, equal nodes with only changes in their metadata will be present in the diff with the 'none' operation.
Definition at line 2199 of file tree_data.h.