From 1d9b22e1e80f0ae9a760feccaf6c2672adf2e33a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 21 May 2018 21:09:27 +0200 Subject: T652: read SNMPv3 config into python dictionary --- interface-definitions/snmp.xml | 55 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/snmp.xml b/interface-definitions/snmp.xml index 698fb34a1..4bfb61576 100644 --- a/interface-definitions/snmp.xml +++ b/interface-definitions/snmp.xml @@ -20,7 +20,15 @@ - Authorization type (rw or ro) (default: 'ro') + Authorization type (default: 'ro') + + ro + read only + + + rw + read write + (ro|rw) @@ -202,10 +210,17 @@ Defines security level + + auth + Requests must be authenticated + + + priv + Enforce use of encryption + (auth|priv) - @@ -538,6 +553,42 @@ + + + Specifies the view with name viewname + + ^[^\(\)\|\-]+$ + + Illegal characters in name + + + + + Specifies the oid + + ^[0-9]+(\\.[0-9]+)*$ + + OID must start from a number + + + + + Exclude is an optional argument + + + + + Defines a bit-mask that is indicating which subidentifiers of the associated subtree OID should be regarded as significant + + ^[0-9a-f]{2}([\\.:][0-9a-f]{2})*$ + + MASK is a list of hex octets, separated by '.' or ':' + + + + + + -- cgit v1.2.3