Compilation status¶
MibStatus class instance is used by MibCompiler.compiler()
to
indicate the outcome of MIB transformation operation.
- class pysmi.compiler.MibStatus¶
Indicate MIB transformation result.
MibStatus is a subclass of Python string type. Some additional attributes may be set to indicate the details.
The following MibStatus class instances are defined:
compiled - MIB is successfully transformed
untouched - fresh transformed version of this MIB already exisits
failed - MIB transformation failed. error attribute carries details.
unprocessed - MIB transformation required but waived for some reason
missing - ASN.1 MIB source can’t be found
borrowed - MIB transformation failed but pre-transformed version was used