summaryrefslogtreecommitdiff
path: root/interface-definitions/snmp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-10 13:50:41 +0200
committerGitHub <noreply@github.com>2021-08-10 13:50:41 +0200
commit349b5ede105cdb4032295ae861b5784aefdf7af6 (patch)
treea1db517278e5ca25b69f17fb6921a2d99cf7d2c7 /interface-definitions/snmp.xml.in
parent0b37de6ba97810636ecbf9a84c6df8f5409ae78c (diff)
parentc87d3c277c4a023d42962005676827d69a976a1d (diff)
downloadvyos-1x-349b5ede105cdb4032295ae861b5784aefdf7af6.tar.gz
vyos-1x-349b5ede105cdb4032295ae861b5784aefdf7af6.zip
Merge pull request #960 from sever-sever/T3709
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>