New clixon-config@2024-04-01.yang revision
Added options: `CLICON_NETCONF_DUPLICATE_ALLOW` - Disable duplicate check in NETCONF messages New `clixon-lib@2024-04-01.yang` revision
This commit is contained in:
parent
9826ac16ff
commit
bd3a841103
7 changed files with 1313 additions and 24 deletions
|
|
@ -557,7 +557,10 @@ from_client_edit_config(clixon_handle h,
|
|||
*/
|
||||
if ((ret = xml_yang_validate_minmax(xc, 1, &xret)) < 0)
|
||||
goto done;
|
||||
if (ret == 1 && (ret = xml_yang_validate_unique_recurse(xc, &xret)) < 0)
|
||||
/* Disable duplicate check in NETCONF messages.*/
|
||||
if (clicon_option_bool(h, "CLICON_NETCONF_DUPLICATE_ALLOW"))
|
||||
;
|
||||
else if (ret == 1 && (ret = xml_yang_validate_unique_recurse(xc, &xret)) < 0)
|
||||
goto done;
|
||||
/* xmldb_put (difflist handling) requires list keys */
|
||||
if (ret == 1 && (ret = xml_yang_validate_list_key_only(xc, &xret)) < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue