Dave Cornejo
8f9a38d2aa
add handling of CDATA to XML parser
2018-06-07 13:26:18 -10:00
Olof hagsand
5cabc11bfb
* Added -U <user> command line to clixon_cli and clixon_netconf for NACM pseudo-user tests
2018-06-07 21:34:52 +02:00
Olof Hagsand
de69b253dc
check null ptr
2018-06-07 21:10:01 +02:00
Olof hagsand
c5991c9844
* Added a generated CLI show command that works on the generated parse tree with auto completion.
...
* A typical call is: show @datamodel:example, cli_show_auto("candidate", "json");
* The example contains a more elaborate example.
* Thanks ngashok for request, see https://github.com/clicon/clixon/issues/24
2018-06-05 16:45:43 +02:00
Olof hagsand
0ad6703663
xmlns sanity check
2018-06-05 16:43:43 +02:00
Olof hagsand
849e46191e
* Added xmlns validation
...
* for eg <a xmlns:x="uri"><x:b/></a>
2018-06-05 09:42:11 +02:00
Olof hagsand
39538461c2
dont exit cli when expand gets auth denied from backend
2018-06-03 20:18:43 +02:00
Olof hagsand
7e4e1d6deb
* Support for YANG identity and identityref according to RFC 7950 Sec 7.18 and 9.10
...
* Previous support did no validation of values.
* Validation of types and CLI expansion
* Example extended with inclusion of iana-if-type RFC 7224 interface identities
2018-06-03 15:36:05 +02:00
Olof hagsand
ea13727e97
* Removed cli callback vector functions. Set COMPAT_COMPAT_CLIV if you need to keep these functions in clixon_custom.h.
...
* Added --enable-debug.
2018-05-30 22:38:12 +02:00
Olof hagsand
c8733e5ed8
Merge branch 'develop' of https://github.com/clicon/clixon into develop
2018-05-29 22:44:49 +02:00
Olof hagsand
5bc39a9bc0
from 3.6.1: * https://github.com/clicon/clixon/issues/23 clixon_cli failing with error
...
* The example included a reference to nacm yang file which did not exist and was not used
* Added clixon-config@2018-04-30.yang
2018-05-29 22:27:41 +02:00
Olof hagsand
8b7cabeb36
* https://github.com/clicon/clixon/issues/23 clixon_cli failing with error
...
* The example included a reference to nacm yang file which did not exist and was not used
* Added clixon-config@2018-04-30.yang
2018-05-29 22:17:55 +02:00
Olof hagsand
cfe4702069
* Added cligen variable translation.
...
* See FAQ and example
2018-05-28 22:50:22 +02:00
Olof Hagsand
0622f6aafe
xml/xsl test programs
2018-05-27 18:31:19 +00:00
Olof hagsand
b230215eaf
unit test pgm
2018-05-19 00:27:53 +02:00
Olof Hagsand
958c1c0197
Merge branch 'develop' of https://github.com/clicon/clixon into develop
2018-05-18 22:17:40 +00:00
Olof Hagsand
a14c8c9778
unit test
2018-05-18 22:17:09 +00:00
Olof Hagsand
353f2e6038
added merge of json trees
2018-05-15 22:24:44 +02:00
Olof Hagsand
20a677cb6c
code cleanup and doc
2018-05-12 19:00:46 +02:00
Olof Hagsand
82351afde3
header docs
2018-05-08 21:53:46 +02:00
Olof hagsand
4257999df5
Fixed JSON unbalanced braces resultin assert
2018-05-06 21:06:52 +02:00
Olof hagsand
697c021d49
Starting 3.7.0 branch
2018-05-06 20:55:38 +02:00
Olof hagsand
c439c97dbc
Merge branch 'master' into develop
2018-05-06 20:53:41 +02:00
Olof hagsand
15ec033f6c
3.6.0
2018-04-30 19:06:37 +02:00
Olof hagsand
2469978ac9
Merge branch 'develop'
2018-04-30 19:02:52 +02:00
Olof Hagsand
5d4abbff38
Merge branch 'develop' of https://github.com/clicon/clixon into develop
2018-04-30 18:57:50 +02:00
Olof hagsand
7532fdde77
* INSTALLFLAGS added with default value -s(strip).
...
* For debug do: CFLAGS=-g INSTALLFLAGS= ./configure
2018-04-30 12:06:19 +02:00
Olof hagsand
1ac57dedaf
Some memleaks and last minute 3.6 release changes.
2018-04-29 18:35:06 +02:00
Olof Hagsand
3df4a8a190
Added keyword arg to find schemanode functions
2018-04-27 19:15:11 +02:00
Olof Hagsand
aa2ada1f5c
Merge pull request #21 from rbgarga/fix_install_lib
...
Improve permissions and strip binaries (part 2)
2018-04-26 23:10:33 +02:00
Renato Botelho do Couto
680753a5e2
Improve permissions and strip binaries (part 2)
...
- Use 0755 for directories
- Use 0644 for libraries, includes and shared files
- Use -s (strip) parameter when installing binaries and libraries
2018-04-25 13:56:25 -05:00
Olof hagsand
d57a6cf53c
* plugin_start() callbacks added for restconf
...
* Hard-wired users for authentication example
2018-04-24 17:43:19 +02:00
Olof hagsand
602f5034b4
NACM external file support. CLICON_NACM_FILE config option, if CLICON_NACM_MODE is external
2018-04-23 23:09:55 +02:00
Olof Hagsand
d032dbe1cb
Merge pull request #20 from dcornejo/develop
...
include limits.h for non-Linux compatibility
2018-04-23 21:39:51 +02:00
Olof Hagsand
d624cf7513
Merge pull request #19 from rbgarga/improve_makefile
...
Improve permissions and strip binaries
2018-04-23 21:32:54 +02:00
Dave Cornejo
513df9b19d
include limits.h for non-Linux compatibility
2018-04-23 08:49:45 -10:00
Renato Botelho do Couto
dabf0e5918
Improve permissions and strip binaries
...
- Use 0755 for directories
- Use 0644 for libraries, includes and shared files
- Use -s (strip) parameter when installing binaries and libraries
2018-04-23 13:33:21 -05:00
Olof hagsand
50522df3d9
Showing syntax using CLI commands was broekn and is fixed.
2018-04-22 21:36:55 +02:00
Olof hagsand
1913407e52
Replacing remaining badrequest() with proper restconf error msg.
2018-04-22 20:13:54 +02:00
Olof hagsand
3ed1c98556
* Fixed issue https://github.com/clicon/clixon/issues/18 RPC response issues reported by Stephen Jones at Netgate
2018-04-22 16:53:12 +02:00
Olof hagsand
67c0abead7
Fixed issue https://github.com/clicon/clixon/issues/17 special character in strings can break RPCs
2018-04-21 16:32:46 +02:00
Olof hagsand
7650803475
* Experimental NACM RFC8341 Network Configuration Access Control Model.
...
* CLICON_NACM_MODE config option, default is disabled.
* Added username attribute to all rpc:s from frontend to backend
* Added NACM backend module in example
2018-04-19 22:44:15 +02:00
Olof Hagsand
04a3f4db1b
Merge branch 'develop' of https://github.com/clicon/clixon into develop
2018-04-15 10:53:12 +01:00
Olof Hagsand
b2abab71f0
local restconf rpc callback sent error and then main restconf handler sent ok. Callback should just return xml buffer, not do actual restconf callback
2018-04-15 10:52:52 +01:00
Olof hagsand
ea792a7850
CHANGELOG typos
2018-04-09 06:27:15 +02:00
Olof Hagsand
24de61f14a
Ignore \r - common http/restconf end-of-line
2018-04-09 04:24:22 +00:00
Olof Hagsand
a2e9a05902
mv api_return_err to restconf_lib.c
2018-04-08 16:07:24 +00:00
Olof Hagsand
0907574acf
renamed plugin_find/each to clixon_plugin_find/each
2018-04-08 14:10:06 +00:00
Olof hagsand
2e00411621
CLI plugin API restructuring completed. Now all plugin APIs have the generic form
...
documented in README and FAQ.
2018-04-08 11:32:43 +02:00
Olof hagsand
afb6aa31db
Cleaned up apps/* Makefile.in:s
2018-04-07 19:04:56 +02:00