summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-06-04 19:08:20 +0200
committerChristian Poessinger <christian@poessinger.com>2018-06-04 20:22:37 +0200
commit6900ac9213903f239f915624553d986f4fdbe0d4 (patch)
treeb4bba51d210587dd8540478613f819ef2d4249f6 /interface-definitions
parent3f553cf6effe76cafb031051b3aa3ca87e7b84a1 (diff)
downloadvyos-1x-6900ac9213903f239f915624553d986f4fdbe0d4.tar.gz
vyos-1x-6900ac9213903f239f915624553d986f4fdbe0d4.zip
T652: Add SNMPv3 TSM handling and commit verification
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/snmp.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/interface-definitions/snmp.xml b/interface-definitions/snmp.xml
index 3edc22aa4..7928de5d7 100644
--- a/interface-definitions/snmp.xml
+++ b/interface-definitions/snmp.xml
@@ -402,17 +402,21 @@
</tagNode>
<node name="tsm">
<properties>
- <help>Specifies that the snmpd uses encryption</help>
+ <help>Specifies that SNMPv3 uses the Transport Security Model (TSM)</help>
</properties>
<children>
<leafNode name="local-key">
<properties>
- <help>Defines the server certificate fingerprint or key-file name</help>
+ <help>Fingerprint of a TSM server certificate</help>
+ <constraint>
+ <regex>^[0-9A-F]{2}(:[0-9A-F]{2}){19}$</regex>
+ </constraint>
+ <constraintErrorMessage>Value can be finger print key or filename in /config/snmp/tls/certs</constraintErrorMessage>
</properties>
</leafNode>
<leafNode name="port">
<properties>
- <help>Defines the port for TSM (default: '10161')</help>
+ <help>Defines the port used for TSM (default: '10161')</help>
<valueHelp>
<format>1-65535</format>
<description>Numeric IP port</description>