Commit graph

  • 7577245077 Changes due to CLIgen removal of expand-prepend code Olof hagsand 2023-07-28 16:27:47 +02:00
  • 05c082b202 init variables, vagrant with-cligen Olof hagsand 2023-07-28 12:49:51 +02:00
  • f526d5b7a0 Autocli optimization feature for generating smaller CLISPECs for large YANGs using treerefs Olof hagsand 2023-07-23 15:11:34 +02:00
  • d48442960e Changed YANG uses/grouping to keep uses statement and flag it with YANG_FLAG_USES_EXP Updated yang code headers Olof hagsand 2023-07-18 14:47:42 +02:00
  • e0cbc10fad Pipe function renaming Olof hagsand 2023-07-13 14:36:01 +02:00
  • a773384ccc cli_show_option_bool: Rename bool -> result Renato Botelho do Couto 2023-07-07 11:29:25 +00:00
  • d7d81fbd13 clixon_custom.h: Remove RESTCONF_NETNS_DEFAULT Renato Botelho do Couto 2023-07-06 14:53:19 +00:00
  • 8caaef639e autoreconf: Regenerate after changing configure.ac Renato Botelho do Couto 2023-07-06 14:53:08 +00:00
  • 7539aacc36 configure.ac: Implement --with-restconf-netns Renato Botelho do Couto 2023-07-06 14:51:48 +00:00
  • 90b7a550b2 Added configure option CLICON_PLUGIN_DLOPEN_GLOBAL for config of dlopen() Olof hagsand 2023-07-06 15:50:36 +02:00
  • ad61570a3d
    Merge pull request #436 from rbgarga/fix-cligen-dir Olof Hagsand 2023-07-06 17:00:17 +02:00
  • 753d20a691 Adjust Dockerfiles after changing --with-cligen Renato Botelho do Couto 2023-07-06 13:08:05 +00:00
  • f2b8a8045f autoreconf: Regenerate after changing configure.ac Renato Botelho do Couto 2023-07-06 13:20:01 +00:00
  • 989aa25428 configure.ac: Fix --with-cligen=dir Renato Botelho do Couto 2023-07-03 18:35:25 +00:00
  • 7275a68c75 configure.ac: Remove redundant LIBDIR set Renato Botelho do Couto 2023-07-03 18:35:08 +00:00
  • 8ad80955d4 configure.ac: Set default exec_prefix=$prefix earlier Renato Botelho do Couto 2023-07-03 18:34:36 +00:00
  • 0f7366b505 configure.ac: Removed unused variable CLIGEN_PREFIX Renato Botelho do Couto 2023-07-03 18:31:26 +00:00
  • fab8d35dff Output pipe function detection in configure.ac Olof hagsand 2023-07-05 15:48:26 +02:00
  • 3858cd93c2 Add pipe functions Olof hagsand 2023-07-04 20:48:01 +02:00
  • c16b9cbba4 Use pipe functions from /bin Olof hagsand 2023-07-03 20:20:34 +02:00
  • 5d95857a29 Memory leak in stats Olof Hagsand 2023-07-04 06:44:01 +00:00
  • b33603107d Output pipe functionality Olof hagsand 2023-06-28 14:40:10 +02:00
  • e498e09570 Adapt to CLIgen refactoring of tree expansion code Olof hagsand 2023-07-02 13:56:18 +02:00
  • ca697c9a36 Removed extras/ and build-root/ code since they are not properly maintained Olof hagsand 2023-06-29 14:59:44 +02:00
  • b39ee078c4 Refactored cli-syntax code to use cligen pt_head instead (long overdue) Olof hagsand 2023-06-28 13:44:06 +02:00
  • e1a8e0d40b Adapt to cligen parse API Olof hagsand 2023-06-28 10:56:52 +02:00
  • 79d1d2e95a * Fixed: [xpath // abbreviation does not work other than on the top-level](https://github.com/clicon/clixon/issues/435) Olof hagsand 2023-06-21 11:45:49 +02:00
  • 0460c093cc Moved datastore-format datastype from clixon-config.yang to clixon-lib.yang Olof hagsand 2023-06-20 10:06:52 +02:00
  • a1e7c6f126 Modified backend exit strategy so that 2nd ^C actually exits Copied creator cvec if modified with REPLACE Olof hagsand 2023-06-13 13:28:30 +02:00
  • 53ceb35d51 New clixon-autocli.yang version with skip and alias extensions Olof Hagsand 2023-06-10 11:45:15 +02:00
  • 8091b4ab7e Added fdkeep parameter to clixon_process_register Olof hagsand 2023-06-08 15:51:16 +02:00
  • 634e13ea32 C-API: Added xml_creator_print Olof hagsand 2023-06-08 12:02:48 +02:00
  • 8598fca688 Add gid to clixon_process_register() for drop privs Olof hagsand 2023-06-02 13:38:00 +02:00
  • 080eef0278 C-API: Added cli_process_control(), added uid to cli_process_control() Olof hagsand 2023-06-01 17:44:49 +02:00
  • bd6a67f1d9 New clixon-config@2023-05-01.yang revision Olof hagsand 2023-06-01 17:43:15 +02:00
  • b3a7e39d26 C-API: Added specialized xml_child_each_attr function to counter perf issue Olof hagsand 2023-05-29 12:25:36 +02:00
  • 86ef8053a2 Typo in previous commit Olof hagsand 2023-05-29 10:55:05 +02:00
  • a97a66cb92 Performance: A change in the merge code made "co-located" config and non-config get retrieval go considerable faster. Olof hagsand 2023-05-29 10:47:00 +02:00
  • 3e34a61bd2 Test: more curl error codes, new version in alpine? Olof hagsand 2023-05-25 09:05:20 +02:00
  • 246fd81f57 Test: updated perf tests that have been broken for some time Olof hagsand 2023-05-23 15:24:42 +02:00
  • 307a992f36 * Added output function to JSON output: * xml2json_vec(...,skiptop) --> xml2json_vec(..., cligen_output, skiptop) Olof hagsand 2023-05-17 16:25:35 +02:00
  • 25cc14c1a2 Minor rearrangement for exporting cli fns Olof hagsand 2023-05-12 11:03:36 +02:00
  • ad07eb3adf API change: remove yang2cli_yspec last argument printgen, removed obsolete: `cli_auto_show() Olof hagsand 2023-05-11 16:29:37 +02:00
  • 7b15ab0306
    Merge pull request #432 from mico-micic/fix-size-t-warnings Olof Hagsand 2023-05-08 15:37:04 +02:00
  • 9550ba808b cli show for mtpoint: increased range for arg check Olof hagsand 2023-05-08 14:34:35 +02:00
  • 6006be038b Avoid conversion to 'size_t' from 'int' warnings Mico Micic 2023-05-08 12:28:14 +02:00
  • b6116261a3 * Restructured and extended <stats> rpc to schema mountpoints * New revision of clixon-lib.yang * CLI: Added show statistics example code for backend and CLI memory stats Olof hagsand 2023-05-05 17:43:03 +02:00
  • a0df12134a Fixed: [if-feature always negative if imported from another module](https://github.com/clicon/clixon/issues/429) Apply styleguide to snmp patch Olof hagsand 2023-05-05 10:26:55 +02:00
  • fc967171f9
    Merge pull request #430 from shmuelhazan/test-external-yang-feature Olof Hagsand 2023-05-05 11:26:27 +02:00
  • 40f8dd129e
    Merge pull request #427 from StasSt-siklu/master Olof Hagsand 2023-05-05 09:00:59 +02:00
  • e8a8b17e1b Removed obsolete compile options introduced in 6.1: NETCONF_DEFAULT_RETRIEVAL_REPORT_ALL and AUTOCLI_DEPRECATED_HIDE Olof hagsand 2023-05-03 17:54:27 +02:00
  • bd5b51d860 CLI edit modes and mountpoints Olof hagsand 2023-05-03 13:57:13 +02:00
  • 4b49953461 Bumped to 6.3.0.PRE Olof hagsand 2023-05-03 13:53:42 +02:00
  • 130c1b086f Clixon 6.2.0 Olof hagsand 2023-04-30 20:55:09 +02:00
  • b13917b2ac Call ys_populate_feature from if_feature_check Shmuel Hazan 2023-04-30 17:19:40 +03:00
  • 8732d118dd test_feature: add test for external features Shmuel Hazan 2023-04-27 14:32:45 +03:00
  • 5d1c6b5759 Preparations for 6.2.0 Openssl 3.0 and autoconf 2.71 Olof hagsand 2023-04-29 15:57:22 +02:00
  • 4643540391 Test: re-fix magic line Olof hagsand 2023-04-27 20:51:31 +02:00
  • 678d48a699 Test: magic line was not first in script and NULL in command substitution Olof Hagsand 2023-04-27 12:57:08 +00:00
  • 2b3dd6e133 Adapted to style guidelines stass 2023-04-27 15:50:37 +03:00
  • 447b8eb1d3 test fix breaking actions. Minor doc changes Olof hagsand 2023-04-25 16:22:25 +02:00
  • 54dc7a9a57 Fixed RESTCONF race conditions on SSL_shutdown sslerr ZERO_RETURN appears occasionally and exist. Olof hagsand 2023-04-25 16:11:08 +02:00
  • 05da8ef3c1 Add mount-point aware code to cli_auto_show Revert patch in xpath2canonical for mountpoints Olof hagsand 2023-04-23 17:32:06 +02:00
  • 5cb41c8d8a Fixed: unified netconf input: wrong yang-bind Olof hagsand 2023-04-20 21:47:33 +02:00
  • e7c9f3d075 Unified netconf input function First for external use, later internal Olof hagsand 2023-03-06 10:48:46 +01:00
  • 04d5f52d90 Revert Temporar fix in clixon_custom.h: XPATH_CANONICAL_SKIP_CHECK Olof hagsand 2023-04-19 10:45:21 +02:00
  • c56d5aa44e Fixed: RESTCONF: some client cert failure leads to restconf exit Instead close and continue Olof hagsand 2023-04-18 10:09:09 +02:00
  • f8324df917 Creator tagging for leafs, sort-modules: remove flag setting, yang_lib2yspec patch Olof hagsand 2023-04-13 21:11:57 +02:00
  • 6335f810d3 C-API: clixon_xml2file and clixon_xml2cbuf added prefix argument Added in-mem xml diff function: xml_tree_diff_print Olof hagsand 2023-04-12 09:54:37 +02:00
  • 819a0b5a9e New clixon-lib@2023-03-01.yang revision * Added creator meta-object Olof hagsand 2023-04-11 13:44:38 +02:00
  • 45d8e5b6ce C-API xmldb_validate() removed. compare_db_names() added. Olof hagsand 2023-04-09 17:08:53 +02:00
  • cc951fc3be Add union test stass 2023-04-02 14:59:49 +03:00
  • 7eb37273b8 Formatting of comments Olof Hagsand 2023-03-30 15:39:35 +02:00
  • ea40977382 fix test stass 2023-03-29 18:31:50 +03:00
  • 7c2ce8de65 fix test stass 2023-03-29 18:27:19 +03:00
  • a5514e051c fix test stass 2023-03-29 18:05:51 +03:00
  • 8f3290c41d fix test stass 2023-03-29 17:26:25 +03:00
  • dc14953a1f fix test stass 2023-03-29 16:16:36 +03:00
  • 30db53a2a0 fix test stass 2023-03-29 15:56:38 +03:00
  • efe9f66866 fix test stass 2023-03-29 15:36:34 +03:00
  • 13ebe05566 fix test stass 2023-03-29 15:18:11 +03:00
  • 8f240d1edd fix test stass 2023-03-29 14:47:03 +03:00
  • 22b78f0fe6 fix test stass 2023-03-29 14:25:04 +03:00
  • ba3558bd36 fix test stass 2023-03-28 19:17:46 +03:00
  • c4ca4ed962 Fix test stass 2023-03-28 18:35:43 +03:00
  • 175f9a2136 Support union with are same subtypes with SNMP stass 2023-03-28 18:10:21 +03:00
  • 2c104daee2 Since 6.1 RESTCONF PUTs have added clixon-lib namespace for attributes. These empty namespaces are removed. Olof hagsand 2023-03-27 12:57:24 +02:00
  • da2edceb7e * Added new functions: xml_tree_equal and xpath2xml * RFC 8528 yang schema mount-points: * Made expand_dbvar and cli_dbxml mountpoint-aware (RFC 8528) * autocli supportgenerate * Made api_path2xml and xml2api_path mount-point-aware * Temporar fix in clixon_custom.h: XPATH_CANONICAL_SKIP_CHECK * xml2xpath(): Added apostrophe as 4th parameter, default 0 * removed extra assert.h includes Olof hagsand 2023-03-21 09:10:40 +01:00
  • 1e136bc9df Added clicon_data_init API, and yang_mount_get API Moved dynamic options from options to data API Olof hagsand 2023-03-12 20:53:48 +01:00
  • 5822c1a72a * clicon_msg_rcv: Added intr parameter for interrupting on ^C (default 0) * Internal NETCONF (client <-> backend) * Ensure message-id increments * Separated rpc from notification socket in same session * Removed coverage icon from homepage since it stopped working some time ago Olof hagsand 2023-03-08 21:14:38 +01:00
  • 453e97ef6b Test: removed http/1.0 test that seems to stop working in new curl version? Olof hagsand 2023-03-04 10:42:05 +01:00
  • 360e4beb1f
    Merge pull request #425 from vvsosed/fix_cli_via_ssh_issue Olof Hagsand 2023-03-03 17:54:55 +01:00
  • 995c3b2c67 typo in rearrange includes; unused reason parameter in snmp_lib Olof hagsand 2023-03-03 17:41:02 +01:00
  • 1f5df800bc Restconf: Added fallback mechanism for non-ALPN HTTPS * Set CLICON_RESTCONF_NOALPN_DEFAULT to http/2 or http/1.1 * For http/1 or http/2 only, that will be the default if no ALPN is set. Olof hagsand 2023-03-03 16:04:34 +01:00
  • 5f2978d06c Files: Rearranged backend .h files: moved client_entry to clixon_backend_client.h Olof hagsand 2023-02-26 16:09:53 +01:00
  • 9a6a378c99 Fix cli via ssh error log output issue Volodymyr Sosiedkin 2023-03-01 17:52:38 +02:00
  • d6c523d27a
    Merge pull request #422 from dima1308/master Olof Hagsand 2023-02-23 12:35:48 +01:00
  • 55422f4187 PERF: Added a recurse parameter to xml_yang_minmax_recurse() to avoid "double recursion" C-API: candidate_commit(): validate_level (added in 6.1) marked obsolete Olof hagsand 2023-02-23 11:39:00 +01:00
  • 2db5961169 Example: fixed mismatch between install dirs and DIRs in example.xml.in Docker: Removed example from test container, fixed example container Olof hagsand 2023-02-22 22:52:44 +01:00
  • a8c4e8699c Docker: Fixed broken config file in clixon-example Olof hagsand 2023-02-22 14:08:38 +01:00