Olof hagsand
3642fde46f
SNMP frontend, add int32 + string type for scalars
...
Added get string test
Added set value for netconf test
2022-05-19 15:46:35 +02:00
Olof hagsand
0473303a4c
SNMP frontend, main test for config false only, write test move to test_snmp_set.sh
2022-05-19 15:46:35 +02:00
Olof hagsand
f1db15c2ad
SNMP frontend, RPC of single variable through clixon
2022-05-19 15:46:35 +02:00
Olof hagsand
19c47ee043
SNMP frontend
...
Fixed table/scalar collision issue
Made the CS variable change said to be in previous commit
2022-05-19 15:46:35 +02:00
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
168598168f
Fixed minor typo in comment.
2022-05-19 15:46:35 +02:00
Kristofer Hallin
bc459a8229
Workaround for crashing snmpd in Alpine.
2022-05-19 15:46:35 +02:00
Kristofer Hallin
3d84a48b45
Valgrind tests for clixon_snmp.
2022-05-19 15:46:35 +02:00
Olof hagsand
625cc76bde
Clixon SNMP frontend update
...
* Integration of testhandler.c gives proper callback handling
* YANG `clixon-config@2022-03-21.yang` changes:
* Added option:
* `CLICON_SNMP_AGENT_SOCK`
2022-05-19 15:46:34 +02:00
Kristofer Hallin
1e05207fd5
Check if we have Net-SNMP support enabled before trying to run SNMP tests.
2022-05-19 15:46:08 +02:00
Kristofer Hallin
b4b00bffaf
Set proper paths to SNMP utils.
2022-05-19 15:46:08 +02:00
Kristofer Hallin
498394695c
Changed paths for SNMP tools used in test.
2022-05-19 15:46:08 +02:00
Kristofer Hallin
68b99dc1ad
Initial SNMP tests.
2022-05-19 15:46:08 +02:00