Olof hagsand
9914847d6a
GET Single element JSON lists use {list:[element]}, not {list:element}.
2018-01-27 13:32:51 +01:00
Olof hagsand
6c7554de25
RESTCONF -Candidate Roll Back #
2018-01-23 22:09:15 +01:00
Olof hagsand
26667b2c2f
Restconf: get well-known, top-level resource, yang library version, put whole datastore,
...
check for different keys in put lists.
2018-01-21 14:31:53 +01:00
Olof hagsand
1ee3f7e67e
Gnuplot script for transactions per second
2018-01-20 16:19:56 +01:00
Olof hagsand
ad4127541e
explaining test
2018-01-20 12:34:52 +01:00
Olof hagsand
cd33380368
Fixed empty restconf data segv; error restconf quit; etc
2018-01-16 22:25:55 +01:00
Olof hagsand
cefaf4717f
Making the tests self-contained wrt config file and lib.sh creating test scratch dir.
2018-01-07 17:56:33 +01:00
Olof hagsand
b5b96cde0c
test: removed exit:s and printed backend start options
2018-01-06 13:42:53 +01:00
Olof hagsand
83cb696d0e
Corrected "No yang spec" printed on tty on leafref CLI usage
2018-01-06 13:40:14 +01:00
Olof hagsand
3758c8dab4
* The following backward compatible options to configure have been obsoleted. If you havent already migrated this code you must do this now.
...
* Backend startup modes prior to 3.3.3. As enabled with `configure --with-startup-compat`. Configure option CLICON_USE_STARTUP_CONFIG is also obsoleted.
* Configuration files (non-XML) prior to 3.3.3. As enabled with `configure --with-config-compat`. The template clicon.conf.cpp files are also removed.
* Clixon XML C-lib prior to 3.4.0. As enabled with `configure --with-xml-compat`
2018-01-01 14:48:57 +01:00
Olof hagsand
19301ae240
sort xml children on parsing
2017-12-31 18:25:53 +01:00
Olof hagsand
174cfc02c6
Added CLICON_XMLDB_PRETTY option. If set to false, XML database files will be more compact.
...
Added CLICON_XMLDB_FORMAT option. Default is "xml". If set to "json", XML database files uses JSON format.
Escape " in JSON names and strings and values
Optimized search performance for large lists by sorting and binary search.
2017-12-29 18:09:26 +01:00
Olof hagsand
4b92dbdc10
Optimized search performance for large lists by sorting and binary search
2017-12-27 11:34:47 +01:00
Olof Hagsand
4742fde1e9
XML creation and parse API changes
2017-12-09 14:14:40 +01:00
Olof hagsand
056b5c97dd
experimental netconf yang spec
2017-12-08 19:37:09 +01:00
Olof hagsand
4cb00bedfa
optimization
2017-12-03 20:22:05 +01:00
Olof hagsand
14faf93eec
fixed datastore cache
2017-12-02 21:53:02 +01:00
Olof hagsand
e169485985
Datastore cache introduced; Added yang to XML API
2017-12-02 14:49:49 +01:00
Olof hagsand
96a7ec86f0
Fixed DESTDIR make install/uninstall and break immediately on errors
2017-11-22 22:21:12 +01:00
Olof hagsand
548ffd2da6
Disabled key-value datastore; Removed mandatory requirements for BACKEND, NETCONF, RESTCONF and CLI dirs
2017-11-19 18:04:23 +01:00
Olof hagsand
8b6bb6ff50
restconf bugs and increased restconf testing
2017-11-19 12:40:32 +01:00
Olof hagsand
496d676ad3
Backend daemon startup modes
2017-11-19 11:52:30 +01:00
Olof Hagsand
2d9e4666eb
restconf dbg
2017-10-08 19:44:00 +02:00
Olof hagsand
5cea5fa768
xml config default; api_path_fmt2api_path cleanup
2017-10-03 22:41:12 +02:00
Olof hagsand
ca7b4d3d9e
Migrated to XML configure file.
2017-10-01 12:33:12 +02:00
Olof hagsand
7a7bfc48a4
experimental xml hash for better performance
2017-09-18 20:53:49 +02:00
Olof hagsand
687641e944
Added event_poll function; optimization experiments
2017-09-15 17:24:51 +02:00
Olof hagsand
624b949b3f
netconf client was limited to 8K byte messages. Now limit is 2^32
2017-09-13 22:30:35 +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
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
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
0c065dc026
yang resolve union
2017-07-28 12:38:41 +02:00
Olof hagsand
fd2a5db31b
fixed empty cli gen err
2017-07-27 12:09:57 +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
f995f1e268
Added completion for generated cli leafrefs for both absolute and relatve paths.
2017-07-19 09:26:56 +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
abd3eee17d
Generic map_str2int generic mapping tables; Removed vector return values from xmldb_get()
2017-06-21 21:02:09 +02:00
Olof hagsand
e06ac2e3d2
rest memleak
2017-06-07 20:23:38 +02:00
Olof hagsand
91f91fe526
memleaks, cli-generate leafref
2017-06-06 22:09:37 +02:00
Olof hagsand
0d7351093b
rm printfs
2017-06-04 10:29:32 +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
74f1728619
docs
2017-05-07 19:03:10 +02:00