pysnmp.proto.rfc1905
index
/home/mcfletch/pylive/pysnmp/proto/rfc1905.py

Implementation of SNMP v.2c (RFC1905)
 
Copyright 1999-2002 by Ilya Etingof <ilya@glas.net>. See LICENSE for
details.

 
Modules
       
pysnmp.asn1.constraints
pysnmp
pysnmp.proto.rfc1902

 
Classes
       
GetBulkRequestPduTypeMixIn(PduTypeMixInBase)
GetBulkRequestPdu(GetBulkRequestPduMixIn, GetBulkRequestPduMixIn, ProtoVersionId2cMixIn, GetBulkRequestPduTypeMixIn, BulkPdu)
GetNextRequestPduTypeMixIn(PduTypeMixInBase)
GetNextRequestPdu(GetNextRequestPduMixIn, GetNextRequestPduMixIn, ProtoVersionId2cMixIn, GetNextRequestPduTypeMixIn, Pdu)
GetRequestPduTypeMixIn(PduTypeMixInBase)
GetRequestPdu(GetRequestPduMixIn, GetRequestPduMixIn, ProtoVersionId2cMixIn, GetRequestPduTypeMixIn, Pdu)
GetResponsePduTypeMixIn(PduTypeMixInBase)
ResponsePdu(ResponsePduMixIn, ResponsePduMixIn, ProtoVersionId2cMixIn, GetResponsePduTypeMixIn, Pdu)
InformRequestPduTypeMixIn(PduTypeMixInBase)
InformRequestPdu(InformRequestPduMixIn, InformRequestPduMixIn, ProtoVersionId2cMixIn, InformRequestPduTypeMixIn, Pdu)
ReportPduTypeMixIn(PduTypeMixInBase)
ReportPdu(ReportPduMixIn, ReportPduMixIn, ProtoVersionId2cMixIn, ReportPduTypeMixIn, Pdu)
SetRequestPduTypeMixIn(PduTypeMixInBase)
SetRequestPdu(SetRequestPduMixIn, SetRequestPduMixIn, ProtoVersionId2cMixIn, SetRequestPduTypeMixIn, Pdu)
TrapPduTypeMixIn(PduTypeMixInBase)
SnmpV2TrapPdu(SnmpV2TrapPduMixIn, SnmpV2TrapPduMixIn, ProtoVersionId2cMixIn, TrapPduTypeMixIn, Pdu)
SnmpV2TrapPdu(SnmpV2TrapPduMixIn, SnmpV2TrapPduMixIn, ProtoVersionId2cMixIn, TrapPduTypeMixIn, Pdu)
GetBulkRequestPduMixIn(RequestPduMixIn)
GetBulkRequestPdu(GetBulkRequestPduMixIn, GetBulkRequestPduMixIn, ProtoVersionId2cMixIn, GetBulkRequestPduTypeMixIn, BulkPdu)
GetNextRequestPduMixIn(RequestPduMixIn)
GetNextRequestPdu(GetNextRequestPduMixIn, GetNextRequestPduMixIn, ProtoVersionId2cMixIn, GetNextRequestPduTypeMixIn, Pdu)
GetRequestPduMixIn(RequestPduMixIn)
GetRequestPdu(GetRequestPduMixIn, GetRequestPduMixIn, ProtoVersionId2cMixIn, GetRequestPduTypeMixIn, Pdu)
InformRequestPduMixIn(RequestPduMixIn)
InformRequestPdu(InformRequestPduMixIn, InformRequestPduMixIn, ProtoVersionId2cMixIn, InformRequestPduTypeMixIn, Pdu)
MessageMixIn(MessageMixIn)
Message(MessageMixIn, MessageMixIn, ProtoVersionId2cMixIn, Sequence)
ReportPduMixIn(PduMixInBase)
ReportPdu(ReportPduMixIn, ReportPduMixIn, ProtoVersionId2cMixIn, ReportPduTypeMixIn, Pdu)
ResponsePduMixIn(RequestPduMixIn, GetResponsePduMixIn)
ResponsePdu(ResponsePduMixIn, ResponsePduMixIn, ProtoVersionId2cMixIn, GetResponsePduTypeMixIn, Pdu)
SetRequestPduMixIn(RequestPduMixIn)
SetRequestPdu(SetRequestPduMixIn, SetRequestPduMixIn, ProtoVersionId2cMixIn, SetRequestPduTypeMixIn, Pdu)
SnmpV2TrapPduMixIn(PduMixInBase)
SnmpV2TrapPdu(SnmpV2TrapPduMixIn, SnmpV2TrapPduMixIn, ProtoVersionId2cMixIn, TrapPduTypeMixIn, Pdu)
SnmpV2TrapPdu(SnmpV2TrapPduMixIn, SnmpV2TrapPduMixIn, ProtoVersionId2cMixIn, TrapPduTypeMixIn, Pdu)
VarBindMixIn(VarBindMixIn)
VarBind(VarBindMixIn, ProtoVersionId2cMixIn, Sequence)
ProtoVersionId2cMixIn(ProtoVersionIdMixInBase)
BindValue(ProtoVersionId2cMixIn, Choice)
Community(ProtoVersionId2cMixIn, OctetString)
EndOfMibView(ProtoVersionId2cMixIn, Null)
GetBulkRequestPdu(GetBulkRequestPduMixIn, GetBulkRequestPduMixIn, ProtoVersionId2cMixIn, GetBulkRequestPduTypeMixIn, BulkPdu)
GetNextRequestPdu(GetNextRequestPduMixIn, GetNextRequestPduMixIn, ProtoVersionId2cMixIn, GetNextRequestPduTypeMixIn, Pdu)
GetRequestPdu(GetRequestPduMixIn, GetRequestPduMixIn, ProtoVersionId2cMixIn, GetRequestPduTypeMixIn, Pdu)
InformRequestPdu(InformRequestPduMixIn, InformRequestPduMixIn, ProtoVersionId2cMixIn, InformRequestPduTypeMixIn, Pdu)
MaxRepetitions(ProtoVersionId2cMixIn, Integer)
Message(MessageMixIn, MessageMixIn, ProtoVersionId2cMixIn, Sequence)
NoSuchInstance(ProtoVersionId2cMixIn, Null)
NoSuchObject(ProtoVersionId2cMixIn, Null)
NonRepeaters(ProtoVersionId2cMixIn, Integer)
Pdu(ProtoVersionId2cMixIn, Sequence)
GetNextRequestPdu(GetNextRequestPduMixIn, GetNextRequestPduMixIn, ProtoVersionId2cMixIn, GetNextRequestPduTypeMixIn, Pdu)
GetRequestPdu(GetRequestPduMixIn, GetRequestPduMixIn, ProtoVersionId2cMixIn, GetRequestPduTypeMixIn, Pdu)
InformRequestPdu(InformRequestPduMixIn, InformRequestPduMixIn, ProtoVersionId2cMixIn, InformRequestPduTypeMixIn, Pdu)
ReportPdu(ReportPduMixIn, ReportPduMixIn, ProtoVersionId2cMixIn, ReportPduTypeMixIn, Pdu)
ResponsePdu(ResponsePduMixIn, ResponsePduMixIn, ProtoVersionId2cMixIn, GetResponsePduTypeMixIn, Pdu)
SetRequestPdu(SetRequestPduMixIn, SetRequestPduMixIn, ProtoVersionId2cMixIn, SetRequestPduTypeMixIn, Pdu)
SnmpV2TrapPdu(SnmpV2TrapPduMixIn, SnmpV2TrapPduMixIn, ProtoVersionId2cMixIn, TrapPduTypeMixIn, Pdu)
SnmpV2TrapPdu(SnmpV2TrapPduMixIn, SnmpV2TrapPduMixIn, ProtoVersionId2cMixIn, TrapPduTypeMixIn, Pdu)
Pdus(ProtoVersionId2cMixIn, Choice)
ReportPdu(ReportPduMixIn, ReportPduMixIn, ProtoVersionId2cMixIn, ReportPduTypeMixIn, Pdu)
RequestId(ProtoVersionId2cMixIn, InitialRequestIdMixIn, Integer)
ResponsePdu(ResponsePduMixIn, ResponsePduMixIn, ProtoVersionId2cMixIn, GetResponsePduTypeMixIn, Pdu)
SetRequestPdu(SetRequestPduMixIn, SetRequestPduMixIn, ProtoVersionId2cMixIn, SetRequestPduTypeMixIn, Pdu)
SnmpV2TrapPdu(SnmpV2TrapPduMixIn, SnmpV2TrapPduMixIn, ProtoVersionId2cMixIn, TrapPduTypeMixIn, Pdu)
SnmpV2TrapPdu(SnmpV2TrapPduMixIn, SnmpV2TrapPduMixIn, ProtoVersionId2cMixIn, TrapPduTypeMixIn, Pdu)
VarBind(VarBindMixIn, ProtoVersionId2cMixIn, Sequence)
VarBindList(ProtoVersionId2cMixIn, SequenceOf)
Version(ProtoVersionId2cMixIn, Integer)
GetBulkRequestPduMixIn(RequestPduMixIn)
GetBulkRequestPdu(GetBulkRequestPduMixIn, GetBulkRequestPduMixIn, ProtoVersionId2cMixIn, GetBulkRequestPduTypeMixIn, BulkPdu)
GetNextRequestPduMixIn(RequestPduMixIn)
GetNextRequestPdu(GetNextRequestPduMixIn, GetNextRequestPduMixIn, ProtoVersionId2cMixIn, GetNextRequestPduTypeMixIn, Pdu)
GetRequestPduMixIn(RequestPduMixIn)
GetRequestPdu(GetRequestPduMixIn, GetRequestPduMixIn, ProtoVersionId2cMixIn, GetRequestPduTypeMixIn, Pdu)
InformRequestPduMixIn(RequestPduMixIn)
InformRequestPdu(InformRequestPduMixIn, InformRequestPduMixIn, ProtoVersionId2cMixIn, InformRequestPduTypeMixIn, Pdu)
MessageMixIn(MessageMixIn)
Message(MessageMixIn, MessageMixIn, ProtoVersionId2cMixIn, Sequence)
ReportPduMixIn(RequestPduMixIn)
ReportPdu(ReportPduMixIn, ReportPduMixIn, ProtoVersionId2cMixIn, ReportPduTypeMixIn, Pdu)
ResponsePduMixIn(GetResponsePduMixIn)
ResponsePdu(ResponsePduMixIn, ResponsePduMixIn, ProtoVersionId2cMixIn, GetResponsePduTypeMixIn, Pdu)
SetRequestPduMixIn(RequestPduMixIn)
SetRequestPdu(SetRequestPduMixIn, SetRequestPduMixIn, ProtoVersionId2cMixIn, SetRequestPduTypeMixIn, Pdu)
SnmpV2TrapPduMixIn(RequestPduMixIn)
SnmpV2TrapPdu(SnmpV2TrapPduMixIn, SnmpV2TrapPduMixIn, ProtoVersionId2cMixIn, TrapPduTypeMixIn, Pdu)
SnmpV2TrapPdu(SnmpV2TrapPduMixIn, SnmpV2TrapPduMixIn, ProtoVersionId2cMixIn, TrapPduTypeMixIn, Pdu)
InitialRequestIdMixIn
RequestId(ProtoVersionId2cMixIn, InitialRequestIdMixIn, Integer)
Choice(ProtoVersionId2cMixIn, Choice)
BindValue(ProtoVersionId2cMixIn, Choice)
Pdus(ProtoVersionId2cMixIn, Choice)
Integer(ProtoVersionId2cMixIn, Integer)
ErrorIndex
ErrorStatus
MaxRepetitions(ProtoVersionId2cMixIn, Integer)
NonRepeaters(ProtoVersionId2cMixIn, Integer)
RequestId(ProtoVersionId2cMixIn, InitialRequestIdMixIn, Integer)
Version(ProtoVersionId2cMixIn, Integer)
Null(ProtoVersionId2cMixIn, Null)
EndOfMibView(ProtoVersionId2cMixIn, Null)
NoSuchInstance(ProtoVersionId2cMixIn, Null)
NoSuchObject(ProtoVersionId2cMixIn, Null)
OctetString(ProtoVersionId2cMixIn, OctetString)
Community(ProtoVersionId2cMixIn, OctetString)
Sequence(ProtoVersionId2cMixIn, Sequence)
BulkPdu
GetBulkRequestPdu(GetBulkRequestPduMixIn, GetBulkRequestPduMixIn, ProtoVersionId2cMixIn, GetBulkRequestPduTypeMixIn, BulkPdu)
Message(MessageMixIn, MessageMixIn, ProtoVersionId2cMixIn, Sequence)
Pdu(ProtoVersionId2cMixIn, Sequence)
GetNextRequestPdu(GetNextRequestPduMixIn, GetNextRequestPduMixIn, ProtoVersionId2cMixIn, GetNextRequestPduTypeMixIn, Pdu)
GetRequestPdu(GetRequestPduMixIn, GetRequestPduMixIn, ProtoVersionId2cMixIn, GetRequestPduTypeMixIn, Pdu)
InformRequestPdu(InformRequestPduMixIn, InformRequestPduMixIn, ProtoVersionId2cMixIn, InformRequestPduTypeMixIn, Pdu)
ReportPdu(ReportPduMixIn, ReportPduMixIn, ProtoVersionId2cMixIn, ReportPduTypeMixIn, Pdu)
ResponsePdu(ResponsePduMixIn, ResponsePduMixIn, ProtoVersionId2cMixIn, GetResponsePduTypeMixIn, Pdu)
SetRequestPdu(SetRequestPduMixIn, SetRequestPduMixIn, ProtoVersionId2cMixIn, SetRequestPduTypeMixIn, Pdu)
SnmpV2TrapPdu(SnmpV2TrapPduMixIn, SnmpV2TrapPduMixIn, ProtoVersionId2cMixIn, TrapPduTypeMixIn, Pdu)
SnmpV2TrapPdu(SnmpV2TrapPduMixIn, SnmpV2TrapPduMixIn, ProtoVersionId2cMixIn, TrapPduTypeMixIn, Pdu)
VarBind(VarBindMixIn, ProtoVersionId2cMixIn, Sequence)
SequenceOf(ProtoVersionId2cMixIn, SequenceOf)
VarBindList(ProtoVersionId2cMixIn, SequenceOf)

 
class BindValue(ProtoVersionId2cMixIn, Choice)
    Binding value
 
 
