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
7e783952eb
Restconf callhome: Added YANG connection-type, test: added NACM
2022-08-12 15:05:18 +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
b0d38a513c
Memory leak in cli load_config_file
2022-07-27 17:40:49 +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
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
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
Olof hagsand
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
2022-07-14 22:24:44 +02:00
Olof hagsand
49d19b263c
SNMP: Internal cache handling for rowstatus
...
Test: prefix SN=0 instead of CS=0 for override clixon_snmp start
2022-07-11 10:07:48 +02:00
Olof hagsand
5175cb8223
SNMP: Added rowstatus destroy logic
2022-07-10 12:17:01 +02:00
Olof hagsand
714e41c627
SNMP: rowstatus for go and wait
...
Remaining: destroy and internal state
2022-07-09 16:41:21 +02:00
Olof hagsand
d79d0aa933
SNMP Support for display-hint "255t" for fixed string translation
2022-07-09 12:41:58 +02:00
Olof hagsand
d9cdd669d2
SNMP: Add IPaddress scalar to clixon mib and fix ipv4 set translation
2022-07-08 10:32:25 +02:00
Olof hagsand
cd5b68b0b8
Adapt to clixon master
2022-06-26 11:39:58 +02:00
Olof hagsand
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
2022-06-26 11:31:28 +02:00
Olof hagsand
fa87b7d59f
SNMP: Fixed leafref index issue and table min-column issue for mult index
2022-06-26 11:31:06 +02:00
Olof hagsand
ebfd173e0b
SNMP: Dynamic table fixes
2022-06-26 11:30:29 +02:00
Olof hagsand
150ad3ab8b
SNMP: Large refactorings and new dynamic table support
2022-06-26 11:30:29 +02:00
Olof hagsand
94c00a2584
SNMP: Step towards dynamic tables
2022-06-26 11:30:29 +02:00
Olof hagsand
5d1c78ead5
SNMP: refactor type translation using orig-table
2022-06-26 11:30:29 +02:00
Kristofer Hallin
22b2ed51f5
Added types DateAndTime and UUIDorZero
2022-06-26 11:30:29 +02:00
Olof hagsand
05615c2ee5
SNMP: Translate AutonomousType to oid
2022-06-26 11:30:29 +02:00
Olof hagsand
b5d17d643a
SNMP: Started register table entries dynamically
...
Compile-time constant: SNMP_TABLE_DYNAMIC
Added MIB SNMP erroir handling
2022-06-26 11:30:29 +02:00
Olof hagsand
78c070b65b
SNMP frontend: String table index
2022-06-26 11:29:40 +02:00
Olof hagsand
a0e6536bab
Added Siklu sponsorship text
2022-06-26 11:29:40 +02:00
Olof hagsand
ef640772df
SNMP Frontend, fix handling of snmpd down and memory leaks
...
If snmpd is down, clixon_snmp does not start
If snmpd stops, clixon_snmp quits
Mem leaks fixed
2022-06-26 11:29:40 +02:00
Olof hagsand
ff52cad3a8
SNMP frontend: Types and indexes
...
Added timestamp and inet address
First go at index names
2022-06-26 11:29:40 +02:00
Olof hagsand
b3a6700fd5
SNMP frontend, forgot add some files in last commit
2022-06-26 11:29:40 +02:00
Olof hagsand
18ff854e12
SNMP frontend: special case for SnmpAdminString with not null-terminated string
2022-06-26 11:29:40 +02:00
Olof hagsand
7bcecc155a
SNMP Frontend, fixed remaining types: phys-addr, timeticks, binary, objectid
2022-06-26 11:29:40 +02:00
Olof hagsand
6f7a33d196
SNMP frontend, new preli table handling code
...
Skipped data set and use table-helper only
Specialized SNMP error handling
2022-06-26 11:28:42 +02:00
Olof hagsand
05f3ebb59e
SNMP frontend: SNMP2YANG type conversion for snmpset
2022-06-26 11:28:42 +02:00
Olof hagsand
aa95ead1cc
SNMP frontend: Reworked types for GET types translation
...
YANG enum type, split up enum to int into two functions
2022-06-26 11:28:42 +02:00
Kristofer Hallin
657aafd3b1
Extended supported types with uint64.
2022-06-26 11:28:42 +02:00
Kristofer Hallin
bf1643cc43
Extended supported types with uint32.
2022-06-26 11:28:42 +02:00
Olof hagsand
46cb21f3e8
SNMP frontend: Generalized type handling for set functions
...
SPlit scalar_handler into get and set subfunctions
2022-06-26 11:28:42 +02:00
Olof hagsand
ef604be610
SNMP frontend, restructure files
...
Split snmp_mib_yang.c into: snmp_register.[ch] and snmp_handler.[ch]
2022-06-26 11:28:42 +02:00
Olof hagsand
f905f66efa
SNMP frontend: Changed yang2xpath to us string, traverse only datanodes
2022-06-26 11:28:42 +02:00
Olof hagsand
484507b628
removed binary added by mistake
2022-06-26 11:28:42 +02:00
Olof hagsand
eb8d0c0b3a
SNMP frontend: added -z zap command-line option and pid-file exclusive check, fixed mem check
2022-06-26 11:28:42 +02:00
Kristofer Hallin
2366be0062
Handle errors from clixon_table_create.
2022-06-26 11:28:42 +02:00
Olof hagsand
42f21a309a
SNMP frontend: conflict typos, snmp pidfile
2022-06-26 11:28:42 +02:00
Olof hagsand
5172cf15fa
SNMP frontend: getnext, oid sanity checks and scalar debug
2022-06-26 11:28:42 +02:00
Kristofer Hallin
59a637fdf4
New function, clixon_table_create which will clear a table and create any rows, indexes and columns to avoid collissions.
2022-06-26 11:28:42 +02:00