summaryrefslogtreecommitdiff
path: root/pysnmp/smi/mibs/ASN1.py
blob: e41d3b450c1415ea0b57369de79c4a5de0c2b6c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# This file is part of pysnmp software.
#
# Copyright (c) 2005-2018, Ilya Etingof <etingof@gmail.com>
# License: http://snmplabs.com/pysnmp/license.html
#
from pyasn1.type import univ
from pysnmp.proto import rfc1902

mibBuilder.exportSymbols(
    'ASN1',
    ObjectIdentifier=univ.ObjectIdentifier,
    # Instead of using base ASN,1 types we use SNMPv2 SMI ones to make
    # SMI objects type-compatible with SNMP protocol values
    Integer=rfc1902.Integer32,
    OctetString=rfc1902.OctetString
)