Method resolution order:
BindValue
ProtoVersionId2cMixIn
ProtoVersionIdMixInBase
Choice
Choice
ChoiceMixIn
ProtoVersionId1MixIn
Choice
ChoiceTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
ChoiceMixIn
SingleFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
choiceComponents = [<class pysnmp.proto.rfc1902.ObjectSyntax>, <class pysnmp.proto.rfc1902.Null>, <class pysnmp.proto.rfc1905.NoSuchObject>, <class pysnmp.proto.rfc1905.NoSuchInstance>, <class pysnmp.proto.rfc1905.EndOfMibView>]
choiceNames = ['value', 'unspecified', 'noSuchObject', 'noSuchInstance', 'endOfMibView']
initialComponent = <class pysnmp.proto.rfc1902.Null>
SMI NULL data type

Data and other attributes inherited from ProtoVersionId2cMixIn:
apiAlphaProtoVersionId = 1

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Methods inherited from ChoiceMixIn:
apiAlphaGetCurrentComponent(self)
apiAlphaGetTerminalValue(self)
apiAlphaSetTerminalValue(self, value)
getTerminal = apiAlphaGetTerminalValue(self)

Data and other attributes inherited from Choice:
tagCategory = 4

Methods inherited from ChoiceTypeAsn1Object:
__delitem__(self, key)
Delete component by key
__init__(self, **kwargs)
Store dictionary args
__setitem__(self, key, value)
Set component by key & value
componentFactoryBorrow(self, key)

