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

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

 
Modules
       
pysnmp.asn1.constraints
pysnmp.proto.error
pysnmp
pysnmp.proto.rfc1155

 
Classes
       
GetNextRequestPduTypeMixIn(PduTypeMixInBase)
GetNextRequestPdu(GetNextRequestPduMixIn, GetNextRequestPduMixIn, ProtoVersionId1MixIn, GetNextRequestPduTypeMixIn, RequestPdu)
GetRequestPduTypeMixIn(PduTypeMixInBase)
GetRequestPdu(GetRequestPduMixIn, GetRequestPduMixIn, ProtoVersionId1MixIn, GetRequestPduTypeMixIn, RequestPdu)
GetResponsePduTypeMixIn(PduTypeMixInBase)
GetResponsePdu(GetResponsePduMixIn, GetResponsePduMixIn, ProtoVersionId1MixIn, GetResponsePduTypeMixIn, RequestPdu)
SetRequestPduTypeMixIn(PduTypeMixInBase)
SetRequestPdu(SetRequestPduMixIn, SetRequestPduMixIn, ProtoVersionId1MixIn, SetRequestPduTypeMixIn, RequestPdu)
TrapPduTypeMixIn(PduTypeMixInBase)
TrapPdu(TrapPduMixIn, TrapPduMixIn, ProtoVersionId1MixIn, TrapPduTypeMixIn, Sequence)
GetNextRequestPduMixIn(RequestPduMixIn)
GetNextRequestPdu(GetNextRequestPduMixIn, GetNextRequestPduMixIn, ProtoVersionId1MixIn, GetNextRequestPduTypeMixIn, RequestPdu)
GetRequestPduMixIn(RequestPduMixIn)
GetRequestPdu(GetRequestPduMixIn, GetRequestPduMixIn, ProtoVersionId1MixIn, GetRequestPduTypeMixIn, RequestPdu)
GetResponsePduMixIn(RequestPduMixIn)
GetResponsePdu(GetResponsePduMixIn, GetResponsePduMixIn, ProtoVersionId1MixIn, GetResponsePduTypeMixIn, RequestPdu)
MessageMixIn
Message(MessageMixIn, MessageMixIn, ProtoVersionId1MixIn, Sequence)
SetRequestPduMixIn(RequestPduMixIn)
SetRequestPdu(SetRequestPduMixIn, SetRequestPduMixIn, ProtoVersionId1MixIn, SetRequestPduTypeMixIn, RequestPdu)
TrapPduMixIn(PduMixInBase)
TrapPdu(TrapPduMixIn, TrapPduMixIn, ProtoVersionId1MixIn, TrapPduTypeMixIn, Sequence)
VarBindMixIn
VarBind(VarBindMixIn, ProtoVersionId1MixIn, Sequence)
ProtoVersionId1MixIn(ProtoVersionIdMixInBase)
AgentAddr(ProtoVersionId1MixIn, NetworkAddress)
Community(ProtoVersionId1MixIn, OctetString)
Enterprise(ProtoVersionId1MixIn, ObjectIdentifier)
ErrorIndex(ProtoVersionId1MixIn, Integer)
ErrorStatus(ProtoVersionId1MixIn, Integer)
GenericTrap(ProtoVersionId1MixIn, Integer)
GetNextRequestPdu(GetNextRequestPduMixIn, GetNextRequestPduMixIn, ProtoVersionId1MixIn, GetNextRequestPduTypeMixIn, RequestPdu)
GetRequestPdu(GetRequestPduMixIn, GetRequestPduMixIn, ProtoVersionId1MixIn, GetRequestPduTypeMixIn, RequestPdu)
GetResponsePdu(GetResponsePduMixIn, GetResponsePduMixIn, ProtoVersionId1MixIn, GetResponsePduTypeMixIn, RequestPdu)
Message(MessageMixIn, MessageMixIn, ProtoVersionId1MixIn, Sequence)
Pdus(ProtoVersionId1MixIn, Choice)
RequestId(ProtoVersionId1MixIn, InitialRequestIdMixIn, Integer)
SetRequestPdu(SetRequestPduMixIn, SetRequestPduMixIn, ProtoVersionId1MixIn, SetRequestPduTypeMixIn, RequestPdu)
SpecificTrap(ProtoVersionId1MixIn, Integer)
TimeStamp(ProtoVersionId1MixIn, TimeTicks)
TrapPdu(TrapPduMixIn, TrapPduMixIn, ProtoVersionId1MixIn, TrapPduTypeMixIn, Sequence)
VarBind(VarBindMixIn, ProtoVersionId1MixIn, Sequence)
VarBindList(ProtoVersionId1MixIn, SequenceOf)
Version(ProtoVersionId1MixIn, Integer)
GetNextRequestPduMixIn(RequestPduMixIn)
GetNextRequestPdu(GetNextRequestPduMixIn, GetNextRequestPduMixIn, ProtoVersionId1MixIn, GetNextRequestPduTypeMixIn, RequestPdu)
GetRequestPduMixIn(RequestPduMixIn)
GetRequestPdu(GetRequestPduMixIn, GetRequestPduMixIn, ProtoVersionId1MixIn, GetRequestPduTypeMixIn, RequestPdu)
GetResponsePduMixIn(RequestPduMixIn)
GetResponsePdu(GetResponsePduMixIn, GetResponsePduMixIn, ProtoVersionId1MixIn, GetResponsePduTypeMixIn, RequestPdu)
MessageMixIn
Message(MessageMixIn, MessageMixIn, ProtoVersionId1MixIn, Sequence)
SetRequestPduMixIn(RequestPduMixIn)
SetRequestPdu(SetRequestPduMixIn, SetRequestPduMixIn, ProtoVersionId1MixIn, SetRequestPduTypeMixIn, RequestPdu)
TrapPduMixIn(RequestPduMixIn)
TrapPdu(TrapPduMixIn, TrapPduMixIn, ProtoVersionId1MixIn, TrapPduTypeMixIn, Sequence)
Choice(ChoiceMixIn, ProtoVersionId1MixIn, Choice)
Pdus(ProtoVersionId1MixIn, Choice)
Integer(ProtoVersionId1MixIn, Integer)
ErrorIndex(ProtoVersionId1MixIn, Integer)
ErrorStatus(ProtoVersionId1MixIn, Integer)
GenericTrap(ProtoVersionId1MixIn, Integer)
SpecificTrap(ProtoVersionId1MixIn, Integer)
Version(ProtoVersionId1MixIn, Integer)
NetworkAddress(ProtoVersionId1MixIn, Choice)
AgentAddr(ProtoVersionId1MixIn, NetworkAddress)
ObjectIdentifier(ProtoVersionId1MixIn, ObjectIdentifier)
Enterprise(ProtoVersionId1MixIn, ObjectIdentifier)
OctetString(ProtoVersionId1MixIn, OctetString)
Community(ProtoVersionId1MixIn, OctetString)
Sequence(SequenceMixIn, ProtoVersionId1MixIn, Sequence)
Message(MessageMixIn, MessageMixIn, ProtoVersionId1MixIn, Sequence)
RequestPdu
GetNextRequestPdu(GetNextRequestPduMixIn, GetNextRequestPduMixIn, ProtoVersionId1MixIn, GetNextRequestPduTypeMixIn, RequestPdu)
GetRequestPdu(GetRequestPduMixIn, GetRequestPduMixIn, ProtoVersionId1MixIn, GetRequestPduTypeMixIn, RequestPdu)
GetResponsePdu(GetResponsePduMixIn, GetResponsePduMixIn, ProtoVersionId1MixIn, GetResponsePduTypeMixIn, RequestPdu)
SetRequestPdu(SetRequestPduMixIn, SetRequestPduMixIn, ProtoVersionId1MixIn, SetRequestPduTypeMixIn, RequestPdu)
TrapPdu(TrapPduMixIn, TrapPduMixIn, ProtoVersionId1MixIn, TrapPduTypeMixIn, Sequence)
VarBind(VarBindMixIn, ProtoVersionId1MixIn, Sequence)
SequenceOf(ProtoVersionId1MixIn, SequenceOf)
VarBindList(ProtoVersionId1MixIn, SequenceOf)
TimeTicks(ProtoVersionId1MixIn, Integer)
TimeStamp(ProtoVersionId1MixIn, TimeTicks)
InitialRequestIdMixIn
RequestId(ProtoVersionId1MixIn, InitialRequestIdMixIn, Integer)

 
class AgentAddr(ProtoVersionId1MixIn, NetworkAddress)
    Trap PDU agent address
 
 
