Commit graph

2365 commits

Author SHA1 Message Date
Jan-Olof Carlson
9be83d6c7e Added support for with-defaults to list pagination 2022-08-29 18:29:31 +02:00
Jan-Olof Carlson
175ed5a193 Improved testcases for RESTCONF 2022-08-29 18:29:31 +02:00
Jan-Olof Carlson
c8f98f7c3c Added namespace when with-defaults=report-all-tagged 2022-08-29 18:29:31 +02:00
Jan-Olof Carlson
2f0f1ef5a7 FC6243 with-defaults=report-all-tagged test cases and implementation added 2022-08-29 18:29:31 +02:00
Jan-Olof Carlson
8154943380 Server uses the explicit basic mode 2022-08-29 18:29:31 +02:00
Jan-Olof Carlson
5a9d444dc6 with-default capabilities: report-all, explicit, trim 2022-08-29 18:29:31 +02:00
Jan-Olof Carlson
9771feebf3 RFC6243 with-defaults=trim test cases and implementation added 2022-08-29 18:29:31 +02:00
Olof hagsand
f3ab3006e8 Fixed: [with-defaults=trim does not work due to dodgy handling of state data marked as default](https://github.com/clicon/clixon/issues/348) 2022-08-29 18:29:31 +02:00
Jan-Olof Carlson
71fe10a057 with-defaults=trim does not work due to dodgy handling of state data marked as default 2022-08-29 18:27:07 +02:00
Jan-Olof Carlson
dcb78bbc26 Test performed using internal RESTCONF server 2022-08-29 18:27:07 +02:00
Jan-Olof Carlson
14cc88ca39 Added parameter defaults to library function clicon_rpc_get 2022-08-29 18:27:07 +02:00
Jan-Olof Carlson
6bee1746e0 RFC8040 4.8.9. RESTCONF with-defaults Query Parameter 2022-08-29 18:27:07 +02:00
Jan-Olof Carlson
9647177165 Correct NETCONF error-tag when operation not supported 2022-08-29 18:27:07 +02:00
Jan-Olof Carlson
0a20348b3b rfc6243 with-defaults Capability for NETCONF 2022-08-29 18:27:07 +02:00
Olof Hagsand
70ed85f413 Various typos 2022-08-26 12:22:30 +00:00
jiangxiaoming
b73cc75366 fix posix regular transform of char \w not include '_' char 2022-08-25 11:41:16 +08:00
Olof hagsand
a516ee173d Fixed: [YANG ordering fails for nested choice and action](YANG ordering fails for nested choice and action) 2022-08-24 13:02:38 +02:00
Olof hagsand
795ac0cc7d Clixon-netconf: Redirect logs to syslog by default, instead of stderr 2022-08-23 19:41:02 +02:00
Olof hagsand
ba39f88936 Fixed: [YANG min-elements within non-presence container does not work](https://github.com/clicon/clixon/issues/355) 2022-08-23 19:40:16 +02:00
Olof hagsand
ba9b313295 Restconf callhome: idle-timeout for periodic callhome 2022-08-22 11:27:02 +02:00
Olof hagsand
9a5504eed0 Fixed: [Issues with ietf-snmp modules](https://github.com/clicon/clixon/issues/353) 2022-08-18 18:07:29 +02:00
Olof hagsand
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)
2022-08-18 16:38:24 +02:00
Olof hagsand
b748d68912 RESTCONF callhome, periodic and persistent connection-types, multiple clients 2022-08-18 16:38:24 +02:00
Olof Hagsand
0676ee4e64
Merge pull request #352 from krihal/master
Two minor fixes for building on macOS
2022-08-18 16:35:20 +02:00
Kristofer Hallin
6a367fa97b
Two minor fixes for building on macOS, HOST_VENDOR should be defined before trying to check its value. 2022-08-17 09:39:16 +02:00
Olof Hagsand
971ecb1b7f
Merge pull request #351 from krihal/build_macos
Make Clixon build on MacOS.
2022-08-16 11:47:36 +02:00
Kristofer Hallin
68b528ac0b Make Clixon build on MacOS. 2022-08-16 08:40:04 +02:00
Olof hagsand
af8a440f6c Patched ietf-list-pagination revision 2022-07-24 2022-08-12 16:43:01 +02:00
Olof hagsand
5ac8bd2d03 Updated ietf-list-pagination YANGs to revision 2022-07-24 2022-08-12 16:13:32 +02:00
Olof hagsand
7e783952eb Restconf callhome: Added YANG connection-type, test: added NACM 2022-08-12 15:05:18 +02:00
Olof hagsand
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) 2022-08-10 13:38:15 +02:00
Olof hagsand
d1553471f7 Fixed: [Validation of mandatory in choice/case does not work in some cases](https://github.com/clicon/clixon/issues/349) 2022-08-10 13:25:30 +02:00
Olof hagsand
3a9b276deb Fixed struct sockaddr memory issues
Test: fixed docker yang repo copy
Test: disable restconf-callhome for fcgi
2022-07-31 11:33:02 +02:00
Olof hagsand
7d8ddf7697 Restconf RFC8071 call-home first working prototype 2022-07-31 09:59:52 +02:00
Olof hagsand
a3b94f4781 Beginning 5.9.0.PRE 2022-07-29 08:56:14 +02:00
Olof hagsand
6f5149cc32 Clixon 5.8.0 release 2022-07-28 19:15:00 +02:00
Olof hagsand
bb069aa7b8 Test: fixed snmp for docker/fcgi 2022-07-27 18:28:24 +02:00
Olof hagsand
b0d38a513c Memory leak in cli load_config_file 2022-07-27 17:40:49 +02:00
Olof hagsand
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
2022-07-26 18:10:27 +02:00
Olof hagsand
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) 2022-07-26 13:32:57 +02:00
Olof hagsand
d7ed503bad Removed debugs, updated CHANGELOG 2022-07-26 12:47:58 +02:00
Olof hagsand
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
2022-07-25 09:25:11 +02:00
Olof hagsand
f9eacebf68 Enable calling clicon_err_fn with fn=NULL 2022-07-22 18:36:53 +02:00
Olof hagsand
aaa18897ef Test: remove obsolete test_ openconfig_system
Add branch with-defaults to github workflow
Check in parameter in yang_extension_value
2022-07-22 16:57:46 +02:00
Olof hagsand
4514f2a538 Fixed: ["autocli:hide-show" extension cause bug in xmldb_put method #343](https://github.com/clicon/clixon/issues/343)
As a side-effect, added extra "autocliext" parameter to:
- clixon_xml2file()
- clixon_json2file()
- clixon_json2cbuf()
- clixon_txt2file()
2022-07-22 16:06:28 +02:00
Olof hagsand
e724dd7f40 Test: Added detail env var to sum.sh, Changed make test to include detailed test 2022-07-21 09:08:18 +02:00
Olof hagsand
42efb59a75 Example main -v/-V issues breaking previous commit tests 2022-07-21 08:07:48 +02:00
Olof hagsand
89f8567f75 Refactoring of if-feature parse code
Moved if-feature sub-parser to clixon_yang_parse_sub.[ch]
2022-07-20 22:48:09 +02:00
Olof hagsand
a846989569 Fixed: [Schema Ambiguity Error with openconfig-system re: NTP](https://github.com/clicon/clixon/issues/334) 2022-07-16 18:11:54 +02:00
Olof hagsand
1d78241115 Merge branch 'snmp' 2022-07-15 15:54:44 +02:00