Methods inherited from FixedTypeAsn1Object:
__cmp__(self, other)
Attempt to compare the payload of instances of the same class
__getitem__(self, key)
Return component by key
__hash__(self)
Returns hash of the payload value
__len__(self)
Get length of the object
__repr__(self)
Return native representation of instance payload
__str__(self)
Return string representation of class instance
get(self, key, default=None)
Lookup by key with default
has_key(self, key)
Return true if key exists
items(self)
Return a list of tuples (key, value)
keys(self)
Return a list of keys
update(self, dict)
Merge dict to ourselves
values(self)
Return a list of values

Data and other attributes inherited from StructuredAsn1Object:
tagFormat = 32

Methods inherited from Asn1Object:
getUnderlyingTag(self)

Data and other attributes inherited from Asn1Object:
allowedTypes = ()
constraints = ()
tagClass = 0
tagId = None

Methods inherited from SingleFixedTypeAsn1Object:
berDecode(self, input)
decode = berDecode(self, input)

Methods inherited from FixedTypeAsn1Object:
berEncode(self)
Choose optimised version of berEncode for this class
berEncodeWOutSub(self)
berEncodeWSub() -> octet string
 
For classes which do *not* have a _berEncode only!
 
Note:
    This should be bound by a metaclass on looking
    at the final class, *not* as is done now by
    binding at time-of-use.
berEncodeWSub(self)
berEncodeWSub() -> octet string
 
For classes which *have* a _berEncode only!
 
Note:
    This should be bound by a metaclass on looking
    at the final class, *not* as is done now by
    binding at time-of-use.
encode = berEncode(self)
Choose optimised version of berEncode for this class

Methods inherited from StructuredAsn1Object:
berUnwrapHeader(self, input)
Decode BER header, return (data, rest)
berWrapHeader(self, input)
Add BER header to data chunk if needed

Methods inherited from BerObject:
berDecodeLength(self, input)
berDecodeLength(input) -> (length, size)
 
Return the data item's length (integer) and the size of length
data (integer).
berEncodeLength(self, length)
berEncodeLength(length) -> octet string
 
BER encode ASN.1 data item length (integer).
berEncodeTag(self, (tagClass, tagFormat, tagId)=(None, None, None))
BER encode ASN.1 type tag

 
class BulkPdu(Sequence)
    Base class for bulk PDU
 
 
Method resolution order:
BulkPdu
Sequence
ProtoVersionId2cMixIn
ProtoVersionIdMixInBase
Sequence
SequenceMixIn
ProtoVersionId1MixIn
Sequence
RecordTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
SequenceMixIn
OrderedFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
fixedComponents = [<class pysnmp.proto.rfc1905.RequestId>, <class pysnmp.proto.rfc1905.NonRepeaters>, <class pysnmp.proto.rfc1905.MaxRepetitions>, <class pysnmp.proto.rfc1905.VarBindList>]
fixedNames = ['request_id', 'non_repeaters', 'max_repetitions', 'variable_bindings']
tagClass = 128

Data and other attributes inherited from ProtoVersionId2cMixIn:
apiAlphaProtoVersionId = 1

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Methods inherited from SequenceMixIn:
apiAlphaSetSimpleComponent(self, key, value)

Data and other attributes inherited from Sequence:
tagId = 16

Methods inherited from RecordTypeAsn1Object:
__init__(self, **kwargs)
Store dictionary args
__setitem__(self, key, value)
Set component by key & value

Methods inherited from FixedTypeAsn1Object:
__cmp__(self, other)
Attempt to compare the payload of instances of the same class
__getitem__(self, key)
Return component by key
__hash__(self)
Returns hash of the payload value
__len__(self)
Get length of the object
__repr__(self)
Return native representation of instance payload
__str__(self)
Return string representation of class instance
get(self, key, default=None)
Lookup by key with default
has_key(self, key)
Return true if key exists
items(self)
Return a list of tuples (key, value)
keys(self)
Return a list of keys
update(self, dict)
Merge dict to ourselves
values(self)
Return a list of values

Data and other attributes inherited from StructuredAsn1Object:
tagFormat = 32

Methods inherited from Asn1Object:
getUnderlyingTag(self)

Data and other attributes inherited from Asn1Object:
allowedTypes = ()
constraints = ()
tagCategory = 1

Methods inherited from OrderedFixedTypeAsn1Object:
berDecode(self, input)
berDecode(input) -> rest
 
BER decode input (octet string) into ASN1 object payload,
return the rest of input stream.
decode = berDecode(self, input)
berDecode(input) -> rest
 
BER decode input (octet string) into ASN1 object payload,
return the rest of input stream.

Methods inherited from FixedTypeAsn1Object:
berEncode(self)
Choose optimised version of berEncode for this class
berEncodeWOutSub(self)
berEncodeWSub() -> octet string
 
For classes which do *not* have a _berEncode only!
 
Note:
    This should be bound by a metaclass on looking
    at the final class, *not* as is done now by
    binding at time-of-use.
berEncodeWSub(self)
berEncodeWSub() -> octet string
 
For classes which *have* a _berEncode only!
 
Note:
    This should be bound by a metaclass on looking
    at the final class, *not* as is done now by
    binding at time-of-use.
encode = berEncode(self)
Choose optimised version of berEncode for this class

Methods inherited from StructuredAsn1Object:
berUnwrapHeader(self, input)
Decode BER header, return (data, rest)
berWrapHeader(self, input)
Add BER header to data chunk if needed

Methods inherited from BerObject:
berDecodeLength(self, input)
berDecodeLength(input) -> (length, size)
 
