Olof hagsand
deb89600ed
memleaks
2018-07-20 23:16:26 +02:00
Olof hagsand
ba7f84afee
* Much better support for XPATH 1.0 according to https://www.w3.org/TR/xpath-10 using yacc/lex
...
* NOTE: Due to an error in the previous implementation, all XPATH calls on the form `x[a=str]` where `str` is a string (not a number or XML symbol), must be changed to: `x[a='str'] or x[a="str"]`
* This includes all calls to `xpath_vec, xpath_first`, etc.
* All calls to cli_copy_config in CLI spec files must replace 2nd argument from `x[%s=%s]` to `x[%s='%s']`
* The old API is stillenabled. To define the new, define XPATH_USE_NEW in include/clixon_custom.h and recompile
2018-07-17 16:59:32 +02:00
Olof hagsand
85c4782e36
Dedicated xml,json,yang and xsl parser utility programs added
...
Sanity check of stdarg (...) added
Cleanup of error messages.
2018-06-17 19:40:06 +02:00
Olof hagsand
7e4e1d6deb
* Support for YANG identity and identityref according to RFC 7950 Sec 7.18 and 9.10
...
* Previous support did no validation of values.
* Validation of types and CLI expansion
* Example extended with inclusion of iana-if-type RFC 7224 interface identities
2018-06-03 15:36:05 +02:00
Olof hagsand
6ed769e082
The Clixon example has changed name from routing to example affecting all config files, plugins, tests, etc.
2018-04-02 13:18:47 +02:00
Olof hagsand
efa72e9e6f
* Proper RFC 6241 Netconf error handling
...
* New functions added in clixon_netconf_lib.[ch]
* Datastore code modified for RFC 6241
* Remaining: validate, generic restconf and netconf code
2018-03-18 18:06:02 +00:00
Olof hagsand
6b0e0a9d18
preparations for 3.5.0
2018-02-11 16:46:10 +07:00
Olof hagsand
cefaf4717f
Making the tests self-contained wrt config file and lib.sh creating test scratch dir.
2018-01-07 17:56:33 +01:00
Olof hagsand
83cb696d0e
Corrected "No yang spec" printed on tty on leafref CLI usage
2018-01-06 13:40:14 +01:00
Olof hagsand
4b92dbdc10
Optimized search performance for large lists by sorting and binary search
2017-12-27 11:34:47 +01:00
Olof hagsand
496d676ad3
Backend daemon startup modes
2017-11-19 11:52:30 +01:00
Olof hagsand
5cea5fa768
xml config default; api_path_fmt2api_path cleanup
2017-10-03 22:41:12 +02:00
Olof hagsand
7a7bfc48a4
experimental xml hash for better performance
2017-09-18 20:53:49 +02:00
Olof hagsand
d0660bf611
Added xpath support for predicate: current(); added by-reference return for schema_nodeid functions; prototype enum2int function
2017-07-30 11:00:02 +02:00
Olof hagsand
9ab46e21d2
Added prefix parsing of xpath, allowing eg /p:x/p:y, but prefix ignored.
2017-07-28 16:28:39 +02:00
Olof hagsand
5ae1aeb427
Added support for YANG anyxml; Yang union CLI generation and validation; Removed yang string escaping
2017-07-27 11:54:28 +02:00
Olof hagsand
2d65fdbe93
Changed top-level netconf get-config and get to return <data>..</data> instead of <data><config>...</config></data> to comply to the RFC.
2017-07-23 14:45:33 +02:00
Olof hagsand
e5b625e722
Added support for yang presence and no-presence containers.
2017-07-23 12:59:02 +02:00