Method resolution order:
AgentAddr
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
NetworkAddress
Choice
ChoiceMixIn
Choice
ChoiceTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
ChoiceMixIn
SingleFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Data and other attributes inherited from NetworkAddress:
choiceComponents = [<class pysnmp.proto.rfc1155.IpAddress>]
choiceNames = ['internet']
initialComponent = <class pysnmp.proto.rfc1155.IpAddress>
SNMP IP address object (taken and returned as string in conventional
"dotted" representation)

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 Community(ProtoVersionId1MixIn, OctetString)
    Community name
 
 
Method resolution order:
Community
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
OctetString
OctetString
SimpleAsn1Object
Asn1Object
OctetStringMixIn
SimpleAsn1Object
BerObject

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

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

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:
constraints = ()
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 Enterprise(ProtoVersionId1MixIn, ObjectIdentifier)
    Trap PDU enterprise Object ID
 
 
Method resolution order:
Enterprise
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
ObjectIdentifier
ObjectIdentifier
SimpleAsn1Object
Asn1Object
ObjectIdentifierMixIn
SimpleAsn1Object
BerObject

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

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Methods inherited from ObjectIdentifier:
__add__(self, other)
Add sub-id  with input verification
__delitem__(self, i)
Delete sequence component by index or slice
__getitem__(self, i)
Get sequence component by index or slice
__init__(self, value=None)
__len__(self)
__radd__(self, other)
Add sub-id  with input verification
__setitem__(self, i, item)
Set sub-id by index or slice with input verification
append(self, item)
Append sub-id with input verification
attachNode(self, newNode, newOid=None, idx=None)
Attach a new OID node to OIDs tree
extend(self, item)
Append an oid with input verification
index(self, suboid)
Returns index of first occurrence of given sub-identifier
initChildNodes(self)
Initialize possible children
isaprefix(self, other)
isaprefix(other) -> boolean
 