Return the data item's length (integer) and the size of length
data (integer).
berEncodeLength(self, length)
berEncodeLength(length) -> octet string
 
BER encode ASN.1 data item length (integer).
berEncodeTag(self, (tagClass, tagFormat, tagId)=(None, None, None))
BER encode ASN.1 type tag

 
class Community(ProtoVersionId2cMixIn, OctetString)
    Community name
 
 
Method resolution order:
Community
ProtoVersionId2cMixIn
ProtoVersionIdMixInBase
OctetString
OctetString
ProtoVersionId1MixIn
OctetString
SimpleAsn1Object
Asn1Object
OctetStringMixIn
SimpleAsn1Object
BerObject

Data and other attributes defined here:
initialValue = 'public'

Data and other attributes inherited from ProtoVersionId2cMixIn:
apiAlphaProtoVersionId = 1

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Data and other attributes inherited from OctetString:
constraints = (<function _ValueSizeConstraint>,)

Methods inherited from OctetString:
__add__(self, other)
Add sub-id  with input verification
__getitem__(self, i)
Get string component by index or slice
__len__(self)
__mul__(self, value)
Multiply a value
__radd__(self, other)
Add sub-id  with input verification
__rmul__ = __mul__(self, value)
Multiply a value

Data and other attributes inherited from OctetString:
allowedTypes = (<type 'str'>,)
tagId = 4

Methods inherited from SimpleAsn1Object:
__cmp__(self, other)
Attempt to compare the payload of instances of the same class
__hash__(self)
Returns hash of the payload value
__init__(self, value=None)
Store ASN.1 value
__nonzero__(self)
Returns true if value is true
__repr__(self)
Return native representation of instance payload
__str__(self)
Return string representation of class instance
componentFactoryBorrow(self, value=None)
get(self)
Get a value from object
getTerminal(self)
set(self, value)
Set a value to object

Data and other attributes inherited from SimpleAsn1Object:
NORMAL_STATIC_TYPES = (<type 'int'>, <type 'long'>, <type 'str'>, <type 'NoneType'>, <type 'float'>, <type 'tuple'>)
tagFormat = 0

Methods inherited from Asn1Object:
getUnderlyingTag(self)

Data and other attributes inherited from Asn1Object:
tagCategory = 1
tagClass = 0

Methods inherited from SimpleAsn1Object:
berDecode(self, input)
berDecode(input) -> (value, rest)
 
BER decode input (octet string) into ASN1 object payload,
return the rest of input stream.
berEncode(self, value=None)
berEncode() -> octet string
 
BER encode object payload whenever possible
decode = berDecode(self, input)
berDecode(input) -> (value, rest)
 
BER decode input (octet string) into ASN1 object payload,
return the rest of input stream.
encode = berEncode(self, value=None)
berEncode() -> octet string
 
BER encode object payload whenever possible

Methods inherited from BerObject:
berDecodeLength(self, input)
berDecodeLength(input) -> (length, size)
 
Return the data item's length (integer) and the size of length
data (integer).
berEncodeLength(self, length)
berEncodeLength(length) -> octet string
 
BER encode ASN.1 data item length (integer).
berEncodeTag(self, (tagClass, tagFormat, tagId)=(None, None, None))
BER encode ASN.1 type tag

 
class EndOfMibView(ProtoVersionId2cMixIn, Null)
    endOfMibView exception
 
 
Method resolution order:
EndOfMibView
ProtoVersionId2cMixIn
ProtoVersionIdMixInBase
Null
Null
ProtoVersionId1MixIn
Null
SimpleAsn1Object
Asn1Object
NullMixIn
SimpleAsn1Object
BerObject

Data and other attributes defined here:
tagClass = 128
tagId = 2

Data and other attributes inherited from ProtoVersionId2cMixIn:
apiAlphaProtoVersionId = 1

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Data and other attributes inherited from Null:
allowedTypes = (<type 'int'>, <type 'long'>, <type 'str'>, <type 'NoneType'>)
constraints = (<pysnmp.asn1.constraints.SingleValueConstraint object>,)
initialValue = ''

Methods inherited from SimpleAsn1Object:
__cmp__(self, other)
Attempt to compare the payload of instances of the same class
__hash__(self)
Returns hash of the payload value
__init__(self, value=None)
Store ASN.1 value
__nonzero__(self)
Returns true if value is true
__repr__(self)
Return native representation of instance payload
__str__(self)
Return string representation of class instance
componentFactoryBorrow(self, value=None)
get(self)
Get a value from object
getTerminal(self)
set(self, value)
Set a value to object

Data and other attributes inherited from SimpleAsn1Object:
NORMAL_STATIC_TYPES = (<type 'int'>, <type 'long'>, <type 'str'>, <type 'NoneType'>, <type 'float'>, <type 'tuple'>)
tagFormat = 0

Methods inherited from Asn1Object:
getUnderlyingTag(self)

Data and other attributes inherited from Asn1Object:
tagCategory = 1

Methods inherited from SimpleAsn1Object:
berDecode(self, input)
berDecode(input) -> (value, rest)
 
BER decode input (octet string) into ASN1 object payload,
return the rest of input stream.
berEncode(self, value=None)
berEncode() -> octet string
 
BER encode object payload whenever possible
decode = berDecode(self, input)
berDecode(input) -> (value, rest)
 
BER decode input (octet string) into ASN1 object payload,
return the rest of input stream.
encode = berEncode(self, value=None)
berEncode() -> octet string
 
BER encode object payload whenever possible

Methods inherited from BerObject:
berDecodeLength(self, input)
berDecodeLength(input) -> (length, size)
 
Return the data item's length (integer) and the size of length
data (integer).
berEncodeLength(self, length)
berEncodeLength(length) -> octet string
 
BER encode ASN.1 data item length (integer).
berEncodeTag(self, (tagClass, tagFormat, tagId)=(None, None, None))
BER encode ASN.1 type tag

 
class ErrorIndex(Integer)
    Error index
 
 
Method resolution order:
ErrorIndex
Integer
ProtoVersionId2cMixIn
ProtoVersionIdMixInBase
Integer
ProtoVersionId1MixIn
Integer
SimpleAsn1Object
Asn1Object
IntegerMixIn
SimpleAsn1Object
BerObject

Data and other attributes defined here:
constraints = (<function _ValueRangeConstraint>,)

Data and other attributes inherited from ProtoVersionId2cMixIn:
apiAlphaProtoVersionId = 1

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Methods inherited from Integer:
__add__(self, value)
Add a value
__and__(self, value)
Perform binary AND operation
__div__(self, value)
Divide a value by ourselves
__float__(self)
Return a floating point value of ourselves
__iadd__(self, value)
Add value to ourselves
__iand__(self, value)
Perform binary AND operation against ourselves
__idiv__(self, value)
Divide a value by ourselves
__ilshift__(self, value)
Perform left shift operation
__imod__(self, value)
Take a modulo of ourselves
__imul__(self, value)
Multiply a value to ourselves
__int__(self)
Return an integer value of ourselves
__ior__(self, value)
Perform binary OR operation against ourselves
__ipow__(self, value, modulo)
Provision for x**=y
__irshift__(self, value)
Perform right shift operation
__isub__(self, value)
Subscract value from ourselves
__ixor__(self, value)
Perform binary XOR operation against ourselves
__long__(self)
Return a long integer value of ourselves
__lshift__(self, value)
Perform left shift operation
__mod__(self, value)
Take a modulo of ourselves
__mul__(self, value)
Multiply a value
__or__(self, value)
Perform binary OR operation
__pow__(self, value, modulo)
Provision for pow()
__radd__ = __add__(self, value)
Add a value
__rand__ = __and__(self, value)
Perform binary AND operation
__rdiv__(self, value)
Divide ourselves by value
__rmod__ = __mod__(self, value)
Take a modulo of ourselves
__rmul__ = __mul__(self, value)
Multiply a value
__ror__ = __or__(self, value)
Perform binary OR operation
__rpow__(self, value, modulo)
Provision for rpow()
__rshift__(self, value)
Perform right shift operation
__rsub__(self, value)
Subscract our value from given one
__rxor__ = __xor__(self, value)
Perform binary XOR operation
__sub__(self, value)
Subscract a value
__xor__(self, value)
Perform binary XOR operation
dec = __isub__(self, value)
Subscract value from ourselves
div = __idiv__(self, value)
Divide a value by ourselves
inc = __iadd__(self, value)
Add value to ourselves
mul = __imul__(self, value)
Multiply a value to ourselves

Data and other attributes inherited from Integer:
allowedTypes = (<type 'int'>, <type 'long'>)
initialValue = 0L
tagId = 2

Methods inherited from SimpleAsn1Object:
__cmp__(self, other)
Attempt to compare the payload of instances of the same class
__hash__(self)
Returns hash of the payload value
__init__(self, value=None)
Store ASN.1 value
__nonzero__(self)
Returns true if value is true
__repr__(self)
Return native representation of instance payload
__str__(self)
Return string representation of class instance
componentFactoryBorrow(self, value=None)
get(self)
Get a value from object
getTerminal(self)
set(self, value)
Set a value to object

Data and other attributes inherited from SimpleAsn1Object:
NORMAL_STATIC_TYPES = (<type 'int'>, <type 'long'>, <type 'str'>, <type 'NoneType'>, <type 'float'>, <type 'tuple'>)
tagFormat = 0

Methods inherited from Asn1Object:
getUnderlyingTag(self)

Data and other attributes inherited from Asn1Object:
tagCategory = 1
tagClass = 0

Methods inherited from SimpleAsn1Object:
berDecode(self, input)
berDecode(input) -> (value, rest)
 
BER decode input (octet string) into ASN1 object payload,
return the rest of input stream.
berEncode(self, value=None)
berEncode() -> octet string
 
BER encode object payload whenever possible
decode = berDecode(self, input)
berDecode(input) -> (value, rest)
 
BER decode input (octet string) into ASN1 object payload,
return the rest of input stream.
encode = berEncode(self, value=None)
berEncode() -> octet string
 
BER encode object payload whenever possible

Methods inherited from BerObject:
berDecodeLength(self, input)
berDecodeLength(input) -> (length, size)
 
Return the data item's length (integer) and the size of length
data (integer).
berEncodeLength(self, length)
berEncodeLength(length) -> octet string
 
BER encode ASN.1 data item length (integer).
berEncodeTag(self, (tagClass, tagFormat, tagId)=(None, None, None))
BER encode ASN.1 type tag

 
class ErrorStatus(Integer)
    Error status
 
 
Method resolution order:
ErrorStatus
Integer
ProtoVersionId2cMixIn
ProtoVersionIdMixInBase
Integer
ProtoVersionId1MixIn
Integer
SimpleAsn1Object
Asn1Object
IntegerMixIn
SimpleAsn1Object
BerObject

