Commit graph

  • a80c9b0f8e Fix: wrong typedef Olof hagsand 2024-06-20 21:58:14 +02:00
  • 8a2217ff6d Improved show memory Olof hagsand 2024-06-20 19:26:45 +02:00
  • 1f118ecacc add comment for function Хроменок Роман Владимирович 2024-06-13 17:18:00 +02:00
  • 4632d13559 an empty line in the examples has been deleted Хроменок Роман Владимирович 2024-06-13 17:10:48 +02:00
  • 7253b8a07a edit format in operator else Хроменок Роман Владимирович 2024-06-13 17:06:15 +02:00
  • 1f2313dadb remove run functions in example.cli Хроменок Роман Владимирович 2024-05-31 19:33:16 +02:00
  • 0c6d9fc51c fixed formatting for the cli_start_program function Хроменок Роман Владимирович 2024-05-31 12:34:43 +02:00
  • d9f7669b9e add find work dir in path script Хроменок Роман Владимирович 2024-05-29 20:36:20 +02:00
  • be7c5eb7ca change getpwuid on getpwuid_r remove exit() edit chdir in chold process Хроменок Роман Владимирович 2024-05-29 19:33:42 +02:00
  • c831300a14 The description is aligned with the function Хроменок Роман Владимирович 2024-05-26 11:04:05 +02:00
  • 20750cb616 Added examples to the cli The function has been renamed and has become more universal Added error checking (incorrect input) Хроменок Роман Владимирович 2024-05-23 21:01:19 +02:00
  • b81e18141d Refactoring has been performed Goto added Added margins Added comments Хроменок Роман Владимирович 2024-05-23 19:37:44 +02:00
  • de820417d1 Added api Хроменок Роман Владимирович 2024-05-23 10:45:02 +02:00
  • a6fb392365 Added examples of running scripts, and an example with an error Хроменок Роман Владимирович 2024-05-23 10:43:29 +02:00
  • cc68426929 Added a feature that allows you to run python scripts from the cli without bash Хроменок Роман Владимирович 2024-05-23 10:40:21 +02:00
  • 43325ca2f8 Fixed: [Invalid api-path errors thrown when displayin qfx family device conf in CLI](https://github.com/clicon/clixon-controller/issues/126) Olof hagsand 2024-06-19 14:49:22 +02:00
  • 0234ed94bc Added CLICON_LOG_DESTINATION and CLICON_LOG_FILE for al applications Olof hagsand 2024-06-19 12:28:39 +02:00
  • 26062d7003 backend: Consolidate common code in plugin callbacks Corey Minyard 2024-06-05 08:09:32 -05:00
  • ec36f57c8d plugin: Consolidate plugin initialization Corey Minyard 2024-05-29 15:17:25 -05:00
  • a84547ed0a plugin: Remove pointless if statement Corey Minyard 2024-05-29 14:23:10 -05:00
  • c94ca6179f plugin: Always dlclose() a module with a handle Corey Minyard 2024-05-29 18:28:58 -05:00
  • 54ba56a41e YANG schema shared fix YANG_SCHEMA_MOUNT_YANG_LIB_FORCE caused equality to fail Olof hagsand 2024-06-11 11:35:31 +02:00
  • ef89561215 CLI: improved show memory command Olof hagsand 2024-06-08 14:51:36 +02:00
  • 8d05432e98 CLI: Improved and renamed show statistics -> show memory command Fixed shared yang-spec reference count Olof hagsand 2024-06-03 09:52:53 +02:00
  • 25e1bade8f RESTCONF notification for HTTP/2 native mode Olof hagsand 2024-06-06 12:57:46 +02:00
  • 3579d98243 Refactoring of yang schema mount code Olof hagsand 2024-06-01 11:27:03 +02:00
  • 80d03fb5b0 test: adding correct x509 v3 CA cert Olof hagsand 2024-05-31 08:48:00 +02:00
  • 8098fb031f Test: check openssl 3.3.0 for x509 v1 Olof hagsand 2024-05-28 19:44:38 +02:00
  • e2140aed10 Formatting and debugs Olof hagsand 2024-05-28 18:50:07 +02:00
  • c377a28d56 Use x509 v1 certs for test use in openssl 3.3 Olof hagsand 2024-05-28 17:08:08 +02:00
  • a194c049c7 Fix clixon test container to alpine 3.19 Olof hagsand 2024-05-28 16:40:25 +02:00
  • b8599558d4 Test: disable ssl client cert tests (temporarily) Olof hagsand 2024-05-27 14:52:49 +02:00
  • 148982d3a9 Fix NETCONF filtering patch Olof hagsand 2024-05-27 14:32:18 +02:00
  • 1412b416f6 Filter duplicate NETCONF requests on the same object causing memory fault Olof hagsand 2024-05-27 14:09:04 +02:00
  • 1904805103 Fixed: [Error message from CLI if terminal is modified](https://github.com/clicon/clixon-controller/issues/122) Olof hagsand 2024-05-22 16:47:39 +02:00
  • d5d23dd90e Fix shared yang code Olof Hagsand 2024-05-22 14:53:59 +02:00
  • d29b7e574c xml_merge1(): Allow merging trees with nodes below mountpoints Colin Baumgarten 2024-04-25 10:22:08 +02:00
  • b6480ac07d clixon-config.yang: Added CLICON_DEBUG, Removed: CLICON_NETCONF_DUPLICATE_ALLOW Rearranged and grouped options clixon-lib.yang: Added debug types Removed git reliance in test - moved to configure script Olof hagsand 2024-05-21 13:02:20 +02:00
  • c8a8197e92 Github actions: added a fcgi restconf test Olof hagsand 2024-05-19 18:03:56 +02:00
  • 1336a4ccfb RESTCONF notification for native mode Olof hagsand 2024-05-19 17:44:00 +02:00
  • 7a842846db Formatting Olof hagsand 2024-05-19 10:04:20 +02:00
  • 37e9429ec8 Optimization of yang schema mount: share yang-specs if equal Olof hagsand 2024-05-17 12:50:08 +02:00
  • 4b33841858 cli_auto_up: Partly fix handling of mountpoints Colin Baumgarten 2024-03-18 13:44:03 +01:00
  • c353c6dcab Debug: Added PARSE debug flag Olof hagsand 2024-05-15 13:48:19 +02:00
  • 03a9c03b1c Fixed: backend exit when receiving invalid NETCONF get select XPath Added XML encoding to XPaths in select attribute Olof hagsand 2024-05-15 13:44:12 +02:00
  • 989a7b38ee Test: add coreutils to test container Olof hagsand 2024-05-14 10:13:36 +02:00
  • 62a4b5feff Restconf native+http/1 + tls Olof hagsand 2024-05-06 15:57:11 +02:00
  • 2b2a2ec1ad Restconf native stream support Olof hagsand 2024-04-22 14:17:29 +02:00
  • 2d5a646b51 Changed -f /usr/local/etc/example.xml -> /usr/local/etc/clixon/example.xml everywhere Olof hagsand 2024-05-05 09:46:25 +02:00
  • 488a532dec Log: remove trailing \n, added log description Olof hagsand 2024-05-09 16:59:31 +02:00
  • 9738345f82 Optimize of multi-db write Olof hagsand 2024-05-09 12:18:35 +02:00
  • ca701b0c1a Changed intermediate version numbers to be git-style, eg 7.0.0-39 instead of 7.1.0-PRE * Changed datastore modstate to be last in file, as prior to 7.0 Olof hagsand 2024-05-08 16:51:12 +02:00
  • 8ebfdb8168 Changed datastore modstate to be last in file, as prior to 7.0 Olof hagsand 2024-05-08 11:21:10 +02:00
  • b1209aac67 Multi-db: Moved top-level datastore from (eg) running_db to running.d/0.xml Olof hagsand 2024-05-08 09:40:27 +02:00
  • af36838b4c Changed -f /usr/local/etc/example.xml -> /usr/local/etc/clixon/example.xml everywhere Olof hagsand 2024-05-05 09:46:25 +02:00
  • 60fdb65ee0 cli_auto_edit: Fix data below mountpoint cannot be edited Colin Baumgarten 2024-03-18 13:41:47 +01:00
  • 34fff6c270 cli_auto_top: Add missing clear of cli-edit-mtpoint Colin Baumgarten 2024-03-18 13:32:39 +01:00
  • 2142a4fd96 cli_dbxml(): Fix handling of mountpoints Colin Baumgarten 2024-03-18 13:15:14 +01:00
  • fcdfbd23cc Re-optimized yang cardinality Misc rearrangements Olof hagsand 2024-05-02 13:29:59 +02:00
  • d2f3405ab6 Use yacc and lex as detected by autoconf to build restconf maverick0815 2024-04-29 18:56:14 +02:00
  • bafbf0c7aa GitHub Actions: Run apt update before downloading packages. Kristofer Hallin 2024-04-29 11:28:07 +02:00
  • f6993de7eb Optimization of cardinality Olof hagsand 2024-04-28 23:13:10 +02:00
  • c57188992b Optimize get autocli config Olof hagsand 2024-04-28 19:38:17 +02:00
  • 7e1a00669c Event priority. Backend socket has higher prio. Olof hagsand 2024-04-25 14:49:06 +02:00
  • f511cb0030 Split config into multiple sub-files on mount-point boundaries and dont write clean subfiles Added CLICON_XMLDB_MULTI option, added cl:xmldb-split extension Olof hagsand 2024-04-16 12:19:15 +02:00
  • bd290e4594 Fixed: Fail on return errors when reading from datastore Olof hagsand 2024-04-24 13:48:06 +02:00
  • aba5c68fe2 Move format code to options and cleanup Olof hagsand 2024-04-16 12:05:36 +02:00
  • 1be158b7be NACM: Improved error message when no username included, and added username Olof hagsand 2024-04-14 11:26:11 +02:00
  • 87e49ca37a Updated cli_kill_session Olof hagsand 2024-04-12 16:17:45 +02:00
  • 407b4703b3 [Autolock](https://github.com/clicon/clixon/issues/508) Added option: CLICON_AUTOLOCK Olof hagsand 2024-04-12 12:40:03 +02:00
  • 331585f45b CLI: Added multiple inline commands separated by ; Olof hagsand 2024-04-12 12:35:08 +02:00
  • 344786a971 Fixed: [Duplicate config files in configdir causes merge problems -> set ? = NULL](https://github.com/clicon/clixon/issues/510) Made file-dir match more exact, eg .cli not ?cli Added -1 as any arg to xml_rm_children() Olof hagsand 2024-04-11 12:02:08 +02:00
  • e55e05353f CLI pipe save function Olof hagsand 2024-04-09 15:17:06 +02:00
  • f9faf1039a Example: added cli pipe Olof hagsand 2024-04-09 14:20:45 +02:00
  • 826a4c3fb3 Fix snmp test (after cli output format example change) Olof hagsand 2024-04-06 12:17:06 +02:00
  • 60a774cbf7 CLI configurable format: [Default format should be configurable](https://github.com/clicon/clixon-controller/issues/87) Added option: CLICON_CLI_OUTPUT_FORMAT - Default CLI output format Olof hagsand 2024-04-05 15:13:24 +02:00
  • bd3a841103 New clixon-config@2024-04-01.yang revision Added options: CLICON_NETCONF_DUPLICATE_ALLOW - Disable duplicate check in NETCONF messages New clixon-lib@2024-04-01.yang revision Olof hagsand 2024-04-03 17:39:50 +02:00
  • 9826ac16ff Formatting and CHANGELOG updates Olof hagsand 2024-04-03 09:38:04 +02:00
  • 427a7db88a Adapt to new bits library functions api Mico Micic 2024-03-12 21:50:45 +01:00
  • a8e8ab997e Code formatting Mico Micic 2024-03-04 12:53:07 +01:00
  • 5c05748cfe Implement SNMP bits data type support Mico Micic 2024-03-03 19:36:45 +01:00
  • dcfa367b3d Test case updated: [NACM create rules do not work properly on objects with default values](https://github.com/clicon/clixon/issues/506) Olof hagsand 2024-04-01 17:15:33 +02:00
  • 91ea38eff0 Fixed: [NACM create rules do not work properly on objects with default values](https://github.com/clicon/clixon/issues/506) Olof hagsand 2024-04-01 17:02:48 +02:00
  • c9c5d4f813 Added error-info to netconf error-msg for duplicate leaf-lists Test: removed potential duplicate user in nacm.sh Olof hagsand 2024-03-26 14:32:41 +01:00
  • df2af320c2 Fixed skipped actions Olof hagsand 2024-03-26 12:39:09 +01:00
  • b13320f1a1 Fixed: [CLI: Explicit api-path not encoded correctly](https://github.com/clicon/clixon/issues/504) Olof hagsand 2024-03-26 11:53:02 +01:00
  • 928d7d5b4d Fixed: [Startup and default of same object causes too-many-elements error](https://github.com/clicon/clixon/issues/503) Olof hagsand 2024-03-18 17:07:43 +01:00
  • 59b3100704 Adjusted code to not rely on COMPAT_6_5 API Leak in optimize xpath code Olof hagsand 2024-03-14 15:20:00 +01:00
  • d3587b8646 Fix pr review findings (typos and formatting) Mico Micic 2024-03-04 12:10:23 +01:00
  • 4f306056ea Add helper functions for bits data type Mico Micic 2024-03-03 19:12:18 +01:00
  • e07fdb3089 Start of 7.1.0.PRE Fixed memleak Olof hagsand 2024-03-12 15:07:57 +01:00
  • 28050f44f8 Clixon 7.0.0 Olof hagsand 2024-03-07 21:02:51 +01:00
  • 6b8f7754b8 Fixed: [If services add duplicate entries, controller does not detect this](https://github.com/clicon/clixon-controller/issues/107) Rename function xml_yang_minmax_recurse() -> xml_yang_validate_minmax() Olof hagsand 2024-03-05 15:39:26 +01:00
  • a1badc312e Fixes after coverity static analysis Olof hagsand 2024-03-03 17:05:36 +01:00
  • d94b4f5b7c actions: split docker tests Olof hagsand 2024-02-29 21:16:06 +01:00
  • 22c09b79f7 Add SNMP bits type Olof hagsand 2024-02-29 14:20:03 +01:00
  • 322e00cfe2 Deactivate session-id check Olof hagsand 2024-02-29 10:36:57 +01:00
  • d40cfdce8f Fix tests Mico Micic 2024-02-12 21:03:25 +01:00
  • 891b0b0c9e SNMP octet scring has a defined length and does not need a null separator Mico Micic 2024-02-12 16:00:53 +01:00
  • 4138f390d4 Internal framing: fcgi error CLI continue error enable msg recv interrupt Olof hagsand 2024-02-28 14:21:34 +01:00