| |
- Message(MessageMixIn, MessageMixIn, ProtoVersionId2cMixIn, Sequence)
-
- GetBulkRequest(Message, _RequestSpecifics)
- GetNextRequest(Message, _RequestSpecifics)
- GetRequest(Message, _RequestSpecifics)
- InformRequest(Message, _RequestSpecifics)
- Report
- Request(Message, _RequestSpecifics)
- Response
- Response
- SetRequest(Message, _RequestSpecifics)
- SnmpV2Trap
- SnmpV2Trap
- _RequestPduSpecifics
- _RequestSpecifics
-
- GetBulkRequest(Message, _RequestSpecifics)
- GetNextRequest(Message, _RequestSpecifics)
- GetRequest(Message, _RequestSpecifics)
- InformRequest(Message, _RequestSpecifics)
- Request(Message, _RequestSpecifics)
- SetRequest(Message, _RequestSpecifics)
class GetBulkRequest(Message, _RequestSpecifics) |
|
Strictly typed v.2c GetBulkRequest |
|
- Method resolution order:
- GetBulkRequest
- Message
- MessageMixIn
- MessageMixIn
- MessageMixIn
- MessageMixIn
- ProtoVersionId2cMixIn
- ProtoVersionIdMixInBase
- Sequence
- Sequence
- SequenceMixIn
- ProtoVersionId1MixIn
- Sequence
- RecordTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
- SequenceMixIn
- OrderedFixedTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- SimpleAsn1Object
- BerObject
- _RequestSpecifics
Data and other attributes defined here:
- Pdus = <class pysnmp.proto.v2c.Pdus>
- GetBulkRequest specific selection of applicible PDUs
- fixedComponents = [<class pysnmp.proto.rfc1905.Version>, <class pysnmp.proto.rfc1905.Community>, <class pysnmp.proto.v2c.Pdus>]
Data and other attributes inherited from Message:
- fixedNames = ['version', 'community', 'pdu']
Methods inherited from MessageMixIn:
- apiGenGetCommunity(self)
- apiGenGetPdu(self)
- apiGenGetVersion(self)
- apiGenSetCommunity(self, value)
- apiGenSetPdu(self, value)
Methods inherited from MessageMixIn:
- apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- apiAlphaReply(self, rsp=None)
- Return initialized response message
- match = apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- reply = apiAlphaReply(self, rsp=None)
- Return initialized response message
Methods inherited from MessageMixIn:
- apiAlphaGetCommunity(self)
- apiAlphaGetPdu(self)
- apiAlphaGetVersion(self)
- apiAlphaSetCommunity(self, value)
- apiAlphaSetPdu(self, value)
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
- 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 GetNextRequest(Message, _RequestSpecifics) |
|
Strictly typed v.2c GETNEXTREQUEST |
|
- Method resolution order:
- GetNextRequest
- Message
- MessageMixIn
- MessageMixIn
- MessageMixIn
- MessageMixIn
- ProtoVersionId2cMixIn
- ProtoVersionIdMixInBase
- Sequence
- Sequence
- SequenceMixIn
- ProtoVersionId1MixIn
- Sequence
- RecordTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
- SequenceMixIn
- OrderedFixedTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- SimpleAsn1Object
- BerObject
- _RequestSpecifics
Data and other attributes defined here:
- Pdus = <class pysnmp.proto.v2c.Pdus>
- GETNEXTREQUEST specific selection of applicible PDUs
- fixedComponents = [<class pysnmp.proto.rfc1905.Version>, <class pysnmp.proto.rfc1905.Community>, <class pysnmp.proto.v2c.Pdus>]
Data and other attributes inherited from Message:
- fixedNames = ['version', 'community', 'pdu']
Methods inherited from MessageMixIn:
- apiGenGetCommunity(self)
- apiGenGetPdu(self)
- apiGenGetVersion(self)
- apiGenSetCommunity(self, value)
- apiGenSetPdu(self, value)
Methods inherited from MessageMixIn:
- apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- apiAlphaReply(self, rsp=None)
- Return initialized response message
- match = apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- reply = apiAlphaReply(self, rsp=None)
- Return initialized response message
Methods inherited from MessageMixIn:
- apiAlphaGetCommunity(self)
- apiAlphaGetPdu(self)
- apiAlphaGetVersion(self)
- apiAlphaSetCommunity(self, value)
- apiAlphaSetPdu(self, value)
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
- 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 GetRequest(Message, _RequestSpecifics) |
|
Strictly typed v.2c GETREQUEST |
|
- Method resolution order:
- GetRequest
- Message
- MessageMixIn
- MessageMixIn
- MessageMixIn
- MessageMixIn
- ProtoVersionId2cMixIn
- ProtoVersionIdMixInBase
- Sequence
- Sequence
- SequenceMixIn
- ProtoVersionId1MixIn
- Sequence
- RecordTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
- SequenceMixIn
- OrderedFixedTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- SimpleAsn1Object
- BerObject
- _RequestSpecifics
Data and other attributes defined here:
- Pdus = <class pysnmp.proto.v2c.Pdus>
- GETREQUEST specific selection of applicible PDUs
- fixedComponents = [<class pysnmp.proto.rfc1905.Version>, <class pysnmp.proto.rfc1905.Community>, <class pysnmp.proto.v2c.Pdus>]
Data and other attributes inherited from Message:
- fixedNames = ['version', 'community', 'pdu']
Methods inherited from MessageMixIn:
- apiGenGetCommunity(self)
- apiGenGetPdu(self)
- apiGenGetVersion(self)
- apiGenSetCommunity(self, value)
- apiGenSetPdu(self, value)
Methods inherited from MessageMixIn:
- apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- apiAlphaReply(self, rsp=None)
- Return initialized response message
- match = apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- reply = apiAlphaReply(self, rsp=None)
- Return initialized response message
Methods inherited from MessageMixIn:
- apiAlphaGetCommunity(self)
- apiAlphaGetPdu(self)
- apiAlphaGetVersion(self)
- apiAlphaSetCommunity(self, value)
- apiAlphaSetPdu(self, value)
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
- 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
|
GetResponse = class Response(Message) |
|
Strictly typed v.2c GETREQUEST |
|
- Method resolution order:
- Response
- Message
- MessageMixIn
- MessageMixIn
- MessageMixIn
- MessageMixIn
- ProtoVersionId2cMixIn
- ProtoVersionIdMixInBase
- Sequence
- Sequence
- SequenceMixIn
- ProtoVersionId1MixIn
- Sequence
- RecordTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
- SequenceMixIn
- OrderedFixedTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- SimpleAsn1Object
- BerObject
Data and other attributes defined here:
- Pdus = <class pysnmp.proto.v2c.Pdus>
- Response specific selection of applicible PDUs
- fixedComponents = [<class pysnmp.proto.rfc1905.Version>, <class pysnmp.proto.rfc1905.Community>, <class pysnmp.proto.v2c.Pdus>]
Data and other attributes inherited from Message:
- fixedNames = ['version', 'community', 'pdu']
Methods inherited from MessageMixIn:
- apiGenGetCommunity(self)
- apiGenGetPdu(self)
- apiGenGetVersion(self)
- apiGenSetCommunity(self, value)
- apiGenSetPdu(self, value)
Methods inherited from MessageMixIn:
- apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- apiAlphaReply(self, rsp=None)
- Return initialized response message
- match = apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- reply = apiAlphaReply(self, rsp=None)
- Return initialized response message
Methods inherited from MessageMixIn:
- apiAlphaGetCommunity(self)
- apiAlphaGetPdu(self)
- apiAlphaGetVersion(self)
- apiAlphaSetCommunity(self, value)
- apiAlphaSetPdu(self, value)
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
- 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 InformRequest(Message, _RequestSpecifics) |
|
Strictly typed v.2c INFORMREQUEST |
|
- Method resolution order:
- InformRequest
- Message
- MessageMixIn
- MessageMixIn
- MessageMixIn
- MessageMixIn
- ProtoVersionId2cMixIn
- ProtoVersionIdMixInBase
- Sequence
- Sequence
- SequenceMixIn
- ProtoVersionId1MixIn
- Sequence
- RecordTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
- SequenceMixIn
- OrderedFixedTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- SimpleAsn1Object
- BerObject
- _RequestSpecifics
Data and other attributes defined here:
- Pdus = <class pysnmp.proto.v2c.Pdus>
- INFORMREQUEST specific selection of applicible PDUs
- fixedComponents = [<class pysnmp.proto.rfc1905.Version>, <class pysnmp.proto.rfc1905.Community>, <class pysnmp.proto.v2c.Pdus>]
Data and other attributes inherited from Message:
- fixedNames = ['version', 'community', 'pdu']
Methods inherited from MessageMixIn:
- apiGenGetCommunity(self)
- apiGenGetPdu(self)
- apiGenGetVersion(self)
- apiGenSetCommunity(self, value)
- apiGenSetPdu(self, value)
Methods inherited from MessageMixIn:
- apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- apiAlphaReply(self, rsp=None)
- Return initialized response message
- match = apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- reply = apiAlphaReply(self, rsp=None)
- Return initialized response message
Methods inherited from MessageMixIn:
- apiAlphaGetCommunity(self)
- apiAlphaGetPdu(self)
- apiAlphaGetVersion(self)
- apiAlphaSetCommunity(self, value)
- apiAlphaSetPdu(self, value)
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
- 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 Report(Message) |
|
Strictly typed v.2c REPORT message |
|
- Method resolution order:
- Report
- Message
- MessageMixIn
- MessageMixIn
- MessageMixIn
- MessageMixIn
- ProtoVersionId2cMixIn
- ProtoVersionIdMixInBase
- Sequence
- Sequence
- SequenceMixIn
- ProtoVersionId1MixIn
- Sequence
- RecordTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
- SequenceMixIn
- OrderedFixedTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- SimpleAsn1Object
- BerObject
Data and other attributes defined here:
- Pdus = <class pysnmp.proto.v2c.Pdus>
- REPORT specific selection of applicible PDUs
- fixedComponents = [<class pysnmp.proto.rfc1905.Version>, <class pysnmp.proto.rfc1905.Community>, <class pysnmp.proto.v2c.Pdus>]
Data and other attributes inherited from Message:
- fixedNames = ['version', 'community', 'pdu']
Methods inherited from MessageMixIn:
- apiGenGetCommunity(self)
- apiGenGetPdu(self)
- apiGenGetVersion(self)
- apiGenSetCommunity(self, value)
- apiGenSetPdu(self, value)
Methods inherited from MessageMixIn:
- apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- apiAlphaReply(self, rsp=None)
- Return initialized response message
- match = apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- reply = apiAlphaReply(self, rsp=None)
- Return initialized response message
Methods inherited from MessageMixIn:
- apiAlphaGetCommunity(self)
- apiAlphaGetPdu(self)
- apiAlphaGetVersion(self)
- apiAlphaSetCommunity(self, value)
- apiAlphaSetPdu(self, value)
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
- 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 Request(Message, _RequestSpecifics) |
|
Strictly typed any v.2c request |
|
- Method resolution order:
- Request
- Message
- MessageMixIn
- MessageMixIn
- MessageMixIn
- MessageMixIn
- ProtoVersionId2cMixIn
- ProtoVersionIdMixInBase
- Sequence
- Sequence
- SequenceMixIn
- ProtoVersionId1MixIn
- Sequence
- RecordTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
- SequenceMixIn
- OrderedFixedTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- SimpleAsn1Object
- BerObject
- _RequestSpecifics
Data and other attributes defined here:
- Pdus = <class pysnmp.proto.v2c.Pdus>
- Request specific selection of applicible PDUs
- fixedComponents = [<class pysnmp.proto.rfc1905.Version>, <class pysnmp.proto.rfc1905.Community>, <class pysnmp.proto.v2c.Pdus>]
Data and other attributes inherited from Message:
- fixedNames = ['version', 'community', 'pdu']
Methods inherited from MessageMixIn:
- apiGenGetCommunity(self)
- apiGenGetPdu(self)
- apiGenGetVersion(self)
- apiGenSetCommunity(self, value)
- apiGenSetPdu(self, value)
Methods inherited from MessageMixIn:
- apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- apiAlphaReply(self, rsp=None)
- Return initialized response message
- match = apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- reply = apiAlphaReply(self, rsp=None)
- Return initialized response message
Methods inherited from MessageMixIn:
- apiAlphaGetCommunity(self)
- apiAlphaGetPdu(self)
- apiAlphaGetVersion(self)
- apiAlphaSetCommunity(self, value)
- apiAlphaSetPdu(self, value)
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
- 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 Response(Message) |
|
Strictly typed v.2c GETREQUEST |
|
- Method resolution order:
- Response
- Message
- MessageMixIn
- MessageMixIn
- MessageMixIn
- MessageMixIn
- ProtoVersionId2cMixIn
- ProtoVersionIdMixInBase
- Sequence
- Sequence
- SequenceMixIn
- ProtoVersionId1MixIn
- Sequence
- RecordTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
- SequenceMixIn
- OrderedFixedTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- SimpleAsn1Object
- BerObject
Data and other attributes defined here:
- Pdus = <class pysnmp.proto.v2c.Pdus>
- Response specific selection of applicible PDUs
- fixedComponents = [<class pysnmp.proto.rfc1905.Version>, <class pysnmp.proto.rfc1905.Community>, <class pysnmp.proto.v2c.Pdus>]
Data and other attributes inherited from Message:
- fixedNames = ['version', 'community', 'pdu']
Methods inherited from MessageMixIn:
- apiGenGetCommunity(self)
- apiGenGetPdu(self)
- apiGenGetVersion(self)
- apiGenSetCommunity(self, value)
- apiGenSetPdu(self, value)
Methods inherited from MessageMixIn:
- apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- apiAlphaReply(self, rsp=None)
- Return initialized response message
- match = apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- reply = apiAlphaReply(self, rsp=None)
- Return initialized response message
Methods inherited from MessageMixIn:
- apiAlphaGetCommunity(self)
- apiAlphaGetPdu(self)
- apiAlphaGetVersion(self)
- apiAlphaSetCommunity(self, value)
- apiAlphaSetPdu(self, value)
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
- 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 SetRequest(Message, _RequestSpecifics) |
|
Strictly typed v.2c SETREQUEST |
|
- Method resolution order:
- SetRequest
- Message
- MessageMixIn
- MessageMixIn
- MessageMixIn
- MessageMixIn
- ProtoVersionId2cMixIn
- ProtoVersionIdMixInBase
- Sequence
- Sequence
- SequenceMixIn
- ProtoVersionId1MixIn
- Sequence
- RecordTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
- SequenceMixIn
- OrderedFixedTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- SimpleAsn1Object
- BerObject
- _RequestSpecifics
Data and other attributes defined here:
- Community = <class pysnmp.proto.v2c.Community>
- SETREQUEST specific community name
- Pdus = <class pysnmp.proto.v2c.Pdus>
- SETREQUEST specific selection of applicible PDUs
- fixedComponents = [<class pysnmp.proto.rfc1905.Version>, <class pysnmp.proto.v2c.Community>, <class pysnmp.proto.v2c.Pdus>]
Data and other attributes inherited from Message:
- fixedNames = ['version', 'community', 'pdu']
Methods inherited from MessageMixIn:
- apiGenGetCommunity(self)
- apiGenGetPdu(self)
- apiGenGetVersion(self)
- apiGenSetCommunity(self, value)
- apiGenSetPdu(self, value)
Methods inherited from MessageMixIn:
- apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- apiAlphaReply(self, rsp=None)
- Return initialized response message
- match = apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- reply = apiAlphaReply(self, rsp=None)
- Return initialized response message
Methods inherited from MessageMixIn:
- apiAlphaGetCommunity(self)
- apiAlphaGetPdu(self)
- apiAlphaGetVersion(self)
- apiAlphaSetCommunity(self, value)
- apiAlphaSetPdu(self, value)
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
- 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 SnmpV2Trap(Message) |
|
Strictly typed v.2c SNMPV2TRAP message |
|
- Method resolution order:
- SnmpV2Trap
- Message
- MessageMixIn
- MessageMixIn
- MessageMixIn
- MessageMixIn
- ProtoVersionId2cMixIn
- ProtoVersionIdMixInBase
- Sequence
- Sequence
- SequenceMixIn
- ProtoVersionId1MixIn
- Sequence
- RecordTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
- SequenceMixIn
- OrderedFixedTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- SimpleAsn1Object
- BerObject
Data and other attributes defined here:
- Pdus = <class pysnmp.proto.v2c.Pdus>
- SNMPV2TRAP specific selection of applicible PDUs
- fixedComponents = [<class pysnmp.proto.rfc1905.Version>, <class pysnmp.proto.rfc1905.Community>, <class pysnmp.proto.v2c.Pdus>]
Data and other attributes inherited from Message:
- fixedNames = ['version', 'community', 'pdu']
Methods inherited from MessageMixIn:
- apiGenGetCommunity(self)
- apiGenGetPdu(self)
- apiGenGetVersion(self)
- apiGenSetCommunity(self, value)
- apiGenSetPdu(self, value)
Methods inherited from MessageMixIn:
- apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- apiAlphaReply(self, rsp=None)
- Return initialized response message
- match = apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- reply = apiAlphaReply(self, rsp=None)
- Return initialized response message
Methods inherited from MessageMixIn:
- apiAlphaGetCommunity(self)
- apiAlphaGetPdu(self)
- apiAlphaGetVersion(self)
- apiAlphaSetCommunity(self, value)
- apiAlphaSetPdu(self, value)
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
- 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
|
Trap = class SnmpV2Trap(Message) |
|
Strictly typed v.2c SNMPV2TRAP message |
|
- Method resolution order:
- SnmpV2Trap
- Message
- MessageMixIn
- MessageMixIn
- MessageMixIn
- MessageMixIn
- ProtoVersionId2cMixIn
- ProtoVersionIdMixInBase
- Sequence
- Sequence
- SequenceMixIn
- ProtoVersionId1MixIn
- Sequence
- RecordTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- Asn1Object
- SequenceMixIn
- OrderedFixedTypeAsn1Object
- FixedTypeAsn1Object
- StructuredAsn1Object
- SimpleAsn1Object
- BerObject
Data and other attributes defined here:
- Pdus = <class pysnmp.proto.v2c.Pdus>
- SNMPV2TRAP specific selection of applicible PDUs
- fixedComponents = [<class pysnmp.proto.rfc1905.Version>, <class pysnmp.proto.rfc1905.Community>, <class pysnmp.proto.v2c.Pdus>]
Data and other attributes inherited from Message:
- fixedNames = ['version', 'community', 'pdu']
Methods inherited from MessageMixIn:
- apiGenGetCommunity(self)
- apiGenGetPdu(self)
- apiGenGetVersion(self)
- apiGenSetCommunity(self, value)
- apiGenSetPdu(self, value)
Methods inherited from MessageMixIn:
- apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- apiAlphaReply(self, rsp=None)
- Return initialized response message
- match = apiAlphaMatch(self, rsp)
- Return true if response message matches this request
- reply = apiAlphaReply(self, rsp=None)
- Return initialized response message
Methods inherited from MessageMixIn:
- apiAlphaGetCommunity(self)
- apiAlphaGetPdu(self)
- apiAlphaGetVersion(self)
- apiAlphaSetCommunity(self, value)
- apiAlphaSetPdu(self, value)
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
- 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 _RequestPduSpecifics |
|
Request PDU specific |
|
Methods defined here:
- match(self, rspPdu)
- Return true if response PDU matches request PDU
- reply(self, **kwargs)
- Build and return a response PDU from this request PDU
Data and other attributes defined here:
- ErrorIndex = <class pysnmp.proto.v2c.ErrorIndex>
- Request-specific PDU error index
- ErrorStatus = <class pysnmp.proto.v2c.ErrorStatus>
- Request-specific PDU error status
|
class _RequestSpecifics |
|
Request-specific methods |
|
Methods defined here:
- match(self, rsp)
- Return true if response message matches this request message
- reply(self, **kwargs)
- Create v.2c RESPONSE message from this request message
| |