Commit graph

  • 859d424ea3 (Work in progress) Restconf error handling for get and edit operations Olof hagsand 2018-03-11 20:17:11 +01:00
  • 0a11445963 cprintf sanity checks Olof hagsand 2018-03-10 12:35:11 +01:00
  • 11e2b91a05 Experimental: Added CLICON_TRANSACTION_MOD configurqation option. If set, modifications in validation and commit callbacks are written back into the datastore. Olof hagsand 2018-03-07 22:33:47 +01:00
  • 695aef2cb6 changelog Olof hagsand 2018-03-07 21:12:10 +01:00
  • ac7480b9f5 * Invalid key to api_path2xml gives warning instead of error and quit. Olof Hagsand 2018-03-05 19:59:43 +00:00
  • 990700b68d https://github.com/clicon/clixon/issues/16 Added restconf/operations get, see RFC8040 Sec 3.3.2: Olof hagsand 2018-03-04 21:24:38 +01:00
  • 6a22524d38 Fix issue: https://github.com/clicon/clixon/issues/15 Replace whole config Olof hagsand 2018-02-25 20:09:11 +01:00
  • e9b61d4ed7 Merge branch 'develop' of https://github.com/clicon/clixon into develop Olof hagsand 2018-02-25 20:02:55 +01:00
  • 35b142cf4d * Added Yang "extension" statement. This includes parsing unknown statements and identifying them as extensions or not. However, semantics for specific extensions must still be added. * Renamed ytype_id and ytype_prefix to yarg_id and yarg_prefix, respectively Olof hagsand 2018-02-25 20:01:53 +01:00
  • 1e88c38877 translate xml->json \n correctly Olof Hagsand 2018-02-17 20:51:42 +00:00
  • 2acacbf087 Use <config> instead of <data> when save/load configuration Olof hagsand 2018-02-15 09:29:10 +07:00
  • 67f4478f76 Merge branch 'master' into develop Olof hagsand 2018-02-13 09:42:06 +07:00
  • 439bacf2e4 FAQ update Olof hagsand 2018-02-13 09:41:11 +07:00
  • 278f3de840 Adding username to all restconf backend calls Olof hagsand 2018-02-13 09:17:32 +07:00
  • 36d310de88 developbranch 3.6.0.PRE Olof hagsand 2018-02-12 09:18:52 +07:00
  • 1b51c5d7c4 Merge branch 'master' into develop Olof hagsand 2018-02-12 09:17:18 +07:00
  • 54826065a9 3.5.0 Olof hagsand 2018-02-12 09:14:01 +07:00
  • 6c2327a0b8 Merge branch 'develop' for 3.5.0 Olof hagsand 2018-02-12 09:11:40 +07:00
  • 7431757e53 Preparing for 3.5.0 Olof hagsand 2018-02-12 09:05:27 +07:00
  • 6b0e0a9d18 preparations for 3.5.0 Olof hagsand 2018-02-11 16:46:10 +07:00
  • 55010e7541 restconf credentials plugin Olof hagsand 2018-02-09 12:18:39 +07:00
  • e40d785d5c * Added a "user" parameter to plugin_credentials() restconf callback. To enable authentication and in preparation for access control a la RFC 6536. * yang string length "max" keyword set to MAXPATHLEN Olof hagsand 2018-02-08 15:24:05 +07:00
  • 3ffe68d124
    Merge pull request #13 from rbgarga/fix_config_path2 Olof Hagsand 2018-02-07 13:31:20 +01:00
  • d670b6af8a Make default config to respect sysconfdir Renato Botelho do Couto 2018-02-06 05:54:05 -06:00
  • eea8cd7660 xml2cvec: range error (eg 1000 for int8) is not treated as error, just log and skip. Olof hagsand 2018-02-03 14:56:27 +07:00
  • 2bbf0b8a15 xml2json dont put doublequotes on numbers and bool values in json Olof hagsand 2018-02-02 16:35:37 +07:00
  • ffe77c9127 restconf performance test Olof hagsand 2018-01-27 14:46:53 +01:00
  • f65187df7f code cleanup Olof hagsand 2018-01-27 14:28:57 +01:00
  • 7db1de19de Merge branch 'develop' of https://github.com/clicon/clixon into develop Olof hagsand 2018-01-27 13:33:16 +01:00
  • 9914847d6a GET Single element JSON lists use {list:[element]}, not {list:element}. Olof hagsand 2018-01-27 13:32:51 +01:00
  • ed8c371fce
    Merge pull request #8 from mgsmith1000/develop Olof Hagsand 2018-01-25 22:32:12 +01:00
  • 99abac76a7 Fix for cli expansion of two variables Olof hagsand 2018-01-25 22:16:44 +01:00
  • 6c7554de25 RESTCONF -Candidate Roll Back # Olof hagsand 2018-01-23 22:09:15 +01:00
  • 26667b2c2f Restconf: get well-known, top-level resource, yang library version, put whole datastore, check for different keys in put lists. Olof hagsand 2018-01-21 14:31:53 +01:00
  • 1ee3f7e67e Gnuplot script for transactions per second Olof hagsand 2018-01-20 16:19:56 +01:00
  • ad4127541e explaining test Olof hagsand 2018-01-20 12:34:52 +01:00
  • f6284ac933 restconf PUT delta Olof hagsand 2018-01-17 22:59:54 +01:00
  • d010937ba6 Augment help text for --with-configfile Matthew Smith 2018-01-16 15:35:43 -06:00
  • cd33380368 Fixed empty restconf data segv; error restconf quit; etc Olof hagsand 2018-01-16 22:25:55 +01:00
  • 4a57b60935
    Merge pull request #7 from mgsmith1000/develop Olof Hagsand 2018-01-16 14:43:25 +01:00
  • e3fd1f2873 syntax error Olof hagsand 2018-01-15 22:49:44 +01:00
  • 73074bf7a8 json vector Olof Hagsand 2018-01-15 21:36:42 +00:00
  • 6a9697c2ff Use default config file when none is provided Matthew Smith 2018-01-14 21:25:17 -06:00
  • 363bd5d19d New configuration option: CLICON_RESTCONF_PRETTY Changed RESTCONF GET to return object referenced. ie, GET /restconf/data/X returns X. Olof hagsand 2018-01-07 18:01:42 +01:00
  • cefaf4717f Making the tests self-contained wrt config file and lib.sh creating test scratch dir. Olof hagsand 2018-01-07 17:56:33 +01:00
  • b5b96cde0c test: removed exit:s and printed backend start options Olof hagsand 2018-01-06 13:42:53 +01:00
  • 83cb696d0e Corrected "No yang spec" printed on tty on leafref CLI usage Olof hagsand 2018-01-06 13:40:14 +01:00
  • 071667102c
    Merge pull request #6 from rbgarga/patch-1 Olof Hagsand 2018-01-05 16:26:30 +01:00
  • cc9111c8ee
    Update Makefile.in Renato Botelho 2018-01-05 09:56:10 -02:00
  • 3758c8dab4 * The following backward compatible options to configure have been obsoleted. If you havent already migrated this code you must do this now. * Backend startup modes prior to 3.3.3. As enabled with configure --with-startup-compat. Configure option CLICON_USE_STARTUP_CONFIG is also obsoleted. * Configuration files (non-XML) prior to 3.3.3. As enabled with configure --with-config-compat. The template clicon.conf.cpp files are also removed. * Clixon XML C-lib prior to 3.4.0. As enabled with configure --with-xml-compat Olof hagsand 2018-01-01 14:48:57 +01:00
  • 75848a8e30 3.5.0.PRE Olof hagsand 2018-01-01 12:34:45 +01:00
  • 43c0a8660c Merge branch 'master' into develop Olof hagsand 2018-01-01 12:31:29 +01:00
  • b71e10e701 3.4.0 Olof hagsand 2018-01-01 12:28:58 +01:00
  • 38f0b446fa 2017->2018 Olof hagsand 2018-01-01 12:25:33 +01:00
  • f10e2a89e8 global variables into handle Olof hagsand 2017-12-31 20:18:41 +01:00
  • d3460bfc26 Merge branch 'develop' for 3.4.0 Olof hagsand 2017-12-31 18:30:36 +01:00
  • 19301ae240 sort xml children on parsing Olof hagsand 2017-12-31 18:25:53 +01:00
  • 9681c91681 experimental insert_pos Olof hagsand 2017-12-31 18:18:04 +01:00
  • 79767045ad mem leaks Olof hagsand 2017-12-31 12:05:21 +01:00
  • d8269eee53 details Olof hagsand 2017-12-29 18:25:17 +01:00
  • 6911f35ec0 ack Olof hagsand 2017-12-29 18:15:05 +01:00
  • 174cfc02c6 Added CLICON_XMLDB_PRETTY option. If set to false, XML database files will be more compact. Added CLICON_XMLDB_FORMAT option. Default is "xml". If set to "json", XML database files uses JSON format. Escape " in JSON names and strings and values Optimized search performance for large lists by sorting and binary search. Olof hagsand 2017-12-29 18:09:26 +01:00
  • 4b92dbdc10 Optimized search performance for large lists by sorting and binary search Olof hagsand 2017-12-27 11:34:47 +01:00
  • b743b0a080 minor edits Olof Hagsand 2017-12-22 19:02:20 +01:00
  • ca16007b66 Clixon_backend now returns -1/255 on error instead of 0 Olof Hagsand 2017-12-12 22:40:28 +01:00
  • a150eec7be Fixed bug that deletes running on startup if backup started with -m running. Olof hagsand 2017-12-10 15:38:42 +01:00
  • dd7f790193 Fixed bug that deletes running on startup if backup started with -m running Olof Hagsand 2017-12-10 15:29:22 +01:00
  • 662495fff0 Merge branch 'develop' of https://github.com/clicon/clixon into develop Olof hagsand 2017-12-09 22:19:17 +01:00
  • 0076a8b838 leafref bug Olof Hagsand 2017-12-09 20:48:29 +01:00
  • 71d96fa7f8 Merge branch 'rbgarga-make_dist_and_rpm' into develop Olof hagsand 2017-12-09 20:26:54 +01:00
  • 76157d74b9 Merge branch 'make_dist_and_rpm' of https://github.com/rbgarga/clixon into rbgarga-make_dist_and_rpm Olof hagsand 2017-12-09 20:23:24 +01:00
  • 4742fde1e9 XML creation and parse API changes Olof Hagsand 2017-12-09 14:14:40 +01:00
  • 056b5c97dd experimental netconf yang spec Olof hagsand 2017-12-08 19:37:09 +01:00
  • 1c187c5729 Prepare build system to produce RPMs Renato Botelho do Couto 2017-12-05 07:27:59 -06:00
  • e7b1c0c38c Implement make dist target Renato Botelho do Couto 2017-12-05 04:00:54 -06:00
  • 3dd4903f88 Ignore generated files Renato Botelho do Couto 2017-12-05 04:02:27 -06:00
  • 822aac18a1 datastore/keyvalue/Makefile left behind Olof hagsand 2017-12-04 18:31:40 +01:00
  • 4cb00bedfa optimization Olof hagsand 2017-12-03 20:22:05 +01:00
  • 14faf93eec fixed datastore cache Olof hagsand 2017-12-02 21:53:02 +01:00
  • e169485985 Datastore cache introduced; Added yang to XML API Olof hagsand 2017-12-02 14:49:49 +01:00
  • c1cb3a2b6c Merge branch 'master' into develop 3.3.3 Olof hagsand 2017-11-25 13:57:09 +01:00
  • c3f7a50e61 CHANGELOG for 3.3.3 Olof hagsand 2017-11-25 12:55:57 +01:00
  • 43b898a269 CHANGELOG for 3.3.3 Olof hagsand 2017-11-25 12:53:47 +01:00
  • f8fd0d0faf Preparing for 3.3.3 Olof hagsand 2017-11-25 12:20:20 +01:00
  • 2ebd89d636 Added --with-config-compat and --with-startup-compat to configure Olof hagsand 2017-11-23 20:51:33 +01:00
  • 96a7ec86f0 Fixed DESTDIR make install/uninstall and break immediately on errors Olof hagsand 2017-11-22 22:21:12 +01:00
  • 496754f5c5 undefined DESTDIR Olof hagsand 2017-11-20 23:01:49 +01:00
  • 3d3ecd4e4d startup_mode: did not clear running Olof Hagsand 2017-11-20 22:25:55 +01:00
  • 17c60dcc07 fixed CHANGELOG Olof hagsand 2017-11-19 20:29:40 +01:00
  • 663b8e9f83 fixed CHANGELOG Olof hagsand 2017-11-19 20:25:34 +01:00
  • 013a0dba14 editt changelog Olof hagsand 2017-11-19 19:11:34 +01:00
  • 75d1bd327a Merge branch 'develop' into master for 3.3.3 Olof hagsand 2017-11-19 19:05:03 +01:00
  • 96bc17bfa6 describe startup modes in faq Olof hagsand 2017-11-19 18:27:25 +01:00
  • 548ffd2da6 Disabled key-value datastore; Removed mandatory requirements for BACKEND, NETCONF, RESTCONF and CLI dirs Olof hagsand 2017-11-19 18:04:23 +01:00
  • 13377da34e merge Olof hagsand 2017-11-19 12:48:04 +01:00
  • a0f9e3dbff changelog edit Olof hagsand 2017-11-19 12:45:12 +01:00
  • 8b6bb6ff50 restconf bugs and increased restconf testing Olof hagsand 2017-11-19 12:40:32 +01:00
  • 496d676ad3 Backend daemon startup modes Olof hagsand 2017-11-19 11:52:30 +01:00
  • 61551b07d6 When user callbacks p_statedata() clixon_backend nolonger silently exit Olof hagsand 2017-11-14 23:14:51 +01:00
  • 23e40384f7 JSON negative number patch Olof Hagsand 2017-11-13 17:11:31 +00:00