Commit graph

131 commits

Author SHA1 Message Date
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
e169485985 Datastore cache introduced; Added yang to XML API 2017-12-02 14:49:49 +01:00
Olof hagsand
2ebd89d636 Added --with-config-compat and --with-startup-compat to configure 2017-11-23 20:51:33 +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
3d3ecd4e4d startup_mode: did not clear running 2017-11-20 22:25:55 +01:00
Olof hagsand
013a0dba14 editt changelog 2017-11-19 19:11:34 +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
61551b07d6 When user callbacks p_statedata() clixon_backend nolonger silently exit 2017-11-14 23:14:51 +01:00
Olof Hagsand
3c41a79102 hen user callbacks such as statedata() call returns -1, clixon_backend no
longer silently exits. Instead a log is printed and an RPC error is returned.
2017-11-12 15:50:22 +00:00
Olof hagsand
d9c126eed0 en user callbacks such as statedata() call returns -1, clixon_backend no
longer silently exits. Instead a log is printed and an RPC error is returned.
2017-11-12 16:48:48 +01:00
Olof Hagsand
145f6acd2e More than one restconf input arg 2017-10-29 17:03:09 +01:00
Olof Hagsand
e8a8d6e871 Restconf: http cookie sent as attribute in rpc restconf_post operations to backend. 2017-10-25 21:09:04 +02: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
1c871d9ba2 apple darwin 2017-10-12 22:24:23 +02:00
Olof hagsand
14cfc46ce4 Apple Darwin port 2017-10-12 22:03:02 +02:00
Olof Hagsand
2d9e4666eb restconf dbg 2017-10-08 19:44:00 +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
c74cdda1e8 Merge branch 'master' into develop 2017-09-27 18:22:11 +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
a691124189 Merge branch 'master' into develop
Conflicts:
	CHANGELOG.md
2017-09-24 17:08:44 +02:00
Olof hagsand
229ddcf5cc non-line scrolling mode in getline 2017-09-24 16:58:27 +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
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
ed8f145968 use-before-assign 2017-07-28 20:53:46 +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
2141b4972a handled netconf plugin 2017-07-23 14:25:40 +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
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