Commit graph

6 commits

Author SHA1 Message Date
Olof hagsand
3dbfbf5b31 Clixon SNMP frontend
Added two new config options to clixon-config.yang: `CLICON_HTTP_DATA_ROOT`
Added new files: apps/snmp/snmp_mib_yang.[ch] for generic MIB/YANG handling
Test: killall quiet
Test: added specific MIB for generic code: <CLICON_SNMP_MIB>NET-SNMP-EXAMPLES-MIB</CLICON_SNMP_MIB>
2022-05-19 15:46:35 +02:00
Kristofer Hallin
80651503fd SNMP tests: Don't start snmpd, check if the system have snmpd started otherwise present instructions for how to configure and start it. 2022-05-19 15:46:35 +02:00
Olof hagsand
d82df5b707 SNMP MIB->YANG translation file handling.
Added configure option  --with-mib-generated-yang-dir=DIR with
default value /usr/share/mibyang where generated YANGs from MIBs
should be placed so that SNMP tests know where to find the YANGs.
2022-05-19 15:46:35 +02:00
Olof hagsand
2a98ae5d93 SNMP: replaced testhandler code to use only NET-SNMP-EXAMPLES-MIB for scalar and table 2022-05-19 15:46:35 +02:00
Kristofer Hallin
0ada609d2f Fix for snmpd in Alpine, snmpd crashes with the default configuration. 2022-05-19 15:46:35 +02:00
Kristofer Hallin
964fbfd3bc Tests for SNMP tables. 2022-05-19 15:46:35 +02:00