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
178a09cf3b
Removed unused functions: cli_exec, cli_ptpush, cli_ptpop
2017-10-21 19:15:24 +02:00
Olof hagsand
4b0c060667
Added option CLICON_CLISPEC_FILE; Replaced cli_ functiuons with cligen_
2017-10-17 19:35:46 +02:00
Olof hagsand
14cfc46ce4
Apple Darwin port
2017-10-12 22:03:02 +02:00
Olof Hagsand
089b2da71c
cli help
2017-10-07 11:24:25 +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
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
229ddcf5cc
non-line scrolling mode in getline
2017-09-24 16:58:27 +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
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
e5b625e722
Added support for yang presence and no-presence containers.
2017-07-23 12:59:02 +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
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
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
a285b14222
delq
2017-05-01 16:01:14 +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
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
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
2e09f54d12
LDFLAGS
2017-03-14 20:46:58 +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
41680474c7
Added --with-cligen and --with-qdbm configure options; union type check for non-cli (eg xml) input
2017-01-12 08:39:12 +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
f4e0b4bf20
Fixes for multiple list keys
2016-11-19 21:20:56 +01:00
Olof Hagsand
5c938febf4
xpath multiple match, int main, etc
2016-11-17 21:25:49 +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