/usr/lib/python3/dist-packages/pysmi/mibinfo.py is in python3-pysmi 0.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 42 43 44 45 | #
# This file is part of pysmi software.
#
# Copyright (c) 2015-2017, Ilya Etingof <etingof@gmail.com>
# License: http://pysmi.sf.net/license.html
#
class MibInfo(object):
#: actual MIB name
name = ''
#: possible alternative to MIB name
alias = ''
#: URL to MIB file
path = ''
#: MIB file name
file = ''
#: MIB file modification time
mtime = 0
#: module OID
oid = ''
#: all OIDs defined in this module
oids = ()
#: MODULE-IDENTITY OID
identity = ''
#: Enterprise OID
enterprise = ()
#: MODULE-COMPLIANCE OIDs
compliance = ()
#: imported MIB names
imported = ()
def __init__(self, **kwargs):
for k in kwargs:
setattr(self, k, kwargs[k])
|