summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2020-01-09 10:13:23 -0800
committerhagbard <vyosdev@derith.de>2020-01-09 10:13:23 -0800
commitb69d20277b9625167b9d332775d8c7498dd8dd22 (patch)
treeae1fe0427a84deeaee3f22e2710c1921195b0b58 /interface-definitions
parent3fea3caf582eba9aee81041c6da8377b8ea47018 (diff)
downloadvyos-1x-b69d20277b9625167b9d332775d8c7498dd8dd22.tar.gz
vyos-1x-b69d20277b9625167b9d332775d8c7498dd8dd22.zip
service-snmp: T1955: snmp - cli config val_help missing
* set for trap-(source|target)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/snmp.xml.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/snmp.xml.in b/interface-definitions/snmp.xml.in
index 91f1b8d71..c0350d256 100644
--- a/interface-definitions/snmp.xml.in
+++ b/interface-definitions/snmp.xml.in
@@ -139,6 +139,14 @@
<leafNode name="trap-source">
<properties>
<help>SNMP trap source address</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 address</description>
+ </valueHelp>
<constraint>
<validator name="ipv4-address"/>
<validator name="ipv6-address"/>
@@ -148,6 +156,14 @@
<tagNode name="trap-target">
<properties>
<help>Address of trap target</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 address</description>
+ </valueHelp>
<constraint>
<validator name="ipv4-address"/>
<validator name="ipv6-address"/>