* NACM module support (RFC8341 A1+A2)
* Recovery user "_nacm_recovery" added.
* Example use is restconf PUT when NACM edit-config is permitted, then automatic commit and discard are permitted using recovery user.
* Example user changed adm1 to andy to comply with RFC8341 example
* Yang code upgrade (RFC7950)
* RPC method input parameters validated
* see https://github.com/clicon/clixon/issues/4
* Correct XML namespace handling
* XML multiple modules was based on "loose" semantics so that yang modules were found by iterating thorugh namespaces until a match was made. This did not adhere to proper [XML namespace handling](https://www.w3.org/TR/2009/REC-xml-names-20091208), and causes problems with overlapping names and false positives. Below see XML accepted (but wrong), and correct namespace declaration:
```
<rpc><my-own-method></rpc> # Wrong but accepted
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> # Correct
<my-own-method xmlns="http://example.net/me/my-own/1.0">
</rpc>
```
* To keep old loose semantics set config option CLICON_XML_NS_ITERATE (true by default)
* XML to JSON translator support for mapping xmlns attribute to module name prefix.
* Default namespace is still "urn:ietf:params:xml:ns:netconf:base:1.0"
* See https://github.com/clicon/clixon/issues/49
* Changed all make tags --> make TAGS
* Keyvalue datastore removed (it has been disabled since 3.3.3)
* debug rpc added in example application (should be in clixon-config).
|
||
|---|---|---|
| .. | ||
| all.sh | ||
| Jenkinsfile | ||
| lib.sh | ||
| nacm.sh | ||
| plot_perf.sh | ||
| README.md | ||
| test_cli.sh | ||
| test_datastore.sh | ||
| test_feature.sh | ||
| test_identity.sh | ||
| test_install.sh | ||
| test_json.sh | ||
| test_leafref.sh | ||
| test_list.sh | ||
| test_nacm.sh | ||
| test_nacm_ext.sh | ||
| test_nacm_protocol.sh | ||
| test_netconf.sh | ||
| test_openconfig.sh | ||
| test_order.sh | ||
| test_perf.sh | ||
| test_restconf.sh | ||
| test_restconf2.sh | ||
| test_startup.sh | ||
| test_stream.sh | ||
| test_type.sh | ||
| test_union.sh | ||
| test_when_must.sh | ||
| test_xml.sh | ||
| test_xpath.sh | ||
| test_yang.sh | ||
| test_yang_load.sh | ||
| test_yang_namespace.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_nacm.sh Auth tests using internal NACM
- test_nacm_ext.sh Auth tests using external NACM (separate file)
- 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