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:
parent
ee06652e86
commit
df687f7180
12 changed files with 561 additions and 243 deletions
|
|
@ -1132,6 +1132,16 @@ module clixon-config {
|
|||
0 means no limit";
|
||||
|
||||
}
|
||||
leaf-list CLICON_SNMP_MIB {
|
||||
description
|
||||
"Names of MIBs that are used by clixon_snmp.
|
||||
For each MIB M, a YANG file M.yang is expected to be found.
|
||||
If not found, an error is genereated.
|
||||
The YANG file M.yang is typically generated from the source MIB but can also
|
||||
be handcrafted. An example of such a script is scripts/mib_to_yang.sh.
|
||||
A list of these options should be in the configuration.";
|
||||
type string;
|
||||
}
|
||||
leaf CLICON_SNMP_AGENT_SOCK {
|
||||
type string;
|
||||
default "unix:/tmp/clixon_snmp.sock";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue