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`
This commit is contained in:
Olof hagsand 2022-04-27 15:18:25 +02:00
parent c584d171ee
commit 28514c6750
5 changed files with 449 additions and 61 deletions

View file

@ -1132,5 +1132,17 @@ module clixon-config {
0 means no limit";
}
leaf CLICON_SNMP_AGENT_SOCK {
type string;
default "unix:/tmp/clixon_snmp.sock";
description
"String description of AgentX socket that clixon_snmp listens to.
For example, for net-snmpd, the socket is created by using the following:
--agentXSocket=unix:<path>
This string currently only supports UNIX socket path.
Note also that the user should consider setting permissions appropriately
XXX: This should be in later yang revision and documented as added when
merged with master";
}
}
}