Commit graph

  • a8f0aad411 * Yang parser is stricter (see cardinality below) which may break parsing of slack yang specs. * YANG parser cardinality checked (only modules level yet) * See https://github.com/clicon/clixon/issues/48 Olof hagsand 2018-11-18 20:55:57 +01:00
  • 9c57902b96 * XML parser conformance to W3 spec * Names lexically correct (NCName) * Syntactically Correct handling of '<?' (processing instructions) and '<?xml' (XML declaration) * XML prolog syntax for 'well-formed' XML * <!DOCTYPE (ie DTD) is not supported. Olof hagsand 2018-11-18 13:22:08 +01:00
  • 9bd0dc42c6 3.9 develop branch Olof hagsand 2018-11-11 12:20:51 +01:00
  • 9881fe7a92 Merge branch 'master' into develop Olof hagsand 2018-11-11 11:53:39 +01:00
  • 9bd67b21e6 3.8.0 version number Olof hagsand 2018-11-11 11:52:52 +01:00
  • 845bc875c2 Merge branch 'master' into develop Olof hagsand 2018-11-11 11:47:00 +01:00
  • 7ac57283f0 roadmap Olof hagsand 2018-11-07 23:15:20 +01:00
  • 33c8a3a25d roadmap Olof hagsand 2018-11-07 23:10:26 +01:00
  • b92050686a Release 3.8.0 Olof hagsand 2018-11-06 22:44:00 +01:00
  • 3fa04215d4 3.8.0 Olof hagsand 2018-11-06 22:41:48 +01:00
  • 452844423e XPATH axis issue Olof hagsand 2018-11-06 15:46:27 +01:00
  • e343ad6454 Mem leakage and test update for valgrind Olof hagsand 2018-11-06 14:41:43 +01:00
  • d5390fc808 docker master Olof Hagsand 2018-11-05 21:16:12 +00:00
  • a49c007800 3.8 delayed to Nov 8 Olof hagsand 2018-11-04 22:59:15 +01:00
  • 40fac27c2e Merge branch 'develop' for 3.8 release Olof hagsand 2018-11-04 22:45:42 +01:00
  • 02ce0f204b @ problem Olof Hagsand 2018-11-04 21:19:39 +00:00
  • f1d56d05ec echo problem Olof Hagsand 2018-11-04 21:12:45 +00:00
  • a097f87f21 @echo problem Olof Hagsand 2018-11-04 21:11:35 +00:00
  • bd05950d44 cp xml in xml stream notify Olof Hagsand 2018-11-04 21:05:51 +00:00
  • 5aad2e5383 Merge branch 'develop' of https://github.com/clicon/clixon into develop Olof hagsand 2018-11-04 19:47:33 +01:00
  • c1b8921766 readme Olof hagsand 2018-11-04 19:47:14 +01:00
  • 5eaba6fcbf Merge branch 'develop' of https://github.com/clicon/clixon into develop Olof Hagsand 2018-11-04 19:44:32 +01:00
  • 3038efdab0 readme Olof Hagsand 2018-11-04 19:44:03 +01:00
  • 366cf041bd YANG keywords "action" and "belongs-to" implemented by syntactically by parser (but not proper semantics). Olof hagsand 2018-11-04 18:36:55 +01:00
  • 270bf78e1f Backward compatible testing w streams. Nchan manual tests. Olof Hagsand 2018-11-04 16:56:56 +01:00
  • fdfbbcdb9e Restconf stream debugging and README Olof hagsand 2018-11-04 15:59:05 +01:00
  • 09e2e767fe nchan stream tests Olof Hagsand 2018-11-04 15:39:02 +01:00
  • f2810e849f Fork fcgi handler for streams Olof hagsand 2018-11-04 14:46:15 +01:00
  • 911e6e6ed3 stream debugging Olof hagsand 2018-11-01 21:34:27 +01:00
  • e0e2e355d7 stream debug and test Olof hagsand 2018-10-30 22:54:19 +01:00
  • fa9b9c7e2e Stream debug and tests Olof hagsand 2018-10-30 22:28:24 +01:00
  • e4adec413a test stream util function Olof hagsand 2018-10-29 22:38:34 +01:00
  • 7450eae046 * No space after ampersand escaped characters in XML https://github.com/clicon/clixon/issues/52 * Thanks @SCadilhac Olof hagsand 2018-10-29 21:41:16 +01:00
  • f273f52148 changelog Olof hagsand 2018-10-29 20:47:35 +01:00
  • 208ccd82a8 Added configure option CLICON_STREAM_RETENTION is default number of seconds before dropping replay buffers restconf start-time and stop-time query parameters stream_register->stream_add Olof hagsand 2018-10-28 22:13:33 +01:00
  • 9521d1f478 3.8 docs Olof hagsand 2018-10-28 22:13:33 +01:00
  • f23a21d5db stream replay and subscription update Olof hagsand 2018-10-28 21:07:13 +01:00
  • fb0d0606e3 stream replay and subscription update Olof hagsand 2018-10-28 17:17:36 +01:00
  • 25c761202e Announce base:1.0 capability (because we support only legacy framing system).(@SCadilhac) No quotes around revision value. (@SCadilhac) Removed '42+' session id. See https://github.com/clicon/clixon/issues/39 Olof hagsand 2018-10-28 13:36:41 +01:00
  • 906763317b * Single quotes for XML attributes https://github.com/clicon/clixon/issues/51 * Thanks @SCadilhac Olof hagsand 2018-10-28 11:15:37 +01:00
  • 61869c8d44 Fixed https://github.com/clicon/clixon/issues/46 Issue with empty values in leaf-list Thanks achernavin22 Olof hagsand 2018-10-27 17:06:08 +02:00
  • b477e22d1e schema resource conformance-type Olof hagsand 2018-10-27 16:16:54 +02:00
  • 56b82480a4 Allow new lines in prompts Sylvain Cadilhac 2018-10-26 19:34:04 +02:00
  • 02e6d9cecb Add conformance-type to modules-state Sylvain Cadilhac 2018-10-26 19:14:51 +02:00
  • af16760279 * Stream replay support * RFC8040 Restconf replay support: start-time and stop-time query parameter support * This only applies to "native" restconf stream support, Nchan mode has different replay functionality * RFC5277 Netconf replay support using <startTime> and * Replay support is only in-memory and not persistent. External time-series DB could be added. Olof hagsand 2018-10-27 11:12:01 +02:00
  • 77e56868d4 Load netconf notification and add create-subscription to yang. Olof hagsand 2018-10-23 20:43:59 +02:00
  • 71eddeaa74 * Restconf stream notification support - two variants. * Both a "native" stream support and one using nginx/nchan pub/sub. * See (apps/restconf/README.md) for details. * clixon-config YAML file has new revision: 2018-10-21. Olof hagsand 2018-10-21 22:19:38 +02:00
  • a4e29bcdb7 * All yang modules are stored in the clicon_dbspec_yang() option. * Except clixon-config module due to bug reported below * Bug: Top-level Yang symbol cannot be called "config" in any imported yang file. * datastore uses "config" as reserved keyword for storing any XML whoich collides with code for detecting Yang sanit Olof hagsand 2018-10-19 15:26:22 +02:00
  • 7de80e9fcd added netconf capabilities in hello Olof hagsand 2018-10-17 22:45:16 +02:00
  • 40cda7b6a4 * ietf-netconf yang module added with candidate, validate, startup and xpath features enabled. * Added urn:ietf:params:netconf:capability:yang-library:1.0 * Thanks SCadilhac for helping out, see https://github.com/clicon/clixon/issues/39 * uri_percent_encode() and xml_chardata_encode() changed to use stdarg parameters Olof hagsand 2018-10-17 22:36:59 +02:00
  • 7046925fc3 disable pub/sub test Olof hagsand 2018-10-15 22:30:22 +02:00
  • d5f4969780 * Set access/subscribe base URL with: CLICON_STREAM_URL_PREFIX (default https\ ://localhost/streams). * Example: new stream "foo" will get access URL: https://localhost/streams/\ foo * Optional pub/sub support enabled by ./configure --enable-publish * Set publish URL base with: CLICON_STREAM_PUB_PREFIX (default http://local\ host/pub) * Example: new stream "foo" will get pub URL: https://localhost/pub/foo Olof Hagsand 2018-10-15 22:08:38 +02:00
  • dcec834455 Merge branch 'develop' of https://github.com/clicon/clixon into develop Olof hagsand 2018-10-12 18:42:03 +02:00
  • 65c44b41e8 RFC 7895: * Changed Netconf hello to single capabilty urn:ietf:params:netconf:capability:yang-library:1.0 according to YANG 1.1 RFC7950 Sec 5.6.4. * Set by option: CLICON_MODULE_LIBRARY_RFC7895 - enabled by default * Option CLICON_MODULE_SET_ID is set and changed when modules change. Olof hagsand 2018-10-12 18:39:33 +02:00
  • 15031d7a49 stream debug Olof Hagsand 2018-10-12 08:05:48 +00:00
  • a23c1ec68d Added CLIXON_DEFAULT_CONFIG=/usr/local/etc/clixon.xml as option and in exampl\ e (so you dont need to provide -f command-line option). Olof Hagsand 2018-10-11 19:03:35 +00:00
  • 507e03742d Yang 1.1 action syntax added (but function is not supported) Olof hagsand 2018-10-10 22:27:46 +02:00
  • 52021c3856 features Olof hagsand 2018-10-10 20:38:34 +02:00
  • ea77e7f02d * YANG Features * Yang 1.1 feature and if-feature according to RFC 7950 7.20.1 and 7.20.2. * See https://github.com/clicon/clixon/issues/41 * Features are declared via CLICON_FEATURE in the configuration file. * logical combination of features not implemented, eg if-feature "not foo or * Identity without any identityref:s caused SEGV Olof hagsand 2018-10-10 20:11:20 +02:00
  • acb8748470 * Generilized top-level yang parsing functions * Clarified semantics of main yang module: * -y option to commands MUST specify filename * CLICON_YANG_MODULE_MAIN MUST specify a module * yang_parse() changed to take either filename or module name and revision. * Removed clicon_dbspec_name[_set](). * Use yang_main_module_name() instead. * Replaced yang_spec_main with yang_spec_parse_module * Added yang_spec_parse_file Olof hagsand 2018-10-07 11:04:33 +02:00
  • 782f75a7b9 div edits Olof hagsand 2018-10-03 20:20:26 +02:00
  • 4d419aab54 backend_notify backward compatible Olof hagsand 2018-09-30 15:12:36 +02:00
  • 98f3cd0e32 * Major rewrite of event streams * If you used old event callbacks API, you need to switch to the streams API * See clixon_stream.[ch] * Old streams API which needs to be removed include: * clicon_log_register_callback() * subscription_add() --> stream_register() * backend_notify() and backend_notify_xml() - use stream_notify() instead * Example uses "NETCONF" stream instead of "ROUTING" * Added timeout option -t for clixon_netconf - quit after max time. Olof hagsand 2018-09-30 14:51:30 +02:00
  • d7fbe75c9e added clixon_stream.[ch] Olof hagsand 2018-09-23 17:50:19 +02:00
  • 07542269ec Event stream discovery support Added config options CLICON_MODULE_LIBRARY_RFC7895, CLICON_STREAM_DISCOVERY_RFC5277, LICON_STREAM_DISCOVERY_RFC804 Olof hagsand 2018-09-23 17:45:22 +02:00
  • 74fc0800ae * Limited support of RFC 7895 YANG Module Library to list modules: * That is, limited support of: ietf-yang-library.yang * For example: <module><name>example</name><revision/></module><module><name>ietf-restconf-monitoring</name><revision>2017-01-26</revision></module>... * Comply to RFC 8040 3.5.3.1 rule: api-identifier = [module-name ":"] identifier * The "module-name" was a no-op before. * This means that there was no difference between eg: GET /restconf/data/ietf-yang-library:modules-state and GET /restconf/data/XXXX:modules-state Olof hagsand 2018-09-22 16:30:58 +02:00
  • 0631be19cb * Notification event streams enhancements * Yang 1.1 notification support * Event stream discovery support according to RFC 5277 Sec 3.2.5.1 (netconf) and RFC 8040 (restconf) Olof hagsand 2018-09-18 22:49:29 +02:00
  • f37fdb954f ECONNRESET Olof Hagsand 2018-08-27 20:20:43 +00:00
  • 2cadfa167e EPEER Olof Hagsand 2018-08-27 20:14:27 +00:00
  • de2d5be6dd export populate Olof Hagsand 2018-08-27 19:07:52 +00:00
  • bb6d043d6c deprecated readdir_r with readdir Olof Hagsand 2018-08-05 16:34:45 +02:00
  • 7564bcd9b2 docker improvement Olof Hagsand 2018-08-05 12:20:37 +02:00
  • 7c94991fe9 * clixon_restconf and clixon_netconf now take -D <level> as command-line option\ instead of just -D * This aligns to clixon_cli and clixon_backend Olof Hagsand 2018-08-03 13:24:41 +02:00
  • 10ada483e5 Memory error in backend transaction revert Olof Hagsand 2018-08-01 18:34:44 +02:00
  • 656800cdd3 order backend cmd options; open syslog only if syslog is enabled Olof Hagsand 2018-08-01 07:13:33 +00:00
  • 0355942740 flush log file Olof Hagsand 2018-07-30 18:08:34 +00:00
  • c53f3f2fe3 Added file logging (-l f or -l f<file>) for cases where neither syslog nor stderr is useful\ . Olof Hagsand 2018-07-30 17:35:45 +00:00
  • ef9bb742d1 axismap not used Olof Hagsand 2018-07-30 13:32:45 +00:00
  • 66e232beba moved xpath debug level from 1 to 2 Olof Hagsand 2018-07-30 11:56:48 +00:00
  • e497238b8b restconf dual getopt Olof hagsand 2018-07-29 20:54:58 +02:00
  • f9a97c57ca set /www-data access only if sudo Olof hagsand 2018-07-29 20:22:20 +02:00
  • e48f8dd00e clixon_netconf -S is obsolete. Use clixon_netconf -l s instead. * Unified log handling for all clicon applications using -l e|o|s|f. * The options stand for e:stderr, o:stdout, s: syslog, f:file Olof Hagsand 2018-07-29 19:41:10 +02:00
  • 5164db3603 Added clicon_log_init(.., CLICON_LOG_FILE) option and clicon_log_file() for c\ ases where neither syslog or stderr is useful. Olof Hagsand 2018-07-26 20:13:02 +02:00
  • 156660419e * Set dir /www-data with www-data as owner, see https://github.com/clicon/clixo\ n/issues/37 Olof Hagsand 2018-07-26 12:54:14 +02:00
  • 968435ec5e internal backend socket family Olof Hagsand 2018-07-25 12:45:00 +02:00
  • 539a60d613 backend socket options -a -u Olof Hagsand 2018-07-25 11:40:06 +02:00
  • c6a62b96de sock ipv4 Olof hagsand 2018-07-24 22:27:52 +02:00
  • b7eb89962d clixon-sock not mandatory since family may be inet Olof Hagsand 2018-07-24 18:57:10 +00:00
  • 666d74bf1b Added -l option for clixon_backend for directing syslog to stderr or stdout i\ f running in foreground Olof Hagsand 2018-07-24 17:59:17 +02:00
  • f1f0dafcbc Merge branch 'develop' of https://github.com/clicon/clixon into develop Olof Hagsand 2018-07-24 17:44:37 +02:00
  • c1b790e0a5 freebsd Olof hagsand 2018-07-23 21:52:48 +02:00
  • 4daafd1650
    Merge pull request #36 from dcornejo/master Olof Hagsand 2018-07-23 17:52:55 +02:00
  • ea4a5ceda1 Makefile in util directory didn't use LDFLAGS when building binaries Dave Cornejo 2018-07-22 14:21:46 -10:00
  • 56e51f1a8d 3.8.0.PRE preparations and * Obsoleted COMPAT_CLIV and COMPAT_XSL that were optional in 3.7 Olof hagsand 2018-07-22 21:29:21 +02:00
  • 728671944f Merge branch 'develop' for 3.7.0 Olof hagsand 2018-07-22 20:52:02 +02:00
  • f2d2b0a8c0 readme start nginx Olof hagsand 2018-07-22 20:49:16 +02:00
  • 9776ee864f * Makefile change: Removed the make include file: clixon.mk and clixon.mk.in * These generated the Makefile variables: clixon_DBSPECDIR, clixon_SYSCONFDIR, clixon_LOCALSTATEDIR, clixon_LIBDIR, clixon_DATADIR which have been replaced by generic autoconf variables instead. Olof hagsand 2018-07-22 18:33:13 +02:00
  • faea537d25 3.7.0 Olof hagsand 2018-07-22 16:44:58 +02:00
  • 524e7e38f0 docker_example Olof Hagsand 2018-07-21 17:08:50 +00:00
  • 3a39b0361a docker update Olof Hagsand 2018-07-21 17:01:56 +00:00