net-snmp: add security_level option to snmpv3 config

Add a security_level option (noAuthNoPriv, authNoPriv, authPriv) to
the UCI configuration so users can select the SNMPv3 security level
directly instead of having to infer it from other settings.

This makes the configuration clearer and allows luci-app-snmpd to
expose the choice as a simple dropdown, making SNMPv3 setup more
intuitive.

Signed-off-by: Christian Korber <ckorber@tdt.de>
This commit is contained in:
Christian Korber authored and Florian Eckert committed 2026-11-30 13:11:30 +01:00
1 parent 990cea4c85
commit cd1270d96b
1 file changed
+1
+1
View File
@@ -142,6 +142,7 @@ config snmpd general
#
#config v3
# option username 'John'
# option security_level 'noAuthNoPriv|authNoPriv|authPriv'
# option allow_write '0'
# option auth_type 'SHA|MD5'
# option auth_pass 'passphrase'