Commit graph

177 commits

Author SHA1 Message Date
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
6f6ffa2319 Merge branch 'master' of https://github.com/clicon/clixon 2017-09-27 18:10:49 +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
66acc1dea5 cliscrolling wrongly in sanity should be in default 2017-09-24 19:53:48 +02:00
Olof hagsand
936268b813 default set CLICON_CLI_LINESCROLLING 1 2017-09-24 17:05:39 +02:00
Olof hagsand
229ddcf5cc non-line scrolling mode in getline 2017-09-24 16:58:27 +02:00
Olof hagsand
41f30efce9 3.3.2 2017-08-27 20:31:09 +02:00
Olof Hagsand
22df2f6a76 Merge pull request #2 from backerman/patch-1
Clean up README.md
2017-08-27 20:32:02 +02:00
Brad Ackerman
4368c41778 Clean up README.md
Fix link for FAQ, random minor copyediting
2017-08-27 12:03:19 -04: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
a8ea3ead11 Merge branch 'develop' 2017-08-01 20:01:16 +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
89cfe2a9b3 Merge branch 'master' into develop 2017-07-28 20:54:31 +02:00
Olof hagsand
ed8f145968 use-before-assign 2017-07-28 20:53:46 +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
a739e6832a Merge branch 'develop' 2017-07-28 12:40:30 +02:00
Olof hagsand
0c065dc026 yang resolve union 2017-07-28 12:38:41 +02:00
Olof hagsand
e582e7dc7a Merge branch 'develop' 2017-07-27 12:11:20 +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
157fe0221e Merge branch 'develop' 2017-07-23 19:11:15 +02:00
Olof hagsand
8fd59d4452 reformat changelog 2017-07-23 19:08:29 +02:00
Olof hagsand
d7ffc7fdf6 format 2017-07-23 15:40:42 +02:00
Olof hagsand
84726046a9 reformate changelog 2017-07-23 14:56:22 +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
e4efb6ded0 Merge branch 'develop' 2017-07-08 11:13:16 +02:00
Olof hagsand
96f341d8fc state doc 2017-07-08 11:11:46 +02:00
Olof hagsand
14a98d13a4 state doc 2017-07-08 10:59:27 +02:00
Olof hagsand
93eaff60cd state doc 2017-07-08 10:58:33 +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
148d5d9432 yang type resolution fix 2017-06-24 21:41:08 +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
bf30e6f66a 3.3.2_PRE 2017-06-07 21:13:50 +02:00
Olof hagsand
5926c34f25 Merge branch 'master' into develop 2017-06-07 21:11:36 +02:00
Olof hagsand
6ebfc182f3 merged develop to 3.3.1 2017-06-07 20:54:11 +02:00
Olof hagsand
e06ac2e3d2 rest memleak 2017-06-07 20:23:38 +02:00