Improved netconf error handling for data-not-unique and missing-choice
* Follows RFC7950 Sec 15.1 and 15.6 more closely * Fixed: [When multiple lists have same key name, need more elaborate error message in case of configuration having duplicate keys](https://github.com/clicon/clixon/issues/362)
This commit is contained in:
parent
e579d959fa
commit
51d1a2d41c
11 changed files with 143 additions and 65 deletions
|
|
@ -143,8 +143,9 @@ int netconf_lock_denied(cbuf *cb, char *info, char *message);
|
|||
int netconf_resource_denied(cbuf *cb, char *type, char *message);
|
||||
int netconf_rollback_failed(cbuf *cb, char *type, char *message);
|
||||
int netconf_data_exists(cbuf *cb, char *message);
|
||||
int netconf_data_missing(cbuf *cb, char *missing_choice, char *message);
|
||||
int netconf_data_missing_xml(cxobj **xret, char *missing_choice, char *message);
|
||||
int netconf_data_missing(cbuf *cb, char *message);
|
||||
int netconf_data_missing_xml(cxobj **xret, char *message);
|
||||
int netconf_missing_choice_xml(cxobj **xret, cxobj *x, char *missing_choice, char *message);
|
||||
int netconf_operation_not_supported_xml(cxobj **xret, char *type, char *message);
|
||||
int netconf_operation_not_supported(cbuf *cb, char *type, char *message);
|
||||
int netconf_operation_failed(cbuf *cb, char *type, char *message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue