diff options
author | hagbard <vyosdev@derith.de> | 2020-01-09 10:13:23 -0800 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2020-01-09 10:13:23 -0800 |
commit | b69d20277b9625167b9d332775d8c7498dd8dd22 (patch) | |
tree | ae1fe0427a84deeaee3f22e2710c1921195b0b58 /interface-definitions/snmp.xml.in | |
parent | 3fea3caf582eba9aee81041c6da8377b8ea47018 (diff) | |
download | vyos-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/snmp.xml.in')
-rw-r--r-- | interface-definitions/snmp.xml.in | 16 |
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"/> |