Commit graph

809 commits

Author SHA1 Message Date
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
Olof hagsand
4902f7cf1d Merge branch 'develop' 2019-03-27 16:32:01 +01:00
Olof hagsand
8a18b04a34 xml_wrap, clicon-argv() 2019-03-27 16:07:38 +01:00
Olof hagsand
6ff36a2894 * Added xml_wrap function that adds an XML node above a node as a wrapper
* also renamed `xml_insert` to `xml_wrap_all`.
* Added `clicon_argv_get()` function to get the user command-line options, ie the args in `-- <args>`. This is an alternative to using them passed to `plugin_start()`.
2019-03-27 16:04:14 +01:00
Olof Hagsand
5fd092b785 reverted internal-rpc nacm rule 2019-03-26 16:26:07 +01:00
Olof hagsand
8624be0a67 xml changelog next iteration 2019-03-26 12:04:51 +01:00
Olof Hagsand
3f3f70dfd6 xml changelog 2019-03-25 22:55:24 +01:00
Olof Hagsand
1991c3870c uninitialized vars 2019-03-25 22:16:51 +01:00
Olof hagsand
7b9edd7112 ret error 2019-03-25 14:31:21 +01:00
Olof hagsand
b9df1ed5b3 mem-leak 2019-03-25 11:26:57 +01:00
Olof hagsand
a0abf8436e XML chanelog revision 2019-03-25 10:42:27 +01:00
Olof Hagsand
0c0efd4037 Added synatctic check for yang status: current, deprectated or obsolete 2019-03-23 13:23:50 +01:00
Olof Hagsand
69dcc721a9 * Added CLICON_NACM_MODE "internal-rpc" which is for RPC functionality only 2019-03-22 17:09:05 +01:00
Olof Hagsand
0898870e68 Re-inserted cli_output_reset for what was erroneuos thought to be an obsole\
te function
2019-03-22 16:13:51 +01:00
Olof Hagsand
d3ac21a975 startup doc upgrade 2019-03-22 10:16:38 +01:00
Olof Hagsand
f4a19f6371 doc startup with new upgrade mechanism 2019-03-22 10:05:27 +01:00
Olof Hagsand
9d64ddd305 handle null 2019-03-21 20:51:57 +01:00
Olof Hagsand
10d45bcee3 Memory leaks and errors 2019-03-21 20:36:47 +01:00
Olof hagsand
3f68cca06c * New yang changelog experimental feature for automatic upgrade
* Added modules-state diff parameter to xmldb_get datastore function for startup scenarios.
* Allowed Yang extended Xpath functions (syntax only):
  * re-match, deref, derived-from, derived-from-or-self, enum-value, bit-is-set
* XSD regular expression handling of dash(`-`)
  *: Translate XDS `[xxx\-yyy]` to POSIX `[xxxyyy-]`.
* YANG Anydata treated same as Anyxml
2019-03-21 18:05:55 +01:00
Olof hagsand
434f0b930e Made Makefile concurrent so that it can be compiled with -jN 2019-03-21 10:40:00 +01:00
Olof hagsand
0bf838eb8c added module-revision Yang 2019-03-19 11:55:44 +01:00
Olof hagsand
e8983a4be5 Upgrade repair test and docs 2019-03-19 10:04:16 +01:00
Olof hagsand
7b30b7a9e0 ordering problems 2019-03-18 21:59:41 +01:00
Olof hagsand
789732c613 xml sort adjust to different yang models
global yang ordering for top-level xml symbols
2019-03-18 19:15:21 +01:00
Olof hagsand
606245ef02 * Added flags to example backend to control its behaviour:
* Start with `-- -r` to run the reset plugin
  * Start with `-- -s` to run the state callback
* Rewrote yang dir load algorithm to follow the algorithm in [FAQ](FAQ(doc/FAQ.md#how-are-yang-files-found) with more precise timestamp checks, etc.
2019-03-18 16:31:34 +01:00
Olof hagsand
8f656da15b Bugfix: [Nodes from more than one of the choice's branches exist at the same time](https://github.com/clicon/clixon/issues/81) 2019-03-14 16:33:10 +01:00
Olof hagsand
b3cd48468d Cleaned up after regression tests. New upgrade running docs. 2019-03-13 13:26:04 +01:00