Methods defined here:
__str__(self)
Return verbose error message if known

Data and other attributes defined here:
constraints = (<function _ValueRangeConstraint>,)
initialValue = 0
pduErrors = ['(noError) No Error', '(tooBig) Response message would have been too large', '(noSuchName) There is no such variable name in this MIB', '(badValue) The value given has the wrong type or length', '(readOnly) No modifications allowed to this object', '(genError) A general failure occured', '(noAccess) Access denied', '(wrongType) Wrong BER type', '(wrongLength) Wrong BER length', '(wrongEncoding) Wrong BER encoding', '(wrongValue) Wrong value', '(noCreation) Object creation prohibited', '(inconsistentValue) Inconsistent value', '(resourceUnavailable) Resource unavailable', '(commitFailed) Commit failed', '(undoFailed) Undo failed', '(authorizationError) Authorization error', '(notWritable) Object is not writable', '(inconsistentName) Inconsistent object name']

Data and other attributes inherited from ProtoVersionId2cMixIn:
apiAlphaProtoVersionId = 1

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Methods inherited from Integer:
__add__(self, value)
Add a value
__and__(self, value)
Perform binary AND operation
__div__(self, value)
Divide a value by ourselves
__float__(self)
Return a floating point value of ourselves
__iadd__(self, value)
Add value to ourselves
__iand__(self, value)
Perform binary AND operation against ourselves
__idiv__(self, value)
Divide a value by ourselves
__ilshift__(self, value)
Perform left shift operation
__imod__(self, value)
Take a modulo of ourselves
__imul__(self, value)
Multiply a value to ourselves
__int__(self)
Return an integer value of ourselves
__ior__(self, value)
Perform binary OR operation against ourselves
__ipow__(self, value, modulo)
Provision for x**=y
__irshift__(self, value)
Perform right shift operation
__isub__(self, value)
Subscract value from ourselves
__ixor__(self, value)
Perform binary XOR operation against ourselves
__long__(self)
Return a long integer value of ourselves
__lshift__(self, value)
Perform left shift operation
__mod__(self, value)
Take a modulo of ourselves
__mul__(self, value)
Multiply a value
__or__(self, value)
Perform binary OR operation
__pow__(self, value, modulo)
Provision for pow()
__radd__ = __add__(self, value)
Add a value
__rand__ = __and__(self, value)
Perform binary AND operation
__rdiv__(self, value)
Divide ourselves by value
__rmod__ = __mod__(self, value)
Take a modulo of ourselves
__rmul__ = __mul__(self, value)
Multiply a value
__ror__ = __or__(self, value)
Perform binary OR operation
__rpow__(self, value, modulo)
Provision for rpow()
__rshift__(self, value)
Perform right shift operation
__rsub__(self, value)
Subscract our value from given one
__rxor__ = __xor__(self, value)
Perform binary XOR operation
__sub__(self, value)
Subscract a value
__xor__(self, value)
Perform binary XOR operation
dec = __isub__(self, value)
Subscract value from ourselves
div = __idiv__(self, value)
Divide a value by ourselves
inc = __iadd__(self, value)
Add value to ourselves
mul = __imul__(self, value)
Multiply a value to ourselves

Data and other attributes inherited from Integer:
allowedTypes = (<type 'int'>, <type 'long'>)
tagId = 2

Methods inherited from SimpleAsn1Object:
__cmp__(self, other)
Attempt to compare the payload of instances of the same class
__hash__(self)
Returns hash of the payload value
__init__(self, value=None)
Store ASN.1 value
__nonzero__(self)
Returns true if value is true
__repr__(self)
Return native representation of instance payload
componentFactoryBorrow(self, value=None)
get(self)
Get a value from object
getTerminal(self)
set(self, value)
Set a value to object

Data and other attributes inherited from SimpleAsn1Object:
NORMAL_STATIC_TYPES = (<type 'int'>, <type 'long'>, <type 'str'>, <type 'NoneType'>, <type 'float'>, <type 'tuple'>)
tagFormat = 0

Methods inherited from Asn1Object:
getUnderlyingTag(self)

Data and other attributes inherited from Asn1Object:
tagCategory = 1
tagClass = 0

Methods inherited from SimpleAsn1Object:
berDecode(self, input)
berDecode(input) -> (value, rest)
 
BER decode input (octet string) into ASN1 object payload,
return the rest of input stream.
berEncode(self, value=None)
berEncode() -> octet string
 
BER encode object payload whenever possible
decode = berDecode(self, input)
berDecode(input) -> (value, rest)
 
BER decode input (octet string) into ASN1 object payload,
return the rest of input stream.
encode = berEncode(self, value=None)
berEncode() -> octet string
 
BER encode object payload whenever possible

Methods inherited from BerObject:
berDecodeLength(self, input)
berDecodeLength(input) -> (length, size)
 
Return the data item's length (integer) and the size of length
data (integer).
berEncodeLength(self, length)
berEncodeLength(length) -> octet string
 
BER encode ASN.1 data item length (integer).
berEncodeTag(self, (tagClass, tagFormat, tagId)=(None, None, None))
BER encode ASN.1 type tag

 
class GetBulkRequestPdu(GetBulkRequestPduMixIn, GetBulkRequestPduMixIn, ProtoVersionId2cMixIn, GetBulkRequestPduTypeMixIn, BulkPdu)
    The GetBulkRequestPdu-PDU
 
 
Method resolution order:
GetBulkRequestPdu
GetBulkRequestPduMixIn
RequestPduMixIn
RequestPduMixIn
GetBulkRequestPduMixIn
RequestPduMixIn
PduMixInBase
PduMixInBase
RequestPduMixIn
ProtoVersionId2cMixIn
ProtoVersionIdMixInBase
GetBulkRequestPduTypeMixIn
PduTypeMixInBase
BulkPdu
Sequence
Sequence
SequenceMixIn
ProtoVersionId1MixIn
Sequence
RecordTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
SequenceMixIn
OrderedFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
tagId = 5

Methods inherited from GetBulkRequestPduMixIn:
apiGenGetMaxRepetitions(self)
apiGenGetNonRepeaters(self)
apiGenSetMaxRepetitions(self, value)
apiGenSetNonRepeaters(self, value)

Methods inherited from RequestPduMixIn:
apiGenSetVarBind(self, varBinds)

Methods inherited from RequestPduMixIn:
apiGenGetRequestId(self)
apiGenGetVarBind(self)
apiGenSetRequestId(self, value)

Methods inherited from GetBulkRequestPduMixIn:
apiAlphaGetMaxRepetitions(self)
apiAlphaGetNonRepeaters(self)
apiAlphaGetTableIndices(self, rsp, *headerVars)
apiAlphaSetMaxRepetitions(self, value)
apiAlphaSetNonRepeaters(self, value)

Methods inherited from RequestPduMixIn:
apiAlphaMatch(self, rspPdu)
Return true if response PDU matches this ours
apiAlphaReply(self, pdu=None)
Return initialized response PDU
match = apiAlphaMatch(self, rspPdu)
Return true if response PDU matches this ours
reply = apiAlphaReply(self, pdu=None)
Return initialized response PDU

Methods inherited from PduMixInBase:
apiAlphaSetVarBindList(self, *varBinds)

Methods inherited from PduMixInBase:
apiAlphaGetVarBindList(self)

Methods inherited from RequestPduMixIn:
apiAlphaGetRequestId(self)
apiAlphaSetRequestId(self, value)

Data and other attributes inherited from ProtoVersionId2cMixIn:
apiAlphaProtoVersionId = 1

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Data and other attributes inherited from GetBulkRequestPduTypeMixIn:
apiAlphaPduType = 'BulkRequest'

Methods inherited from PduTypeMixInBase:
apiAlphaGetPduType(self)

Data and other attributes inherited from BulkPdu:
fixedComponents = [<class pysnmp.proto.rfc1905.RequestId>, <class pysnmp.proto.rfc1905.NonRepeaters>, <class pysnmp.proto.rfc1905.MaxRepetitions>, <class pysnmp.proto.rfc1905.VarBindList>]
fixedNames = ['request_id', 'non_repeaters', 'max_repetitions', 'variable_bindings']
tagClass = 128

Methods inherited from SequenceMixIn:
apiAlphaSetSimpleComponent(self, key, value)

Methods inherited from RecordTypeAsn1Object:
__init__(self, **kwargs)
Store dictionary args
__setitem__(self, key, value)
Set component by key & value

Methods inherited from FixedTypeAsn1Object:
__cmp__(self, other)
Attempt to compare the payload of instances of the same class
__getitem__(self, key)
Return component by key
__hash__(self)
Returns hash of the payload value
__len__(self)
Get length of the object
__repr__(self)
Return native representation of instance payload
__str__(self)
Return string representation of class instance
get(self, key, default=None)
Lookup by key with default
has_key(self, key)
Return true if key exists
items(self)
Return a list of tuples (key, value)
keys(self)
Return a list of keys
update(self, dict)
Merge dict to ourselves
values(self)
Return a list of values

Data and other attributes inherited from StructuredAsn1Object:
tagFormat = 32

Methods inherited from Asn1Object:
getUnderlyingTag(self)

Data and other attributes inherited from Asn1Object:
allowedTypes = ()
constraints = ()
tagCategory = 1

Methods inherited from OrderedFixedTypeAsn1Object:
berDecode(self, input)
berDecode(input) -> rest
 
BER decode input (octet string) into ASN1 object payload,
return the rest of input stream.
decode = berDecode(self, input)
berDecode(input) -> rest
 
BER decode input (octet string) into ASN1 object payload,
return the rest of input stream.

Methods inherited from FixedTypeAsn1Object:
berEncode(self)
Choose optimised version of berEncode for this class
berEncodeWOutSub(self)
berEncodeWSub() -> octet string
 
For classes which do *not* have a _berEncode only!
 
Note:
    This should be bound by a metaclass on looking
    at the final class, *not* as is done now by
    binding at time-of-use.
berEncodeWSub(self)
berEncodeWSub() -> octet string
 
For classes which *have* a _berEncode only!
 
Note:
    This should be bound by a metaclass on looking
    at the final class, *not* as is done now by
    binding at time-of-use.
encode = berEncode(self)
Choose optimised version of berEncode for this class

Methods inherited from StructuredAsn1Object:
berUnwrapHeader(self, input)
Decode BER header, return (data, rest)
berWrapHeader(self, input)
Add BER header to data chunk if needed

Methods inherited from BerObject:
berDecodeLength(self, input)
berDecodeLength(input) -> (length, size)
 
Return the data item's length (integer) and the size of length
data (integer).
berEncodeLength(self, le