From 566f7f2401b79a79abe5ed9597fed325540983fa Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 30 Dec 2021 21:37:44 +0100 Subject: snmp: T4124: migrate to get_config_dict() --- .../include/snmp/access-mode.xml.i | 23 ++++++++++++++++++++++ .../include/snmp/authentication-type.xml.i | 22 +++++++++++++++++++++ .../include/snmp/privacy-type.xml.i | 22 +++++++++++++++++++++ interface-definitions/include/snmp/protocol.xml.i | 22 +++++++++++++++++++++ 4 files changed, 89 insertions(+) create mode 100644 interface-definitions/include/snmp/access-mode.xml.i create mode 100644 interface-definitions/include/snmp/authentication-type.xml.i create mode 100644 interface-definitions/include/snmp/privacy-type.xml.i create mode 100644 interface-definitions/include/snmp/protocol.xml.i (limited to 'interface-definitions/include/snmp') diff --git a/interface-definitions/include/snmp/access-mode.xml.i b/interface-definitions/include/snmp/access-mode.xml.i new file mode 100644 index 000000000..1fce2364e --- /dev/null +++ b/interface-definitions/include/snmp/access-mode.xml.i @@ -0,0 +1,23 @@ + + + + Define access permission + + ro rw + + + ro + Read-Only (default) + + + rw + read write + + + ^(ro|rw)$ + + Authorization type must be either 'rw' or 'ro' + + ro + + diff --git a/interface-definitions/include/snmp/authentication-type.xml.i b/interface-definitions/include/snmp/authentication-type.xml.i new file mode 100644 index 000000000..2a545864a --- /dev/null +++ b/interface-definitions/include/snmp/authentication-type.xml.i @@ -0,0 +1,22 @@ + + + + Define used protocol + + md5 sha + + + md5 + Message Digest 5 (default) + + + sha + Secure Hash Algorithm + + + ^(md5|sha)$ + + + md5 + + diff --git a/interface-definitions/include/snmp/privacy-type.xml.i b/interface-definitions/include/snmp/privacy-type.xml.i new file mode 100644 index 000000000..47a1e632e --- /dev/null +++ b/interface-definitions/include/snmp/privacy-type.xml.i @@ -0,0 +1,22 @@ + + + + Defines the protocol for privacy + + des aes + + + des + Data Encryption Standard (default) + + + aes + Advanced Encryption Standard + + + ^(des|aes)$ + + + des + + diff --git a/interface-definitions/include/snmp/protocol.xml.i b/interface-definitions/include/snmp/protocol.xml.i new file mode 100644 index 000000000..335736724 --- /dev/null +++ b/interface-definitions/include/snmp/protocol.xml.i @@ -0,0 +1,22 @@ + + + + Protocol to be used (TCP/UDP) + + udp tcp + + + udp + Listen protocol UDP (default) + + + tcp + Listen protocol TCP + + + ^(udp|tcp)$ + + + udp + + -- cgit v1.2.3