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>
This commit is contained in:
Olof hagsand 2022-05-04 15:03:08 +02:00
parent ee06652e86
commit df687f7180
12 changed files with 561 additions and 243 deletions

View file

@ -440,7 +440,7 @@ function chunked_framing()
function start_snmp(){
cfg=$1
$clixon_snmp -f $cfg -D $DBG -l s &
$clixon_snmp -f $cfg -D $DBG &
if [ $? -ne 0 ]; then
err
@ -456,7 +456,7 @@ function stop_snmp(){
if [ $valgrindtest != 0 ]; then
kill `ps aux | grep [v]algrind | awk '{print $2}' | tail -n1`
else
killall clixon_snmp
killall -q clixon_snmp
fi
}