Compare our own OID with the other one (given as a string),
return non-None if ours is a prefix of the other OID.
 
This is intended to be used for MIB tables retrieval.
match(self, subOids, offset=None)
Compare OIDs by numeric or alias values
resolveKeyOid(self, arg)
searchNode(self, oid, idx=None)
Search the tree of OIDs by name
str2num(self, symbolicOid, aliases=None)
str2num(symbolicOid) -> numericOid
 
Convert symbolic Object ID presented in a dotted form into a
numeric Object ID  represented as a list of numeric sub-ID's.
strNode(self, level=0)
Pretty print OID tree

Data and other attributes inherited from ObjectIdentifier:
allowedTypes = (<type 'str'>, <type 'list'>)
initialChildren = []
tagId = 6

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
__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:
constraints = ()
tagCategory = 1
tagClass = 0

Class methods inherited from ObjectIdentifierMixIn:
berInternEncoding(cls, oid) from __builtin__.classobj
Given an OID value, cache the BER encoded values for reference

Data and other attributes inherited from ObjectIdentifierMixIn:
BER_BACKWARD_CACHE = {}
BER_FORWARD_CACHE = {}

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(ProtoVersionId1MixIn, Integer)
    Error index
 
 
Method resolution order:
ErrorIndex
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
Integer
Integer
SimpleAsn1Object
Asn1Object
IntegerMixIn
SimpleAsn1Object
BerObject

Data and other attributes defined here:
initialValue = 0

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

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
__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:
constraints = ()
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(ProtoVersionId1MixIn, Integer)
    Error status
 
 
Method resolution order:
ErrorStatus
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
Integer
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']

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

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 GenericTrap(ProtoVersionId1MixIn, Integer)
    Trap PDU generic trap
 
 
Method resolution order:
GenericTrap
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
Integer
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
verboseTraps = ['coldStart', 'warmStart', 'linkDown', 'linkUp', 'authenticationFailure', 'egpNeighborLoss', 'enterpriseSpecific']

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

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 GetNextRequestPdu(GetNextRequestPduMixIn, GetNextRequestPduMixIn, ProtoVersionId1MixIn, GetNextRequestPduTypeMixIn, RequestPdu)
    The GetNextRequest-PDU
 
 
