summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-07-15 11:25:12 -0700
committerChristian Poessinger <christian@poessinger.com>2019-11-28 18:22:06 +0100
commit4d9e51a00545278a3390938b9c20eef3e5133862 (patch)
treeb4d4d23c2038acaf7865132d0a9bdc7c6f5e317d /interface-definitions
parent86104f7c5aa18b00989c7bd008217af5097b1920 (diff)
downloadvyos-1x-4d9e51a00545278a3390938b9c20eef3e5133862.tar.gz
vyos-1x-4d9e51a00545278a3390938b9c20eef3e5133862.zip
[T1299] - SNMP extension with custom scripts
(cherry picked from commit 334677572aef752b0bf2c893bd14bdf6f801bb4b)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/snmp.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/interface-definitions/snmp.xml b/interface-definitions/snmp.xml
index 9aaaf29b4..821d1367d 100644
--- a/interface-definitions/snmp.xml
+++ b/interface-definitions/snmp.xml
@@ -577,6 +577,28 @@
</tagNode>
</children>
</node>
+ <node name="script-extensions">
+ <properties>
+ <help>SNMP script extensions</help>
+ </properties>
+ <children>
+ <tagNode name="extension-name">
+ <properties>
+ <help>Extension name</help>
+ </properties>
+ <children>
+ <leafNode name="script">
+ <properties>
+ <help>Script location and name</help>
+ <completionHelp>
+ <script>ls /config/user-data</script>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </tagNode>
+ </children>
+ </node>
</children>
</node>
</children>