Commit graph

1509 commits

Author SHA1 Message Date
Olof hagsand
4d82d4f6ea double free if plugin load failed 2017-09-09 17:42:08 +02:00
Olof hagsand
d8065551b6 cli_copy config bug; allow non-api-path expand_dbvar() 2017-08-03 22:35:02 +02:00
Olof hagsand
ed1c1e1495 merge from develop 2017-08-01 20:07:51 +02:00
Olof hagsand
265ed859de mem leak 2017-08-01 19:39:19 +02:00
Olof hagsand
fd91bb2933 restconf RPC 2017-07-30 16:16:10 +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
6d401cb9d1 (sub)modules to schema nodeid:s 2017-07-29 11:26:34 +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
99f82c5fa1 rm:d obsolete asserts 2017-07-28 15:20:01 +02:00
Olof hagsand
0c065dc026 yang resolve union 2017-07-28 12:38:41 +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
Olof hagsand
e56cf607a3 Added YANG RPC support, with example rpc documentation and testcase (test7.sh); Extended example with ietf-routing (not only ietf-ip). 2017-07-20 10:54:31 +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
f5d2473618 Yang anyxml and extensions; yang dir with ietf-netconf and clixon-config yang specs 2017-07-02 10:52:24 +02:00
Olof hagsand
f5c19d8586 Added state data 2017-07-01 17:42:39 +02:00
Olof hagsand
43c39160a5 Restricted yang (sub)module file match to match RFC6020 exactly 2017-06-25 17:48:21 +02:00
Olof hagsand
3bd6c1bf32 yang type resolution fix 2017-06-24 21:40:05 +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
07fe90b4c4 warnings and asserts 2017-06-05 13:26:47 +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
683376610c json null string error 2017-05-09 20:59:50 +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
7bda16eed5 init -> create 2017-05-06 14:28:44 +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
c2f52845f8 rm xml index; added xml util functions; further xmldb development 2017-04-23 22:32:53 +02:00
Olof hagsand
d02015f456 datastore text works with replace 2017-04-17 19:47:32 +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
d8fa7bc033 retval 2017-04-15 14:01:06 +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
af334bb746 Removed curl dependency 2017-04-10 21:52:39 +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
05edace630 moved detect_endtag to clixon_proto 2017-04-07 12:34:07 +02:00
Olof hagsand
7880b5d498 mem leak in lex for flex 2.6 2017-04-07 10:59:30 +02:00
Olof hagsand
31c45e5c62 removed cli single callback arg code 2017-04-06 10:26:10 +02:00
Olof Hagsand
1e92304a52 show_configuration and cli_copy_object added as generic cli commands 2017-04-05 13:27:02 +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
75e1ea7c1c Merge branch 'develop' of https://github.com/clicon/clixon into develop 2017-04-03 15:54:12 +02:00
Olof hagsand
09cbea65c7 replace chunk code 2017-04-03 15:53:57 +02:00