Commit graph

  • dcb78bbc26 Test performed using internal RESTCONF server Jan-Olof Carlson 2022-07-28 11:04:42 +00:00
  • 14cc88ca39 Added parameter defaults to library function clicon_rpc_get Jan-Olof Carlson 2022-07-27 11:31:44 +00:00
  • 6bee1746e0 RFC8040 4.8.9. RESTCONF with-defaults Query Parameter Jan-Olof Carlson 2022-07-26 13:44:06 +00:00
  • 9647177165 Correct NETCONF error-tag when operation not supported Jan-Olof Carlson 2022-07-23 06:59:55 +00:00
  • 0a20348b3b rfc6243 with-defaults Capability for NETCONF Jan-Olof Carlson 2022-07-23 06:57:54 +00:00
  • 70ed85f413 Various typos Olof Hagsand 2022-08-26 12:22:30 +00:00
  • b73cc75366 fix posix regular transform of char \w not include '_' char jiangxiaoming 2022-08-25 11:41:16 +08:00
  • a516ee173d Fixed: [YANG ordering fails for nested choice and action](YANG ordering fails for nested choice and action) Olof hagsand 2022-08-24 13:02:38 +02:00
  • 795ac0cc7d Clixon-netconf: Redirect logs to syslog by default, instead of stderr Olof hagsand 2022-08-23 19:41:02 +02:00
  • ba39f88936 Fixed: [YANG min-elements within non-presence container does not work](https://github.com/clicon/clixon/issues/355) Olof hagsand 2022-08-23 19:40:16 +02:00
  • ba9b313295 Restconf callhome: idle-timeout for periodic callhome Olof hagsand 2022-08-22 11:27:02 +02:00
  • 9a5504eed0 Fixed: [Issues with ietf-snmp modules](https://github.com/clicon/clixon/issues/353) Olof hagsand 2022-08-18 18:07:29 +02:00
  • 74da966096 Fixed: [Missing/no namespace error in YANG augments with default values](https://github.com/clicon/clixon/issues/354) Tests: ensure all netconf requests with identityref have declared namespaces. * This is part of fixing [Yang identityref XML encoding is not general](https://github.com/clicon/clixon/issues/90) Olof hagsand 2022-08-18 16:20:41 +02:00
  • b748d68912 RESTCONF callhome, periodic and persistent connection-types, multiple clients Olof hagsand 2022-08-13 13:35:54 +02:00
  • 0676ee4e64
    Merge pull request #352 from krihal/master Olof Hagsand 2022-08-18 16:35:20 +02:00
  • 6a367fa97b
    Two minor fixes for building on macOS, HOST_VENDOR should be defined before trying to check its value. Kristofer Hallin 2022-08-17 09:39:16 +02:00
  • 971ecb1b7f
    Merge pull request #351 from krihal/build_macos Olof Hagsand 2022-08-16 11:47:36 +02:00
  • 68b528ac0b Make Clixon build on MacOS. Kristofer Hallin 2022-08-16 08:34:26 +02:00
  • af8a440f6c Patched ietf-list-pagination revision 2022-07-24 Olof hagsand 2022-08-12 16:43:01 +02:00
  • 5ac8bd2d03 Updated ietf-list-pagination YANGs to revision 2022-07-24 Olof hagsand 2022-08-12 16:13:32 +02:00
  • 7e783952eb Restconf callhome: Added YANG connection-type, test: added NACM Olof hagsand 2022-08-10 13:40:03 +02:00
  • 9de052c144 Test: modified test for fix [Validation of mandatory in choice/case does not work in some cases](https://github.com/clicon/clixon/issues/349) Olof hagsand 2022-08-10 13:38:15 +02:00
  • d1553471f7 Fixed: [Validation of mandatory in choice/case does not work in some cases](https://github.com/clicon/clixon/issues/349) Olof hagsand 2022-08-10 13:25:30 +02:00
  • 3a9b276deb Fixed struct sockaddr memory issues Test: fixed docker yang repo copy Test: disable restconf-callhome for fcgi Olof hagsand 2022-07-31 10:11:51 +02:00
  • 7d8ddf7697 Restconf RFC8071 call-home first working prototype Olof hagsand 2022-07-28 12:41:54 +02:00
  • a3b94f4781 Beginning 5.9.0.PRE Olof hagsand 2022-07-29 08:56:14 +02:00
  • 6f5149cc32 Clixon 5.8.0 release Olof hagsand 2022-07-28 09:35:20 +02:00
  • bb069aa7b8 Test: fixed snmp for docker/fcgi Olof hagsand 2022-07-27 18:28:24 +02:00
  • b0d38a513c Memory leak in cli load_config_file Olof hagsand 2022-07-27 17:40:49 +02:00
  • bed6d3c739 TEXT file format: Keep backward-compatible non-top-level prefix with compile-time option TEXT_SYNTAX_NOPREFIX See https://github.com/clicon/clixon/issues/345 Olof hagsand 2022-07-26 18:10:27 +02:00
  • 57bc36d5ed Fixed: [Clixon CLI issue: when I try to print the value of the leaf node nothing appeared](https://github.com/clicon/clixon/issues/345) Olof hagsand 2022-07-26 13:32:57 +02:00
  • d7ed503bad Removed debugs, updated CHANGELOG Olof hagsand 2022-07-25 09:42:18 +02:00
  • 9d65fb81d7 * Break-out RFC 7950 Section 6.1 tokenization * This enables full string lexical parsing of some rules previously not fully compliant, including: * refine * user-augment * if-feature * Also solves previous tokenization issues Olof hagsand 2022-07-22 09:17:43 +02:00
  • f9eacebf68 Enable calling clicon_err_fn with fn=NULL Olof hagsand 2022-07-22 18:36:53 +02:00
  • aaa18897ef Test: remove obsolete test_ openconfig_system Add branch with-defaults to github workflow Check in parameter in yang_extension_value Olof hagsand 2022-07-22 16:57:46 +02:00
  • 4514f2a538 Fixed: ["autocli:hide-show" extension cause bug in xmldb_put method #343](https://github.com/clicon/clixon/issues/343) Olof hagsand 2022-07-22 15:56:06 +02:00
  • e724dd7f40 Test: Added detail env var to sum.sh, Changed make test to include detailed test Olof hagsand 2022-07-21 08:26:49 +02:00
  • 42efb59a75 Example main -v/-V issues breaking previous commit tests Olof hagsand 2022-07-21 08:07:48 +02:00
  • 89f8567f75 Refactoring of if-feature parse code Moved if-feature sub-parser to clixon_yang_parse_sub.[ch] Olof hagsand 2022-07-18 09:52:48 +02:00
  • a846989569 Fixed: [Schema Ambiguity Error with openconfig-system re: NTP](https://github.com/clicon/clixon/issues/334) Olof hagsand 2022-07-16 18:11:54 +02:00
  • 1d78241115 Merge branch 'snmp' Olof hagsand 2022-07-15 15:54:44 +02:00
  • 96c6cef9a0 Fixed: [YANG mandatory statements within case nodes do not work](https://github.com/clicon/clixon/issues/344) Olof hagsand 2022-07-15 13:05:01 +02:00
  • 9537596a67 Fixed again: [Nested YANG choice does not work #342](https://github.com/clicon/clixon/issues/342) Previous fix only for some sub-cases. New fix should work for all reecursive cases Olof hagsand 2022-07-14 22:24:44 +02:00
  • 657ddf9e87 Fixed: [Nested YANG choice does not work #342](https://github.com/clicon/clixon/issues/342) Olof hagsand 2022-07-11 12:35:24 +02:00
  • 49d19b263c SNMP: Internal cache handling for rowstatus Test: prefix SN=0 instead of CS=0 for override clixon_snmp start Olof hagsand 2022-07-11 09:28:45 +02:00
  • 5175cb8223 SNMP: Added rowstatus destroy logic Olof hagsand 2022-07-10 11:49:15 +02:00
  • 7ecfd69398 Include the full snmpd command line in the tests readme. Kristofer Hallin 2022-07-09 21:32:26 +02:00
  • e587cdcc35 Disable some tables which we will hadle ourselves for RowStatus tests. Kristofer Hallin 2022-07-09 19:37:01 +02:00
  • 714e41c627 SNMP: rowstatus for go and wait Remaining: destroy and internal state Olof hagsand 2022-07-09 16:35:21 +02:00
  • d79d0aa933 SNMP Support for display-hint "255t" for fixed string translation Olof hagsand 2022-07-09 12:41:58 +02:00
  • 4cf1d04cb7 Added XPATH function boolean() * This caused problem for new NTP YANG in RFC 9249 Fixed segv on anydata for http parser Olof hagsand 2022-07-08 08:44:13 +02:00
  • 38027c8331 Added XPATH function boolean() * This caused problem for new NTP YANG in RFC 9249 Fixed segv on anydata for http parser Olof hagsand 2022-07-08 08:44:13 +02:00
  • d9cdd669d2 SNMP: Add IPaddress scalar to clixon mib and fix ipv4 set translation Olof hagsand 2022-07-08 09:47:22 +02:00
  • 1b66dfe1b9 RowStatus tests. Kristofer Hallin 2022-07-05 16:29:02 +02:00
  • a0e266befb New MIB and implementation with clixonInetTable. Kristofer Hallin 2022-07-04 17:12:40 +02:00
  • 19b210b1b6 Fixed if-feature-expr parser memory leak Make test go directly to docker/main Olof hagsand 2022-06-26 12:27:01 +02:00
  • d82d08b4ac Merge branch 'snmp' of github.com:clicon/clixon into snmp Olof hagsand 2022-06-26 11:51:08 +02:00
  • cd5b68b0b8 Adapt to clixon master Olof hagsand 2022-06-26 11:39:58 +02:00
  • 4dd633ba31 SNMP: ifStackStatus test Olof hagsand 2022-06-23 12:16:05 +02:00
  • f6fe9f6a64 SNMP: fix SNMP set access of table entries [Conversion of ethernet address (PhysAddress) and IP address (IPAddress) crashes agent](https://github.com/clicon/clixon/issues/340) Hwaddress and IP adress for scalar and table set should now work Olof hagsand 2022-06-22 09:57:25 +02:00
  • fa87b7d59f SNMP: Fixed leafref index issue and table min-column issue for mult index Olof hagsand 2022-06-17 12:18:58 +02:00
  • ebfd173e0b SNMP: Dynamic table fixes Olof hagsand 2022-06-16 14:26:43 +02:00
  • 150ad3ab8b SNMP: Large refactorings and new dynamic table support Olof hagsand 2022-06-15 21:19:47 +02:00
  • ebf251455f Bugfix. Kristofer Hallin 2022-06-16 10:01:52 +02:00
  • 5962852e9f More table tests for IF-MIB. Kristofer Hallin 2022-06-16 09:31:37 +02:00
  • 4cece83e32 Tests for IF-MIB::ifRcvAddressTable with double indexes. Kristofer Hallin 2022-06-15 15:38:15 +02:00
  • 5194514993 New type, Timeticks. Kristofer Hallin 2022-06-13 14:13:54 +02:00
  • a768e8db5d Don't use the NetSNMP names from the old MIB. Kristofer Hallin 2022-06-13 14:13:30 +02:00
  • 9f48b491c1 Added range for INTEGER type in CLIXON-TYPES-MIB. Kristofer Hallin 2022-06-13 01:59:44 -07:00
  • 97cec9daec More updates to CLIXON-TYPES-MIB. Kristofer Hallin 2022-06-11 16:58:40 +02:00
  • 94c00a2584 SNMP: Step towards dynamic tables Olof hagsand 2022-06-10 09:36:15 +02:00
  • 5d1c78ead5 SNMP: refactor type translation using orig-table Olof hagsand 2022-06-09 13:14:36 +02:00
  • 8727e93911 More tests for entPhysicalMfgDate. Kristofer Hallin 2022-06-09 21:03:03 +02:00
  • 22b2ed51f5 Added types DateAndTime and UUIDorZero Kristofer Hallin 2022-06-09 20:59:55 +02:00
  • d76843fec1 New test for entPhysicalVendorType Kristofer Hallin 2022-06-09 19:02:31 +02:00
  • 05615c2ee5 SNMP: Translate AutonomousType to oid Olof hagsand 2022-06-09 11:12:10 +02:00
  • e3857396c7 SNMP Test: some clixon mib table tests Olof hagsand 2022-06-08 22:10:58 +02:00
  • 10226ceddd SNMP Tests: Added clixon sanity checks on all tests Ie, CLICON_VALIDATE_STATE_XML=true Changed symbolic OID to numeric Olof hagsand 2022-06-08 20:32:50 +02:00
  • b5d17d643a SNMP: Started register table entries dynamically Compile-time constant: SNMP_TABLE_DYNAMIC Added MIB SNMP erroir handling Olof hagsand 2022-06-08 19:57:00 +02:00
  • cb3aef450d More tests for ENTITY-MIB. Kristofer Hallin 2022-06-08 19:24:19 +02:00
  • 461ebd38d6 Added snmpwalk tests for system. Kristofer Hallin 2022-06-07 21:36:40 +02:00
  • 7eafd2e400 Test IF-MIB with numerical and textual OIDs + walk. Kristofer Hallin 2022-06-07 21:26:40 +02:00
  • c5d2d54fd3 Change nsIETFWGName type to integer. Kristofer Hallin 2022-06-07 20:45:44 +02:00
  • 86e6c3cd5e SNMP test: remove state from snmp_set Olof hagsand 2022-06-07 11:09:02 +02:00
  • 3c82f1668f MIB changes. Kristofer Hallin 2022-06-06 21:27:57 +02:00
  • 78c070b65b SNMP frontend: String table index Olof hagsand 2022-06-06 18:14:21 +02:00
  • a0e6536bab Added Siklu sponsorship text Olof hagsand 2022-06-05 15:50:22 +02:00
  • ef640772df SNMP Frontend, fix handling of snmpd down and memory leaks Olof hagsand 2022-06-05 15:30:55 +02:00
  • a3d0b74e4b Validate both numerical and lexical OIDs. Kristofer Hallin 2022-06-03 06:20:02 +02:00
  • 2e529290ea Added snmpbulkget. Kristofer Hallin 2022-06-02 19:35:32 +02:00
  • 5bc8f978da Only run certain tests if snmp_debug is set. Kristofer Hallin 2022-06-02 19:34:07 +02:00
  • 736eca3e3b First set of tests using bulkget. Kristofer Hallin 2022-06-02 19:25:10 +02:00
  • 44d7d898bb snmpset tests re-written. Kristofer Hallin 2022-06-02 16:21:59 +02:00
  • d15879890d test_snmp_types.sh are now test_snmp_get.sh Kristofer Hallin 2022-05-31 21:11:04 +02:00
  • 868da39aba No copy Kristofer Hallin 2022-05-31 21:10:18 +02:00
  • 9615254d70 Some variables and functions now live in lib.sh Kristofer Hallin 2022-05-31 21:03:04 +02:00
  • 09e18ace3b Copy Clixon MIB from test/mib/ to system MIB directory. Kristofer Hallin 2022-05-31 21:01:54 +02:00
  • 9031f535fe Modified the CLIXON-TYPES-MIB to use other OID, avoid collisions. Kristofer Hallin 2022-05-31 21:00:35 +02:00
  • 54cd943933 SNMP get tests for various types. Kristofer Hallin 2022-05-31 20:56:05 +02:00
  • 9be8cc51b3 Moved generic SNMP functions to lib.sh Kristofer Hallin 2022-05-31 20:55:39 +02:00