summaryrefslogtreecommitdiff
path: root/interface-definitions/snmp.xml.in
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-08-10 09:54:19 +0000
committerViacheslav <v.gletenko@vyos.io>2021-08-10 09:54:19 +0000
commitc87d3c277c4a023d42962005676827d69a976a1d (patch)
treea1db517278e5ca25b69f17fb6921a2d99cf7d2c7 /interface-definitions/snmp.xml.in
parent0b37de6ba97810636ecbf9a84c6df8f5409ae78c (diff)
downloadvyos-1x-c87d3c277c4a023d42962005676827d69a976a1d.tar.gz
vyos-1x-c87d3c277c4a023d42962005676827d69a976a1d.zip
snmp: T3709: Allow enable oid ipCidrRouteTable
Diffstat (limited to 'interface-definitions/snmp.xml.in')
-rw-r--r--interface-definitions/snmp.xml.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/snmp.xml.in b/interface-definitions/snmp.xml.in
index f57103eac..2654449a1 100644
--- a/interface-definitions/snmp.xml.in
+++ b/interface-definitions/snmp.xml.in
@@ -129,6 +129,26 @@
<constraintErrorMessage>Location is limited to 255 characters or less</constraintErrorMessage>
</properties>
</leafNode>
+ <leafNode name="oid-enable">
+ <properties>
+ <help>Enable specific oids</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Enable specific oids</description>
+ </valueHelp>
+ <valueHelp>
+ <format>route-table</format>
+ <description>Enable route table oids (ipCidrRouteTable inetCidrRouteTable)</description>
+ </valueHelp>
+ <completionHelp>
+ <list>route-table</list>
+ </completionHelp>
+ <constraint>
+ <regex>^(route-table)$</regex>
+ </constraint>
+ <constraintErrorMessage>Oid must be 'route-table'</constraintErrorMessage>
+ </properties>
+ </leafNode>
<leafNode name="smux-peer">
<properties>
<help>Register a subtree for SMUX-based processing</help>