clixon-config.yang: Added CLICON_DEBUG, Removed: CLICON_NETCONF_DUPLICATE_ALLOW
Rearranged and grouped options clixon-lib.yang: Added debug types Removed git reliance in test - moved to configure script
This commit is contained in:
parent
c8a8197e92
commit
b6480ac07d
15 changed files with 320 additions and 174 deletions
|
|
@ -644,10 +644,7 @@ from_client_edit_config(clixon_handle h,
|
|||
*/
|
||||
if ((ret = xml_yang_validate_minmax(xc, 1, &xret)) < 0)
|
||||
goto done;
|
||||
/* 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)
|
||||
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