mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
SNMPd interface changes
This commit is contained in:
parent
fc314e392f
commit
9f802f0d2d
1 changed files with 5 additions and 7 deletions
|
@ -17,7 +17,7 @@ network.cast = "string"
|
||||||
network.nocreate = true
|
network.nocreate = true
|
||||||
|
|
||||||
s = m:section(TypedSection, "com2sec", translate("com2sec"))
|
s = m:section(TypedSection, "com2sec", translate("com2sec"))
|
||||||
s.addremove = false
|
s.addremove = true
|
||||||
|
|
||||||
secname = s:option(ListValue, "secname", translate("Server"))
|
secname = s:option(ListValue, "secname", translate("Server"))
|
||||||
secname.optional = false
|
secname.optional = false
|
||||||
|
@ -31,11 +31,10 @@ source.rmempty = false
|
||||||
|
|
||||||
community = s:option(ListValue, "community", translate("Community"))
|
community = s:option(ListValue, "community", translate("Community"))
|
||||||
community.optional = false
|
community.optional = false
|
||||||
community:value("public","public")
|
community.rmempty = false
|
||||||
community:value("private","private")
|
|
||||||
|
|
||||||
s = m:section(TypedSection, "com2sec6", translate("com2sec6"))
|
s = m:section(TypedSection, "com2sec6", translate("com2sec6"))
|
||||||
s.addremove = false
|
s.addremove = true
|
||||||
|
|
||||||
secname = s:option(ListValue, "secname", translate("secname"))
|
secname = s:option(ListValue, "secname", translate("secname"))
|
||||||
secname.optional = false
|
secname.optional = false
|
||||||
|
@ -47,10 +46,9 @@ source.datatype = "host"
|
||||||
source.optional = false
|
source.optional = false
|
||||||
source.rmempty = false
|
source.rmempty = false
|
||||||
|
|
||||||
community = s:option(ListValue, "community", translate("Community"))
|
community = s:option(Value, "community", translate("Community"))
|
||||||
community.optional = false
|
community.optional = false
|
||||||
community:value("public","public")
|
community.rmempty = false
|
||||||
community:value("private","private")
|
|
||||||
|
|
||||||
s = m:section(TypedSection, "group", translate("Group"))
|
s = m:section(TypedSection, "group", translate("Group"))
|
||||||
s.addremove = true
|
s.addremove = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue