summaryrefslogtreecommitdiff
path: root/pysnmp/smi/mibs/ASN1.py
blob: a1798f460c5841bd2926a2ac4353a92d9c97c8b3 (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-2017, Ilya Etingof <etingof@gmail.com>
# License: http://pysnmp.sf.net/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
)