* Error-type changed from protocol to application for data-not-unique netconf/restconf errors
* Added new revision of main example yang: `clixon-example@2020-12-01.yang` * Fixed [YANG: key statement in rpc/notification list #148](https://github.com/clicon/clixon/issues/148) * Do not check uniqueness among lists without keys
This commit is contained in:
parent
1cd6d37fa1
commit
e46f6f4a36
11 changed files with 275 additions and 26 deletions
|
|
@ -1184,7 +1184,7 @@ netconf_data_not_unique_xml(cxobj **xret,
|
|||
if ((xerr = xml_new("rpc-error", *xret, CX_ELMNT)) == NULL)
|
||||
goto done;
|
||||
if (clixon_xml_parse_va(YB_NONE, NULL, &xerr, NULL,
|
||||
"<error-type>protocol</error-type>"
|
||||
"<error-type>application</error-type>"
|
||||
"<error-tag>operation-failed</error-tag>"
|
||||
"<error-app-tag>data-not-unique</error-app-tag>"
|
||||
"<error-severity>error</error-severity>") < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue