Olof hagsand
c3d9b392dd
Scaling large lists report
2019-04-17 15:50:38 +02:00
Olof hagsand
14d319dd9b
* A new "hello world" example is added
...
* The directory `docker/system` has been moved to `docker/main`
2019-04-17 11:26:05 +02:00
Olof hagsand
d46ca41c8b
Further optimizions and bugfixing of that
2019-04-16 12:09:21 +02:00
Olof hagsand
71da2ac6cb
Merge branch 'master' of https://github.com/clicon/clixon
2019-04-14 14:43:20 +02:00
Olof hagsand
c79baf1b1f
* Optimized validation of large lists
...
* New xmldb_get1() returning actual cache - not a copy. This has lead to some householding instead of just deleting the copy
* xml_diff rewritten to work linearly instead of O(2)
* New xml_insert function using tree search. The new code uses this in insertion xmldb_put and defaults. (Note previous xml_insert renamed to xml_wrap_all)
2019-04-14 14:36:41 +02:00
Olof hagsand
cef0dc5a22
* Added yang access functions
...
* Change all y->ys_parent to yang_parent_get(y)
* Change all y->ys_keyword to yang_keyword_get(y)
* Change all y->ys_argument to yang_argument_get(y)
* Change all y->ys_cv to yang_cv_get(y)
* Change all y->ys_cvec to yang_cvec_get(y)
2019-04-11 15:53:25 +02:00
Olof hagsand
0a951899c8
test_type run twice with/without dbcache
2019-04-11 13:22:37 +02:00
Olof hagsand
cf7675dfac
Experimental customized error output strings, see [lib/clixon/clixon_err_string.h]
2019-04-11 12:45:31 +02:00
Olof hagsand
e007014d92
Merge branch 'master' of https://github.com/clicon/clixon
2019-04-11 11:27:02 +02:00
Olof hagsand
56f32371ce
* Backend plugin returning NULL was still installed - is now logged and skipped.
...
* [Parent list key is not validated if not provided via RESTCONF #83 ](https://github.com/clicon/clixon/issues/83 ), thanks achernavin22.
2019-04-11 11:25:42 +02:00
Olof Hagsand
1b9ddaee28
Makefile avoid double yacc runs
2019-04-11 10:12:17 +02:00
Olof hagsand
881dd56ee1
Empty leaf values, eg <a></a> are now checked at vlidation.
2019-04-10 17:35:36 +02:00
Olof hagsand
4a1e0f2cbc
xmldb_get cache bug
2019-04-10 15:58:21 +02:00
Olof hagsand
6bfa510ea3
[Invalid JSON if GET /operations via RESTCONF #82 ]( https://github.com/clicon/clixon/issues/82 ), thanks achernavin22
2019-04-09 16:32:17 +02:00
Olof hagsand
9b9b53c4ee
changelog fix
2019-04-07 16:15:08 +02:00
Olof hagsand
a37b89600f
Merge branch 'master' of https://github.com/clicon/clixon
2019-04-07 16:04:23 +02:00
Olof hagsand
e29cd7cfb9
* Optimized validation by making xml_diff work on raw cache tree (not copies)
...
* xmldb_get() removed unnecessary config option
2019-04-07 15:55:53 +02:00
Olof hagsand
4fbec973d7
List ordering bug - lists with ints as keys behaved wrongly and slow
2019-04-07 15:49:19 +02:00
Olof Hagsand
473d82a8a3
NACM read default rule did not work properly if nacm was enabled AND no group\
...
s were defined
2019-04-07 15:49:19 +02:00
Olof Hagsand
24181a2933
Adaptions for ARMv7
2019-04-07 15:49:19 +02:00
Olof Hagsand
a2f0dc2e7d
Modernizing autoconf utilities
2019-04-07 15:49:19 +02:00
Olof hagsand
4021d65d7a
Merge branch 'master' of https://github.com/clicon/clixon
2019-04-07 15:47:10 +02:00
Olof hagsand
473d65c511
* Optimized validation by making xml_diff work on raw cache tree (not copies)
...
* xmldb_get() removed unnecessary config option
2019-04-06 21:43:51 +02:00
Olof hagsand
2d7e303341
List ordering bug - lists with ints as keys behaved wrongly and slow
2019-04-05 20:08:54 +02:00
Olof Hagsand
5b78abccdc
NACM read default rule did not work properly if nacm was enabled AND no group\
...
s were defined
2019-04-03 18:19:14 +02:00
Olof Hagsand
daad731739
Adaptions for ARMv7
2019-04-03 09:29:49 +01:00
Olof Hagsand
f11f7eb40e
Modernizing autoconf utilities
2019-04-03 09:07:12 +01:00
Olof hagsand
b5f1f7346e
Structural C-code change: Merged yang_spec and yang_node types into yang_stmt
2019-04-02 12:27:33 +02:00
Olof hagsand
4f9e942103
Merge branch 'master' into develop
2019-04-02 11:46:54 +02:00
Olof hagsand
4de15343c9
optimize
2019-04-02 11:46:28 +02:00
Olof hagsand
ed62c33a79
xpath parser scan strings instead of characters
2019-04-02 11:01:01 +02:00
Olof hagsand
a68174897d
leaf-list default; yangmodels/junos models
2019-04-01 16:04:02 +02:00
Olof hagsand
c1b489c8db
Merge branch 'develop'
2019-03-31 20:54:44 +02:00
Olof Hagsand
1d2a001597
memleak
2019-03-31 20:38:33 +02:00
Olof Hagsand
34196456a2
mv example to example/main
2019-03-31 18:34:30 +02:00
Olof hagsand
65451f1045
forgot new data and datastore files
2019-03-31 18:20:48 +02:00
Olof hagsand
98a5ebc76e
* Structural change: removed datastore plugin and directory, and merged into regulat clixon lib code.
...
* Moved out code from clixon_options.[ch] into a new file: clixon_data.[ch]
2019-03-31 18:17:40 +02:00
Olof Hagsand
5123dbb3ac
memtest fixes
2019-03-29 16:48:51 +01:00
Olof Hagsand
c07577b42b
startup diff vector should be children of config root, not root itself
2019-03-29 15:31:00 +01:00
Olof Hagsand
38991084a5
mem.sh with more than one target
2019-03-28 21:57:28 +01:00
Olof hagsand
a269e26c0d
Directory change: Moved example to example/main to make room for other examples
2019-03-28 17:58:47 +01:00
Olof hagsand
60cb87f998
Removed argc/argv parameters from ca_start plugin API function. You may need to change signatures of your startup in your plugins
2019-03-28 17:11:55 +01:00
Olof hagsand
cdbce7645e
Changed hash API for better error handling
2019-03-28 13:16:44 +01:00
Olof hagsand
0f359676b1
Merge branch 'master' of https://github.com/clicon/clixon
2019-03-28 11:24:35 +01:00
Olof hagsand
b10c3c5727
more upgrade-interfaces test cases
2019-03-28 10:56:53 +01:00
Olof Hagsand
7ee4a151cf
guard CLICON_CLI_HIST_SIZE with CLIgen default
2019-03-28 09:19:43 +01:00
Olof hagsand
772d93963c
Merge branch 'master' of https://github.com/clicon/clixon
2019-03-27 18:15:38 +01:00
Olof hagsand
3dfc1f56a0
upgrade docs
2019-03-27 18:15:16 +01:00
Olof Hagsand
72e5ca884c
tab err
2019-03-27 18:06:01 +01:00
Olof hagsand
be59bd48d8
upgrade example and test
2019-03-27 18:04:01 +01:00