Olof hagsand
99b766ee50
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-22 13:06:23 +02:00
Olof hagsand
2e068b8320
SNMP: Large refactorings and new dynamic table support
2022-06-16 11:08:07 +02:00
Olof hagsand
479e187917
SNMP: Step towards dynamic tables
2022-06-10 09:39:33 +02:00
Olof hagsand
2d6b166ced
SNMP: refactor type translation using orig-table
2022-06-10 09:39:33 +02:00
Olof hagsand
d9d377de6d
SNMP: Started register table entries dynamically
...
Compile-time constant: SNMP_TABLE_DYNAMIC
Added MIB SNMP erroir handling
2022-06-08 20:31:30 +02:00
Olof hagsand
1ba5ad668d
SNMP frontend: String table index
2022-06-06 18:14:21 +02:00
Olof hagsand
9d5c85884c
Added Siklu sponsorship text
2022-06-05 15:50:22 +02:00
Olof hagsand
6e1c20e873
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-05 15:36:20 +02:00
Olof hagsand
739193a3de
SNMP frontend: Types and indexes
...
Added timestamp and inet address
First go at index names
2022-05-30 11:34:35 +02:00
Olof hagsand
b2fbcb395c
SNMP frontend, forgot add some files in last commit
2022-05-28 15:37:44 +02:00
Olof hagsand
bf110058bc
SNMP Frontend, fixed remaining types: phys-addr, timeticks, binary, objectid
2022-05-28 10:48:17 +02:00
Olof hagsand
b2be7e9e1b
SNMP frontend, new preli table handling code
...
Skipped data set and use table-helper only
Specialized SNMP error handling
2022-05-26 19:04:51 +02:00
Olof hagsand
675f4c9f7e
SNMP frontend: SNMP2YANG type conversion for snmpset
2022-05-23 14:33:32 +02:00
Olof hagsand
7a1dc5da50
SNMP frontend: Reworked types for GET types translation
...
YANG enum type, split up enum to int into two functions
2022-05-23 09:27:32 +02:00
Olof hagsand
ea03363c3a
SNMP frontend: Generalized type handling for set functions
...
SPlit scalar_handler into get and set subfunctions
2022-05-20 15:05:23 +02:00
Olof hagsand
34fe439f53
SNMP frontend, restructure files
...
Split snmp_mib_yang.c into: snmp_register.[ch] and snmp_handler.[ch]
2022-05-19 16:02:52 +02:00
Olof hagsand
0cf87c75a9
SNMP frontend: Changed yang2xpath to us string, traverse only datanodes
2022-05-19 15:46:35 +02:00
Olof hagsand
38d91a1305
SNMP frontend generic code for tables and clixon backend
...
Added snmp-msg translation table
Changed test-table to only GET
2022-05-19 15:46:35 +02:00
Olof hagsand
8a208693ba
SNMP frontend. New snmp_lib.[ch] and rearranged code into lib
...
Test: renamed WITH_SNMP -> ENABLE_SNMP
2022-05-19 15:46:35 +02:00