* YANG schema mount RFC 8528, Initial commit (work in progress)
* Keep track of YANG unknowns with ys_cvec of EXTENSION * C-API: Init ys_cvec to NULL, added yang_cvec_add() and adjusted code to use it
This commit is contained in:
parent
8451a20db7
commit
b3dcee9639
21 changed files with 552 additions and 79 deletions
|
|
@ -900,7 +900,8 @@ snmp_yang2xpath_cb(yang_stmt *ys,
|
|||
}
|
||||
switch (yang_keyword_get(ys)){
|
||||
case Y_LIST:
|
||||
cvk = yang_cvec_get(ys); /* Use Y_LIST cache, see ys_populate_list() */
|
||||
if ((cvk = yang_cvec_get(ys)) == NULL) /* Use Y_LIST cache, see ys_populate_list() */
|
||||
break;
|
||||
/* Iterate over individual keys */
|
||||
assert(keyvec && cvec_len(cvk) == cvec_len(keyvec));
|
||||
for (i=0; i<cvec_len(cvk); i++){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue