* Backend RPC register callback function (Netconf RPC or restconf operation POST) has been changed from: `backend_rpc_cb_register()` to `rpc_callback_register()`
* Backend RPC callback signature has been changed from: `int cb(clicon_handle h, cxobj *xe, struct client_entry *ce, cbuf *cbret, void *arg)` has been changed to : `int cb(clicon_handle h, cxobj *xe, struct client_entry *ce, cbuf *cbret, void *arg)`
* Frontend netconf and restconf plugins can register callbacks as well with same API as backends.
|
||
|---|---|---|
| .. | ||
| all.sh | ||
| lib.sh | ||
| plot_perf.sh | ||
| README.md | ||
| test_auth.sh | ||
| test_cli.sh | ||
| test_datastore.sh | ||
| test_install.sh | ||
| test_leafref.sh | ||
| test_netconf.sh | ||
| test_order.sh | ||
| test_perf.sh | ||
| test_restconf.sh | ||
| test_restconf2.sh | ||
| test_startup.sh | ||
| test_type.sh | ||
| test_yang.sh | ||
Clixon tests
This directory contains testing code for clixon and the example routing application. Assumes setup of http daemon as describe under apps/restonf
- clixon A top-level script clones clixon in /tmp and starts all.sh. You can copy this file (review it first) and place as cron script
- all.sh Run through all tests named 'test*.sh' in this directory. Therefore, if you place a test in this directory matching 'test*.sh' it will be run automatically.
- test_cli.sh CLI tests
- test_netconf.sh Netconf tests
- test_restconf.sh Restconf tests
- test_yang.sh Yang tests for constructs not in the example.
- test_leafref.sh Yang leafref tests
- test_datastore.sh Datastore tests