Olof hagsand
278f3de840
Adding username to all restconf backend calls
2018-02-13 09:17:32 +07:00
Olof hagsand
38f0b446fa
2017->2018
2018-01-01 12:25:33 +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
4742fde1e9
XML creation and parse API changes
2017-12-09 14:14:40 +01:00
Olof hagsand
4cb00bedfa
optimization
2017-12-03 20:22:05 +01:00
Olof hagsand
e169485985
Datastore cache introduced; Added yang to XML API
2017-12-02 14:49:49 +01:00
Olof hagsand
4b0c060667
Added option CLICON_CLISPEC_FILE; Replaced cli_ functiuons with cligen_
2017-10-17 19:35:46 +02:00
Olof Hagsand
089b2da71c
cli help
2017-10-07 11:24:25 +02:00
Olof hagsand
becddfab41
Added format string to clicon_rpc_generate_error() and used that to make better backend error messages
2017-09-27 18:10:13 +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
fd91bb2933
restconf RPC
2017-07-30 16:16:10 +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
abd3eee17d
Generic map_str2int generic mapping tables; Removed vector return values from xmldb_get()
2017-06-21 21:02:09 +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
f6b3e95100
Created xmldb plugin api
2017-04-09 22:53:48 +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
18093441a8
revert xsl for . and ..
2017-04-03 15:21:13 +02:00
Olof hagsand
25d535703e
testing
2017-03-28 21:01:57 +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
319e7707d8
Empty yang type. Relaxed yang types for unions, eg two strings with different length.
2017-01-09 21:26:50 +01:00
Olof hagsand
bc2b606167
dual license
2016-12-30 16:14:48 +01:00
Olof Hagsand
3443dbd33f
restconf plugins and figthing with xml->json translation
2016-09-26 21:44:17 +02:00
Olof hagsand
b82a8bae26
better json printing
2016-09-22 16:57:26 +02:00
Olof hagsand
b744a4ad8a
restconf; xmlput extended with api_path; xmldb_put_tree
2016-09-20 21:51:08 +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
79b77943f9
renamed .h and libs clicon->clixon
2016-02-28 15:27:36 +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
d6e393ea58
Inital commit
2016-02-22 22:17:30 +01:00