Generic high-level API to SNMP v.2c PDU objects

The pysnmp.proto.api.generic.rfc1905 module implements a set of mix-in classes that provide high-level interface to SNMP v.2c message objects within a unified "Generic" API.

class MessageMixIn()

This is a mix-in for rfc1905.Message class. It defines a few methods (see below) composing high-level API to SNMP v.2c Message-based classes such as v2c.GetRequest, v2c.Trap etc.

class GetRequestPduMixIn()
class GetNextRequestPduMixIn()
class SetRequestPduMixIn()
class InformRequestPduMixIn()
class ReportPduMixIn()
class SnmpV2TrapPduMixIn()

These are the mix-ins for their complementary classes. They define a few methods (see below) composing high-level API to SNMP v.2c GetRequestPdu, GetNextRequestPdu, SetRequestPdu, InformRequestPdu, ReportPdu and SnmpV2TrapPdu objects.

class ResponsePduMixIn()

This's the mix-in for its complementary class. It define a few methods (see below) composing high-level API to SNMP v.2c ResponsePdu objects.

class GetBulkRequestPduMixIn()

This's the mix-in for its complementary class. It define a few methods (see below) composing high-level API to SNMP v.2c GetBulkRequestPdu objects.

Methods of the above classes may raise exceptions based on error.ProtoApiGenError base class.


Subsections


ilya@glas.net