summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-07-15 11:25:12 -0700
committerhagbard <vyosdev@derith.de>2019-07-15 11:37:20 -0700
commit334677572aef752b0bf2c893bd14bdf6f801bb4b (patch)
tree3ac962a6269799e43582943998aaaef2484a6eb0 /interface-definitions
parent13b27148102d2e38202bcfecbab8830a8561abdc (diff)
downloadvyos-1x-334677572aef752b0bf2c893bd14bdf6f801bb4b.tar.gz
vyos-1x-334677572aef752b0bf2c893bd14bdf6f801bb4b.zip
[T1299] - SNMP extension with custom scripts
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 103aa39d7..8b2fa8a93 100644
--- a/interface-definitions/snmp.xml
+++ b/interface-definitions/snmp.xml
@@ -599,6 +599,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>