* Added new cli show functions to work with cligen_output for cligen pageing to work. To acheive this, add a callback function as follows:
* xml2txt(...) --> xml2txt_cb(..., cligen_output) * xml2cli(...) --> xml2cli_cb(..., cligen_output) * clicon_xml2file(...) --> clicon_xml2file_cb(..., cligen_output) * xml2json(...) --> xml2json_cb(..., cligen_output) * yang_print(...) --> yang_print_cb(..., cligen_output)
This commit is contained in:
parent
6e714beea5
commit
0adcd94f3f
13 changed files with 291 additions and 114 deletions
|
|
@ -42,12 +42,19 @@ Expected: July 2020
|
|||
|
||||
### API changes on existing protocol/config features (For users)
|
||||
|
||||
* Restconf FCGI (eg via nginx) have changed reply message syntax as follows (due to refactoring and common code with evhtp):
|
||||
* Restconf FCGI (eg via nginx) have changed reply message syntax slightly as follows (due to refactoring and common code with evhtp):
|
||||
* Bodies in error reyruns including html code have been removed
|
||||
* Some (extra) CRLF:s have been removed
|
||||
|
||||
### C/CLI-API changes on existing features (For developers)
|
||||
|
||||
* Added new cli show functions to work with cligen_output for cligen pageing to work. To acheive this, add a callback function as follows:
|
||||
* xml2txt(...) --> xml2txt_cb(..., cligen_output)
|
||||
* xml2cli(...) --> xml2cli_cb(..., cligen_output)
|
||||
* clicon_xml2file(...) --> clicon_xml2file_cb(..., cligen_output)
|
||||
* xml2json(...) --> xml2json_cb(..., cligen_output)
|
||||
* yang_print(...) --> yang_print_cb(..., cligen_output)
|
||||
|
||||
* Added prefix for cli_show_config/cli_show_auto so that it can produce parseable output
|
||||
* Replaced the global variable `debug` with access function: `clicon_debug_get()`.
|
||||
* Due to name collision with libevent, all clixon event functions prepended with `clixon_`. You need to rename your event functions as follows:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue