Commit graph

645 commits

Author SHA1 Message Date
Olof hagsand
98fb6eceef * Clixon configuration file top-level symbols has changed to clixon-configand namespace check is enforced.
* clixon-config YAML file has new revision: 2019-03-05.
  * New URN and changed top-level symbol to `clixon-config`
* Removed obsolete `_CLICON_XML_NS_STRICT` variable and `CLICON_XML_NS_STRICT` config option.
2019-03-06 09:42:55 +01:00
Olof hagsand
4b17af0278 * Strict XML Prefixed namespace check
* Yang augment created multiple augmented children (no side-effect)
* XML prefixed attribute names were not copied into the datastore
2019-03-04 19:15:23 +01:00
Olof hagsand
b182e8666f [yang type range statement does not support multiple values](https://github.com/clicon/clixon/issues/59)
[Multiple ranges support](https://github.com/clicon/clixon/issues/78)
Restructured "cb" parameter in cli_generate.c
2019-03-04 14:36:43 +01:00
Olof hagsand
fc93051b87 Fixed numeric ordering of lists (again) [https://github.com/clicon/clixon/issues/64] It was previously just fixed for leaf-lists. 2019-02-28 17:07:24 +01:00
Olof hagsand
4d3c61735c Ensure non-modstate enabled backends ignore the modstate 2019-02-28 16:03:23 +01:00
Olof hagsand
31304380cd memleak for unknown in yang parser 2019-02-28 14:39:16 +01:00
Olof Hagsand
00335452fa Added long.sh test for continuous restconf test 2019-02-28 13:13:39 +01:00
Olof Hagsand
3dd67474e0 Merge branch 'master' of https://github.com/clicon/clixon 2019-02-28 13:12:06 +01:00
Olof Hagsand
a529546c88 Merge branch 'master' of https://github.com/clicon/clixon 2019-02-28 13:11:22 +01:00
Olof Hagsand
ff3ff0daa9 * There was a problem with ordered-by-user for XML children that appeared in so\
me circumstances and difficult to trigger. Entries entered by the user did not \
appear in the order they were entered. This should now be fixed by adding an enumeration to xml children for sorting ordered by user properly
2019-02-27 18:20:23 +01:00
Olof Hagsand
ceb5df2050 * New xml_isancestor xml function
* Fixed memleak test for upgrade
2019-02-27 16:33:51 +01:00
Olof Hagsand
f035c3ca23 * Removed all dependency on strverscmp
* Added libgen.h for baseline()
2019-02-27 10:46:05 +01:00
Olof hagsand
d37aec7651 skip test_upgrade 2019-02-26 17:16:14 +01:00
Olof hagsand
598ab84c15 skip test_startup 2019-02-26 17:09:05 +01:00
Olof Hagsand
2ecc5ae634 Optimized text_get 2019-02-26 16:58:49 +01:00
Olof hagsand
2394c6f46e Merge branch 'modules-state' 2019-02-26 16:53:59 +01:00
Olof hagsand
560110b4e8 * New backend startup and upgrade support, see [doc/startup.md] for details
* Datastore files contain RFC7895 module-state information
2019-02-26 15:48:15 +01:00
Olof Hagsand
241ed2ed7d updated startup description 2019-02-26 13:57:04 +01:00
Olof Hagsand
f26de05b7d updated startup description 2019-02-26 13:47:39 +01:00
Olof Hagsand
fb8a1b282c updated startup description 2019-02-26 13:40:34 +01:00
Olof Hagsand
91e92565d2 updated startup description 2019-02-26 13:35:50 +01:00
Olof Hagsand
b49fabd1e3 updated startup description 2019-02-26 12:32:45 +01:00
Olof Hagsand
7590395fe3 Starting 3.10 release cycle
Moved docs to doc/
2019-02-22 14:45:37 +01:00
Olof hagsand
701ef1dead 3.9.0 2019-02-21 20:04:04 +01:00
Olof hagsand
9afdd66f9a Preparing for 3.9.0 2019-02-21 16:12:37 +01:00
Olof hagsand
3c332b689f Added cache for modules-state RFC7895 to avoid building new XML every get call 2019-02-21 15:06:20 +01:00
Olof hagsand
a20865846e new try: optimized yang string parsing 2019-02-20 17:36:40 +01:00
Olof hagsand
8279c015d8 Revert "optimized string lex parsing"
This reverts commit 5b6bdbfd3a.
2019-02-20 16:26:01 +01:00
Olof hagsand
83edd29678 Revert "Revert "* Added valgrind memory leak tests in testmem.sh for restconf""
This reverts commit a73d2bd242.
2019-02-20 16:25:42 +01:00
Olof hagsand
a73d2bd242 Revert "* Added valgrind memory leak tests in testmem.sh for restconf"
String error
This reverts commit 6e63f0a77b.
2019-02-20 16:19:07 +01:00
Olof hagsand
5b6bdbfd3a optimized string lex parsing 2019-02-20 15:37:10 +01:00
Olof Hagsand
6e63f0a77b * Added valgrind memory leak tests in testmem.sh for restconf
* Added clicon_socket_set() and clicon_socket_get() functions for cleaning up backend server and restconf FCGI socket on termination.
* Removed obsolete `-x` command-line option to clixon_cli.
2019-02-20 13:06:18 +01:00
Olof hagsand
28bd698968 [Issue with bare axis names](https://github.com/clicon/clixon/issues/54) 2019-02-19 22:56:18 +01:00
Olof hagsand
7e4cce0000 test docs 2019-02-19 13:32:03 +01:00
Olof hagsand
4c0b412e9f Added valgrind memory leak tests for backend. Fixed some minor leaks and file descriptor closes. 2019-02-19 13:16:59 +01:00
Olof hagsand
add43d250d Merge branch 'master' of https://github.com/clicon/clixon 2019-02-18 16:10:19 +01:00
Olof hagsand
286c2ec04f Added valgrind memory leak tests in testmem.sh for cli and netconf 2019-02-18 16:05:51 +01:00
Olof hagsand
055b1df80c Merge branch 'develop' of https://github.com/clicon/clixon into develop 2019-02-18 15:53:41 +01:00
Olof Hagsand
5c46a7301e Merge branch 'master' of https://github.com/clicon/clixon 2019-02-16 17:54:05 +01:00
Olof hagsand
0d53b40660 Did not check for missing list keys in validate. [Key of a list isn't mandatory](https://github.com/clicon/clixon/issues/73) 2019-02-16 17:53:24 +01:00
Olof Hagsand
d64d433468 * Changed base OS in clixon-system container to Alpine
* Moved datastore/text/ code to datastore/ since there is only one type of datastore.
* Added "magic script line" to test script for sourced and scriped exits
2019-02-16 17:45:39 +01:00
Olof hagsand
057f4835db Did not check for missing list keys in validate. [Key of a list isn't mandatory](https://github.com/clicon/clixon/issues/73) 2019-02-13 18:19:33 +01:00
Olof hagsand
9fc8ac2e8e README changes 2019-02-13 15:32:39 +01:00
Olof hagsand
54626aaae4 Documented Clixon CLIgen usage and extensions 2019-02-13 15:20:42 +01:00
Olof hagsand
ea8c84a372 Added new log function: clicon_log_xml() for logging XML tree 2019-02-13 11:35:49 +01:00
Olof Hagsand
2ca1c1292c docker system push 2019-02-12 13:38:23 +01:00
Olof Hagsand
860c0c042d Added RCLOG for redirecting restconf logs at tests; with-restconf error in example 2019-02-12 13:19:52 +01:00
Olof Hagsand
f02310dcef More on clixon base container on Alpine 2019-02-12 11:11:04 +01:00
Olof Hagsand
973e5d7507 Example makfile honors --without-restconf 2019-02-11 21:13:12 +01:00
Olof Hagsand
663088e393 makefile cleanup for docker and example 2019-02-11 21:05:24 +01:00