Commit graph

18 commits

Author SHA1 Message Date
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
02983a025a SNMP frontend: special case for SnmpAdminString with not null-terminated string 2022-05-28 15:30:16 +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
Kristofer Hallin
91bed5589a Extended supported types with uint64. 2022-05-22 21:09:03 +02:00
Kristofer Hallin
aea2760cb0 Extended supported types with uint32. 2022-05-21 09:49:08 +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