Method resolution order:
GetNextRequestPdu
GetNextRequestPduMixIn
RequestPduMixIn
GetNextRequestPduMixIn
RequestPduMixIn
PduMixInBase
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
GetNextRequestPduTypeMixIn
PduTypeMixInBase
RequestPdu
Sequence
SequenceMixIn
Sequence
RecordTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
SequenceMixIn
OrderedFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
tagId = 1

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

Methods inherited from RequestPduMixIn:
apiAlphaGetRequestId(self)
apiAlphaMatch(self, rspPdu)
Return true if response PDU matches this ours
apiAlphaReply(self, pdu=None)
Return initialized response PDU
apiAlphaSetRequestId(self, value)
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:
apiAlphaGetTableIndices(self, rsp, *headerVars)
apiAlphaGetVarBindList(self)
apiAlphaSetVarBindList(self, *varBinds)

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Data and other attributes inherited from GetNextRequestPduTypeMixIn:
apiAlphaPduType = 'GetNextRequest'

Methods inherited from PduTypeMixInBase:
apiAlphaGetPduType(self)

Data and other attributes inherited from RequestPdu:
fixedComponents = [<class pysnmp.proto.rfc1157.RequestId>, <class pysnmp.proto.rfc1157.ErrorStatus>, <class pysnmp.proto.rfc1157.ErrorIndex>, <class pysnmp.proto.rfc1157.VarBindList>]
fixedNames = ['request_id', 'error_status', 'error_index', '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, 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 GetRequestPdu(GetRequestPduMixIn, GetRequestPduMixIn, ProtoVersionId1MixIn, GetRequestPduTypeMixIn, RequestPdu)
    The GetRequest-PDU
 
 
Method resolution order:
GetRequestPdu
GetRequestPduMixIn
RequestPduMixIn
GetRequestPduMixIn
RequestPduMixIn
PduMixInBase
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
GetRequestPduTypeMixIn
PduTypeMixInBase
RequestPdu
Sequence
SequenceMixIn
Sequence
RecordTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
SequenceMixIn
OrderedFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
tagId = 0

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

Methods inherited from RequestPduMixIn:
apiAlphaGetRequestId(self)
apiAlphaMatch(self, rspPdu)
Return true if response PDU matches this ours
apiAlphaReply(self, pdu=None)
Return initialized response PDU
apiAlphaSetRequestId(self, value)
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:
apiAlphaGetTableIndices(self, rsp, *headerVars)
apiAlphaGetVarBindList(self)
apiAlphaSetVarBindList(self, *varBinds)

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Data and other attributes inherited from GetRequestPduTypeMixIn:
apiAlphaPduType = 'GetRequest'

Methods inherited from PduTypeMixInBase:
apiAlphaGetPduType(self)

Data and other attributes inherited from RequestPdu:
fixedComponents = [<class pysnmp.proto.rfc1157.RequestId>, <class pysnmp.proto.rfc1157.ErrorStatus>, <class pysnmp.proto.rfc1157.ErrorIndex>, <class pysnmp.proto.rfc1157.VarBindList>]
fixedNames = ['request_id', 'error_status', 'error_index', '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, 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 GetResponsePdu(GetResponsePduMixIn, GetResponsePduMixIn, ProtoVersionId1MixIn, GetResponsePduTypeMixIn, RequestPdu)
    The GetResponse-PDU
 
 
Method resolution order:
GetResponsePdu
GetResponsePduMixIn
RequestPduMixIn
GetResponsePduMixIn
RequestPduMixIn
PduMixInBase
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
GetResponsePduTypeMixIn
PduTypeMixInBase
RequestPdu
Sequence
SequenceMixIn
Sequence
RecordTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
SequenceMixIn
OrderedFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
tagId = 2

Methods inherited from GetResponsePduMixIn:
apiGenGetErrorIndex(self)
apiGenGetErrorStatus(self)
apiGenSetErrorIndex(self, value)
apiGenSetErrorStatus(self, value)

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

Methods inherited from GetResponsePduMixIn:
apiAlphaGetEndOfMibIndices(self)
apiAlphaGetErrorIndex(self)
apiAlphaGetErrorStatus(self)
apiAlphaSetEndOfMibIndices(self, *indices)
apiAlphaSetErrorIndex(self, value)
apiAlphaSetErrorStatus(self, value)

Methods inherited from RequestPduMixIn:
apiAlphaGetRequestId(self)
apiAlphaMatch(self, rspPdu)
Return true if response PDU matches this ours
apiAlphaReply(self, pdu=None)
Return initialized response PDU
apiAlphaSetRequestId(self, value)
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:
apiAlphaGetTableIndices(self, rsp, *headerVars)
apiAlphaGetVarBindList(self)
apiAlphaSetVarBindList(self, *varBinds)

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Data and other attributes inherited from GetResponsePduTypeMixIn:
apiAlphaPduType = 'GetResponse'

Methods inherited from PduTypeMixInBase:
apiAlphaGetPduType(self)

Data and other attributes inherited from RequestPdu:
fixedComponents = [<class pysnmp.proto.rfc1157.RequestId>, <class pysnmp.proto.rfc1157.ErrorStatus>, <class pysnmp.proto.rfc1157.ErrorIndex>, <class pysnmp.proto.rfc1157.VarBindList>]
fixedNames = ['request_id', 'error_status', 'error_index', '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, 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 InitialRequestIdMixIn
     Methods defined here:
initialValue(self)

 
class Message(MessageMixIn, MessageMixIn, ProtoVersionId1MixIn, Sequence)
    Top level message
 
 
Method resolution order:
Message
MessageMixIn
MessageMixIn
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
Sequence
SequenceMixIn
Sequence
RecordTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
SequenceMixIn
OrderedFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
fixedComponents = [<class pysnmp.proto.rfc1157.Version>, <class pysnmp.proto.rfc1157.Community>, <class pysnmp.proto.rfc1157.Pdus>]
fixedNames = ['version', 'community', 'pdu']

Methods inherited from MessageMixIn:
apiGenGetCommunity(self)
apiGenGetPdu(self)
apiGenGetVersion(self)
apiGenSetCommunity(self, value)
apiGenSetPdu(self, value)

Methods inherited from MessageMixIn:
apiAlphaGetCommunity(self)
apiAlphaGetPdu(self)
apiAlphaGetVersion(self)
apiAlphaMatch(self, rsp)
Return true if response message matches this request
apiAlphaReply(self, rsp=None)
Return initialized response message
apiAlphaSetCommunity(self, value)
apiAlphaSetPdu(self, value)
match = apiAlphaMatch(self, rsp)
Return true if response message matches this request
reply = apiAlphaReply(self, rsp=None)
Return initialized response message

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

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
tagClass = 0

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 Pdus(ProtoVersionId1MixIn, Choice)
    The CHOICE of PDUs
 
 
Method resolution order:
Pdus
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
Choice
ChoiceMixIn
Choice
ChoiceTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
ChoiceMixIn
SingleFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
choiceComponents = [<class pysnmp.proto.rfc1157.GetRequestPdu>, <class pysnmp.proto.rfc1157.GetNextRequestPdu>, <class pysnmp.proto.rfc1157.GetResponsePdu>, <class pysnmp.proto.rfc1157.SetRequestPdu>, <class pysnmp.proto.rfc1157.TrapPdu>]
choiceNames = ['get_request', 'get_next_request', 'get_response', 'set_request', 'trap']

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

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)

Data and other attributes inherited from ChoiceTypeAsn1Object:
initialComponent = None

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 RequestId(ProtoVersionId1MixIn, InitialRequestIdMixIn, Integer)
    Request ID
 
 
Method resolution order:
RequestId
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
InitialRequestIdMixIn
Integer
Integer
SimpleAsn1Object
Asn1Object
IntegerMixIn
SimpleAsn1Object
BerObject

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Methods inherited from InitialRequestIdMixIn:
initialValue(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
__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:
constraints = ()
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 RequestPdu(Sequence)
    Base class for a non-trap PDU
 
 
Method resolution order:
RequestPdu
Sequence
SequenceMixIn
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
Sequence
RecordTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
SequenceMixIn
OrderedFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
fixedComponents = [<class pysnmp.proto.rfc1157.RequestId>, <class pysnmp.proto.rfc1157.ErrorStatus>, <class pysnmp.proto.rfc1157.ErrorIndex>, <class pysnmp.proto.rfc1157.VarBindList>]
fixedNames = ['request_id', 'error_status', 'error_index', 'variable_bindings']
tagClass = 128

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

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

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 SetRequestPdu(SetRequestPduMixIn, SetRequestPduMixIn, ProtoVersionId1MixIn, SetRequestPduTypeMixIn, RequestPdu)
    The SetRequest-PDU
 
 
Method resolution order:
SetRequestPdu
SetRequestPduMixIn
RequestPduMixIn
SetRequestPduMixIn
RequestPduMixIn
PduMixInBase
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
SetRequestPduTypeMixIn
PduTypeMixInBase
RequestPdu
Sequence
SequenceMixIn
Sequence
RecordTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
SequenceMixIn
OrderedFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
tagId = 3

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

Methods inherited from RequestPduMixIn:
apiAlphaGetRequestId(self)
apiAlphaMatch(self, rspPdu)
Return true if response PDU matches this ours
apiAlphaReply(self, pdu=None)
Return initialized response PDU
apiAlphaSetRequestId(self, value)
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:
apiAlphaGetTableIndices(self, rsp, *headerVars)
apiAlphaGetVarBindList(self)
apiAlphaSetVarBindList(self, *varBinds)

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Data and other attributes inherited from SetRequestPduTypeMixIn:
apiAlphaPduType = 'SetRequest'

Methods inherited from PduTypeMixInBase:
apiAlphaGetPduType(self)

Data and other attributes inherited from RequestPdu:
fixedComponents = [<class pysnmp.proto.rfc1157.RequestId>, <class pysnmp.proto.rfc1157.ErrorStatus>, <class pysnmp.proto.rfc1157.ErrorIndex>, <class pysnmp.proto.rfc1157.VarBindList>]
fixedNames = ['request_id', 'error_status', 'error_index', '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, 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 SpecificTrap(ProtoVersionId1MixIn, Integer)
    Trap PDU specific trap
 
 
Method resolution order:
SpecificTrap
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
Integer
Integer
SimpleAsn1Object
Asn1Object
IntegerMixIn
SimpleAsn1Object
BerObject

Data and other attributes defined here:
initialValue = 0

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

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
__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:
constraints = ()
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 TimeStamp(ProtoVersionId1MixIn, TimeTicks)
    Trap PDU time stamp
 
 
Method resolution order:
TimeStamp
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
TimeTicks
Integer
SimpleAsn1Object
Asn1Object
IntegerMixIn
SimpleAsn1Object
BerObject

Methods defined here:
__init__(self, value=1141606055)
Set current time by default

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Data and other attributes inherited from TimeTicks:
constraints = (<function _ValueRangeConstraint>,)
tagClass = 64
tagId = 3

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

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
__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 TrapPdu(TrapPduMixIn, TrapPduMixIn, ProtoVersionId1MixIn, TrapPduTypeMixIn, Sequence)
    Trap PDU
 
 
Method resolution order:
TrapPdu
TrapPduMixIn
RequestPduMixIn
TrapPduMixIn
PduMixInBase
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
TrapPduTypeMixIn
PduTypeMixInBase
Sequence
SequenceMixIn
Sequence
RecordTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
SequenceMixIn
OrderedFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
fixedComponents = [<class pysnmp.proto.rfc1157.Enterprise>, <class pysnmp.proto.rfc1157.AgentAddr>, <class pysnmp.proto.rfc1157.GenericTrap>, <class pysnmp.proto.rfc1157.SpecificTrap>, <class pysnmp.proto.rfc1157.TimeStamp>, <class pysnmp.proto.rfc1157.VarBindList>]
fixedNames = ['enterprise', 'agent_addr', 'generic_trap', 'specific_trap', 'time_stamp', 'variable_bindings']
tagClass = 128
tagId = 4

Methods inherited from TrapPduMixIn:
apiGenGetAgentAddr(self)
apiGenGetEnterprise(self)
apiGenGetGenericTrap(self)
apiGenGetSpecificTrap(self)
apiGenGetTimeStamp(self)
apiGenSetAgentAddr(self, value)
apiGenSetEnterprise(self, value)
apiGenSetGenericTrap(self, value)
apiGenSetSpecificTrap(self, value)
apiGenSetTimeStamp(self, value)

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

Methods inherited from TrapPduMixIn:
apiAlphaGetAgentAddr(self)
apiAlphaGetEnterprise(self)
apiAlphaGetGenericTrap(self)
apiAlphaGetSpecificTrap(self)
apiAlphaGetTimeStamp(self)
apiAlphaSetAgentAddr(self, value)
apiAlphaSetEnterprise(self, value)
apiAlphaSetGenericTrap(self, value)
apiAlphaSetSpecificTrap(self, value)
apiAlphaSetTimeStamp(self, value)

Methods inherited from PduMixInBase:
apiAlphaGetTableIndices(self, rsp, *headerVars)
apiAlphaGetVarBindList(self)
apiAlphaSetVarBindList(self, *varBinds)

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Data and other attributes inherited from TrapPduTypeMixIn:
apiAlphaPduType = 'Trap'

Methods inherited from PduTypeMixInBase:
apiAlphaGetPduType(self)

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, 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 VarBind(VarBindMixIn, ProtoVersionId1MixIn, Sequence)
    Variable binding
 
 
Method resolution order:
VarBind
VarBindMixIn
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
Sequence
SequenceMixIn
Sequence
RecordTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
SequenceMixIn
OrderedFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
fixedComponents = [<class pysnmp.proto.rfc1155.ObjectName>, <class pysnmp.proto.rfc1155.ObjectSyntax>]
fixedNames = ['name', 'value']

Methods inherited from VarBindMixIn:
apiAlphaGetOidVal(self)
apiAlphaSetOidVal(self, (oid, val))

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

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
tagClass = 0

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 VarBindList(ProtoVersionId1MixIn, SequenceOf)
    List of variable bindings
 
 
Method resolution order:
VarBindList
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
SequenceOf
SequenceOf
VariableTypeAsn1Object
StructuredAsn1Object
Asn1Object
SequenceOfMixIn
OrderedVariableTypeAsn1Object
VariableTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
protoComponent = <class pysnmp.proto.rfc1157.VarBind>
Variable binding

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Data and other attributes inherited from SequenceOf:
tagId = 16

Methods inherited from VariableTypeAsn1Object:
__cmp__(self, other)
Attempt to compare the payload of instances of the same class
__delitem__(self, idx)
Remove object by subscription
__getitem__(self, idx)
Get object by subscription
__hash__(self)
Returns hash of the payload value
__init__(self, *args)
Store possible components
__len__(self)
__repr__(self)
Return native representation of instance payload
__setitem__(self, idx, value)
Set object by subscription
__str__(self)
Return string representation of class instance
append(self, value)
Append object to end
clear(self)
componentFactoryBorrow(self)
componentFactoryReturn(self, *vals)
extend(self, values)
Extend list by appending list elements
index(self, idx)
insert(self, idx, value)
Insert object before index
pop(self, idx=None)
Remove and return item at index (default last)

Data and other attributes inherited from VariableTypeAsn1Object:
initialValue = []

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
tagClass = 0

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

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 Version(ProtoVersionId1MixIn, Integer)
    Message version
 
 
Method resolution order:
Version
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
Integer
Integer
SimpleAsn1Object
Asn1Object
IntegerMixIn
SimpleAsn1Object
BerObject

Data and other attributes defined here:
constraints = (<pysnmp.asn1.constraints.SingleValueConstraint object>,)
initialValue = 0

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

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
__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

 
Functions
       
probeMessageVersion(wholeMsg)
time(...)
time() -> floating point number
 
Return the current time in seconds since the Epoch.
Fractions of a second may be present if the system clock provides them.

 
Data
        __all__ = ['Version', 'Community', 'RequestId', 'ErrorStatus', 'ErrorIndex', 'VarBind', 'VarBindList', 'GetRequestPdu', 'GetNextRequestPdu', 'GetResponsePdu', 'SetRequestPdu', 'Enterprise', 'AgentAddr', 'GenericTrap', 'SpecificTrap', 'TimeStamp', 'TrapPdu', 'Pdus', 'Message']
globalRequestId = 446L
tagClasses = {'APPLICATION': 64, 'CONTEXT': 128, 'PRIVATE': 192, 'UNIVERSAL': 0}