1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
# SPDX-License-Identifier: BSD-3-Clause
#
# Copyright 2020 Raritan Inc. All rights reserved.
#
# This is an auto-generated file.
#
# Section generated by IdlC from "SnmpV3.idl"
#
import raritan.rpc
from raritan.rpc import Interface, Structure, ValueObject, Enumeration, typecheck, DecodeException
# interface
class SnmpV3(Interface):
idlType = "um.SnmpV3:1.0.0"
# enumeration
class SecurityLevel(Enumeration):
idlType = "um.SnmpV3.SecurityLevel:1.0.0"
values = ["NO_AUTH_NO_PRIV", "AUTH_NO_PRIV", "AUTH_PRIV"]
SecurityLevel.NO_AUTH_NO_PRIV = SecurityLevel(0)
SecurityLevel.AUTH_NO_PRIV = SecurityLevel(1)
SecurityLevel.AUTH_PRIV = SecurityLevel(2)
# enumeration
class AuthProtocol(Enumeration):
idlType = "um.SnmpV3.AuthProtocol:1.0.0"
values = ["MD5", "SHA1"]
AuthProtocol.MD5 = AuthProtocol(0)
AuthProtocol.SHA1 = AuthProtocol(1)
# enumeration
class PrivProtocol(Enumeration):
idlType = "um.SnmpV3.PrivProtocol:1.0.0"
values = ["DES", "AES128"]
PrivProtocol.DES = PrivProtocol(0)
PrivProtocol.AES128 = PrivProtocol(1)
|