diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2018-11-13 20:36:48 -0200 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2018-11-26 17:38:08 -0200 | 
| commit | 544ca69a5cc7da81ad2f9f72110b34ee03b7cc44 (patch) | |
| tree | 84daae9c8863af8bffae0ef910fbcc5f6f5f65f6 /lib/yang.h | |
| parent | e0ccfad220d80c1d02b327fd0ee24faf6a8d2bd4 (diff) | |
lib: add support for YANG lists with mixed config and state data
A YANG list that contains both configuration and state data must have
the following callbacks: create(), delete(), get_next(), get_keys()
and lookup_entry().
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/yang.h')
| -rw-r--r-- | lib/yang.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/yang.h b/lib/yang.h index 940f5d38e8..2c18017af2 100644 --- a/lib/yang.h +++ b/lib/yang.h @@ -98,6 +98,9 @@ enum yang_iter_flags {  	/* Filter implicitely created nodes. */  	YANG_ITER_FILTER_IMPLICIT = (1<<3), + +	/* Allow iteration over augmentations. */ +	YANG_ITER_ALLOW_AUGMENTATIONS = (1<<4),  };  /* Callback used by the yang_snodes_iterate_*() family of functions. */  | 
