Commit graph

51 commits

Author SHA1 Message Date
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
Olof hagsand
1b6c9aacbe Added validation for leafref forward and nackward references. 2017-07-18 19:56:54 +02:00
Olof hagsand
4e986d6660 Added new backend plugin callback: plugin_statedata() for getting state data; Added generic xml_merge() function. 2017-07-05 12:30:42 +02:00
Olof hagsand
f5c19d8586 Added state data 2017-07-01 17:42:39 +02:00
Olof hagsand
abd3eee17d Generic map_str2int generic mapping tables; Removed vector return values from xmldb_get() 2017-06-21 21:02:09 +02:00
Olof hagsand
91f91fe526 memleaks, cli-generate leafref 2017-06-06 22:09:37 +02:00
Olof hagsand
3453dae0db - removed api_path extension from internal netconf
- Strings in xmldb_put not properly encoded, eg eth/0 became eth.00000
2017-05-30 21:57:06 +02:00
Olof hagsand
a18f66b6d0 Preparing for 3.3.0 2017-05-07 17:38:43 +02:00
Olof Hagsand
9c4ac8678d Merge branch 'develop' of https://github.com/clicon/clixon into develop 2017-05-07 16:15:11 +02:00
Olof Hagsand
24578767e7 sigpipe problems 2017-05-07 16:14:49 +02:00
Olof hagsand
4bcb966dac xmldb_init -> xmldb_create 2017-05-02 22:29:56 +02:00
Olof hagsand
69ff0e3891 Refined netconf none semantics in tests and text datastore 2017-05-01 12:46:09 +02:00
Olof hagsand
ee9b74d735 formalizing xmldb api 2017-04-16 19:06:19 +02:00
Olof hagsand
540cd96e74 datastore handles 2017-04-15 19:42:35 +02:00
Olof hagsand
d26a801bc0 Added connect/disconnect/getopt/setopt and handle to xmldb API; Added datastore 'text'; Moved apps/dbctrl to datastore/ 2017-04-15 13:53:58 +02:00
Olof hagsand
85af4342dc common plugin code, removed clixon_proc.c 2017-04-12 22:39:01 +02:00
Olof hagsand
2758a30bb7 Configure (autoconf) changes: Removed libcurl dependency, Disable restconf and disable restconf options. Added empty text datastore 2017-04-11 20:15:43 +02:00
Olof hagsand
f6b3e95100 Created xmldb plugin api 2017-04-09 22:53:48 +02:00
Olof hagsand
4169bd8d30 Ongoing: xmldb datastore plugin framework 2017-04-08 20:39:04 +02:00
Olof hagsand
c59869a44e Alternative yang spec option -y added to all applications 2017-04-04 21:37:42 +02:00
Olof hagsand
236b661e43 cleaned up string functions 2017-04-04 17:11:21 +02:00
Olof Hagsand
18093441a8 revert xsl for . and .. 2017-04-03 15:21:13 +02:00
Olof hagsand
19813a4d9c restconf post/put/head/patch, memtests 2017-03-26 15:14:37 +02:00
Olof hagsand
eec5896797 internal netconf mods 2017-03-25 18:24:52 +01:00
Olof hagsand
2fcefda831 Change internal protocol from clicon_proto.h to netconf. 2017-03-25 11:10:50 +01:00
Olof hagsand
4461cc9598 Netconf startup configuration support. Set CLICON_USE_STARTUP_CONFIG to 1 to
enable. Eg, if backend_main is started with -CIr startup will be copied to
  running.
 Added .. as valid step in xpath
2017-02-10 11:54:34 +01:00
Olof Hagsand
5650f29da1 wrong log format 2017-02-01 13:07:26 +01:00
Olof hagsand
7f0b9909b3 Library functions in clixon_cli_api.h (e.g cli_commit) is rewritten in new
for (eg cli_commitv). See clixon_cli_api.h for new names.
Use restconf format for internal xmldb keys. Eg /a/b=3,4
Changed example to use multiple cli callbacks
2017-01-31 22:36:14 +01:00
Olof hagsand
2db346abc8 Added cli multiple callback and expand support. 2017-01-15 20:22:51 +01:00
Olof hagsand
bc2b606167 dual license 2016-12-30 16:14:48 +01:00
Olof Hagsand
5c938febf4 xpath multiple match, int main, etc 2016-11-17 21:25:49 +01:00
Olof hagsand
b744a4ad8a restconf; xmlput extended with api_path; xmldb_put_tree 2016-09-20 21:51:08 +02:00
Olof hagsand
887d43428b json parser 2016-08-15 09:29:22 +02:00
Olof Hagsand
20087932c5 xml rm self, debug backend, xml2json to cbuf 2016-08-07 15:42:14 +02:00
Olof Hagsand
8bf95cab31 log debug 2016-07-18 16:14:16 +02:00
Olof Hagsand
eaaf1b83e8 notify filter 2016-05-22 17:37:28 +02:00
Olof Hagsand
dfa30aa39c xml_print 2016-04-17 17:52:48 +02:00
Olof hagsand
741fb97a9f double predicates in xpath; leaks; grideye debug 2016-03-26 10:47:58 +01:00
Olof hagsand
c1c1670a74 getting legacy grideye application to work on clixon 2016-03-20 22:25:42 +01:00
Olof hagsand
6169ea6bed incremental debuggung 2016-03-14 21:22:37 +01:00
Olof hagsand
6d8acdea9f truncate helptext 2016-03-09 21:01:57 +01:00
Olof hagsand
0a812696c2 xmldb 2016-03-07 20:55:55 +01:00
Olof hagsand
cf3cf351c8 xmldb api cleanup 2016-03-02 09:38:52 +01:00
Olof Hagsand
caccfe8f2d distclean 2016-02-28 16:46:49 +01:00
Olof Hagsand
79b77943f9 renamed .h and libs clicon->clixon 2016-02-28 15:27:36 +01:00
Olof Hagsand
eb93d82caa docker support 2016-02-26 19:47:30 +01:00
Olof hagsand
5a45eca301 file rearrangement 2016-02-26 16:05:34 +01:00
Olof hagsand
9bd941ab76 commit xpath 2016-02-24 21:16:15 +01:00
Olof hagsand
33fac8a4c6 fixed commit 2016-02-22 23:07:30 +01:00