Added new clixon-lib yang module for internal netconf protocol. Currently only extends the standard with a debug RPC.
This commit is contained in:
parent
11479f7ec3
commit
7a8f242a09
14 changed files with 362 additions and 32 deletions
|
|
@ -827,7 +827,7 @@ clicon_rpc_debug(clicon_handle h,
|
|||
|
||||
username = clicon_username_get(h);
|
||||
/* XXX: hardcoded example yang, should be clixon-config!!! */
|
||||
if ((msg = clicon_msg_encode("<rpc username=\"%s\"><debug xmlns=\"urn:example:clixon\"><level>%d</level></debug></rpc>", username?username:"", level)) == NULL)
|
||||
if ((msg = clicon_msg_encode("<rpc username=\"%s\"><debug xmlns=\"http://clicon.org/lib\"><level>%d</level></debug></rpc>", username?username:"", level)) == NULL)
|
||||
goto done;
|
||||
if (clicon_rpc_msg(h, msg, &xret, NULL) < 0)
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue