Commit graph

14 commits

Author SHA1 Message Date
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
99cd8bacc0 SNMP frontend generic code for tables and clixon backend
Added snmp-msg translation table
Changed test-table to only GET
2022-06-26 11:28:42 +02:00
Olof hagsand
62a32faf9c SNMP frontend. New snmp_lib.[ch] and rearranged code into lib
Test: renamed WITH_SNMP -> ENABLE_SNMP
2022-06-26 11:28:42 +02:00