Clixon SNMP frontend update

Integrated netsnmp agent and clixon event handling, made a workaround of fdset:s
used in the netsnmp API with sockets used in Clixon
Added a hardcoded MIB OID handler as subagent
Added libnetsnmpagent to autotools dependency check
New OE_SNMP error code
This commit is contained in:
Olof hagsand 2022-04-25 10:59:18 +02:00
parent 16d21bbe3b
commit e32cb81b49
5 changed files with 244 additions and 46 deletions

View file

@ -74,6 +74,7 @@ enum clicon_err{
OE_RESTCONF, /* RESTCONF errors */
OE_PLUGIN, /* plugin loading, etc */
OE_YANG , /* Yang error */
OE_SNMP , /* Netsnmp error */
OE_FATAL, /* Fatal error */
OE_UNDEF,
/*-- From here error extensions using clixon_err_cat_reg, XXX register dynamically? --*/