summaryrefslogtreecommitdiff
path: root/interface-definitions/snmp.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-27 04:23:13 +0100
committerChristian Poessinger <christian@poessinger.com>2019-10-27 04:29:31 +0100
commit556b528ef9cc1eca9d142ebe1f8f88cd02d536da (patch)
tree727735b1ae792c88521bb24d60a36698b5673da6 /interface-definitions/snmp.xml
parentd523111279b3a9a5266b442db5f04049a31685f7 (diff)
downloadvyos-1x-556b528ef9cc1eca9d142ebe1f8f88cd02d536da.tar.gz
vyos-1x-556b528ef9cc1eca9d142ebe1f8f88cd02d536da.zip
snmp: T1769: remove TSM (Transport Security Mode) support
The SNMPv3 TSM is very complex and I know 0 users of it. Also this is untested and I know no way how it could be tested. Instead of carrying on dead and unused code we should favour a drop of it using a proper config migration script.
Diffstat (limited to 'interface-definitions/snmp.xml')
-rw-r--r--interface-definitions/snmp.xml34
1 files changed, 0 insertions, 34 deletions
diff --git a/interface-definitions/snmp.xml b/interface-definitions/snmp.xml
index 5beaf4308..14aad90a0 100644
--- a/interface-definitions/snmp.xml
+++ b/interface-definitions/snmp.xml
@@ -412,35 +412,6 @@
</leafNode>
</children>
</tagNode>
- <node name="tsm">
- <properties>
- <help>Specifies that SNMPv3 uses the Transport Security Model (TSM)</help>
- </properties>
- <children>
- <leafNode name="local-key">
- <properties>
- <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 used for TSM (default: '10161')</help>
- <valueHelp>
- <format>1-65535</format>
- <description>Numeric IP port</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-65535"/>
- </constraint>
- <constraintErrorMessage>Port number must be in range 1 to 65535</constraintErrorMessage>
- </properties>
- </leafNode>
- </children>
- </node>
<tagNode name="user">
<properties>
<help>Specifies the user with name username</help>
@@ -564,11 +535,6 @@
</constraint>
</properties>
</leafNode>
- <leafNode name="tsm-key">
- <properties>
- <help>Specifies finger print or file name of TSM certificate</help>
- </properties>
- </leafNode>
</children>
</node>
</children>