* Strict namespace setting can be a problem when upgrading existing database files, such as startup-db or persistent running-db, or any other saved XML file.
* For backward compatibility, load of startup and running set CLICON_XML_NS_STRICT to false temporarily. * Added three-valued return values for several validate functions where -1 is fatal error, 0 is validation failed and 1 is validation OK. * This includes: `xmldb_put`, `xml_yang_validate_all`, `xml_yang_validate_add`, `xml_yang_validate_rpc`, `api_path2xml`, `api_path2xpath` * Added new xml functions for specific types: `xml_child_nr_notype`, `xml_child_nr_notype`, `xml_child_i_type`, `xml_find_type`.
This commit is contained in:
parent
861300d6c0
commit
0baebc93fd
71 changed files with 2679 additions and 1573 deletions
20
README.md
20
README.md
|
|
@ -105,6 +105,23 @@ The standards covered include:
|
|||
Not supported:
|
||||
- !DOCTYPE (ie DTD)
|
||||
|
||||
Historically, Clixon has not until 3.9 made strict namespace
|
||||
enforcing. For example, the following non-strict netconf was
|
||||
previously accepted:
|
||||
```
|
||||
<rpc><my-own-method/></rpc>
|
||||
```
|
||||
In 3.9, the same statement should be, for example:
|
||||
```
|
||||
<rpc><my-own-method xmlns="urn:example:my-own"/></rpc>
|
||||
```
|
||||
Note that base netconf syntax is still not enforced but recommended:
|
||||
```
|
||||
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
|
||||
<my-own-method xmlns="urn:example:my-own"/>
|
||||
</rpc>
|
||||
```
|
||||
|
||||
Yang
|
||||
====
|
||||
YANG and XML is the heart of Clixon. Yang modules are used as a
|
||||
|
|
@ -153,6 +170,9 @@ Clixon does not support the following netconf features:
|
|||
- edit-config config-text
|
||||
- edit-config operation
|
||||
|
||||
Some other deviations from the RFC:
|
||||
- edit-config xpath select statement does not support namespaces
|
||||
|
||||
Restconf
|
||||
========
|
||||
Clixon Restconf is a daemon based on FastCGI C-API. Instructions are available to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue