* If you used old event callbacks API, you need to switch to the streams API
* See clixon_stream.[ch]
* Old streams API which needs to be removed include:
* clicon_log_register_callback()
* subscription_add() --> stream_register()
* backend_notify() and backend_notify_xml() - use stream_notify() instead
* Example uses "NETCONF" stream instead of "ROUTING"
* Added timeout option -t for clixon_netconf - quit after max time.
|
||
|---|---|---|
| .. | ||
| all.sh | ||
| Jenkinsfile | ||
| lib.sh | ||
| plot_perf.sh | ||
| README.md | ||
| test_auth.sh | ||
| test_auth_ext.sh | ||
| test_cli.sh | ||
| test_datastore.sh | ||
| test_event.sh | ||
| test_identity.sh | ||
| test_install.sh | ||
| test_json.sh | ||
| test_leafref.sh | ||
| test_list.sh | ||
| test_netconf.sh | ||
| test_order.sh | ||
| test_perf.sh | ||
| test_restconf.sh | ||
| test_restconf2.sh | ||
| test_startup.sh | ||
| test_type.sh | ||
| test_when_must.sh | ||
| test_xml.sh | ||
| test_xpath.sh | ||
| test_yang.sh | ||
| test_yang_parse.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_auth.sh Auth tests using internal NACM
- test_auth_ext.sh Auth tests using external NACM
- 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