Changed YANG uses/grouping to keep uses statement and flag it with YANG_FLAG_USES_EXP
Updated yang code headers
This commit is contained in:
parent
e0cbc10fad
commit
d48442960e
4 changed files with 172 additions and 146 deletions
|
|
@ -70,6 +70,19 @@
|
|||
* Transformed to ANYDATA but some code may need to check
|
||||
* why it is an ANYDATA
|
||||
*/
|
||||
#define YANG_FLAG_GROUPING 0x80 /* Mark node as uses/grouping expansion:
|
||||
* 1) for uses: this uses is expanded
|
||||
* 2) for grouping: all uses below are expanded
|
||||
* 3) other nodes: expanded from previous uses
|
||||
* container x {
|
||||
* ...
|
||||
* uses y; YANG_FLAG_GROUPING (1)
|
||||
* leaf z; YANG_FLAG_GROUPING (3)
|
||||
* ...
|
||||
* group y { YANG_FLAG_GROUPING (2)
|
||||
* leaf z;
|
||||
* }
|
||||
*/
|
||||
|
||||
/*
|
||||
* Types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue