LINK="#0000bb" VLINK="#551a8b" ALINK="#ff0000">
The pysnmp.proto.rfc1157 module implements data structures and operations on them as defined by the RFC 1157.
Instances of this class represent SNMP message version object. This is a subclass of rfc1155.Integer class, with the following deviations from the base class:
The default value for Version object is 0.
Instances of this class represent SNMP message community name object. This is a subclass of rfc1155.OctetString.
The default value for Community object is "public".
Instances of this class represent SNMP PDU request ID object. This is a subclass of rfc1155.Integer class, with the following deviations from the base class:
Instances of this class represent SNMP PDU error status object. This is a subclass of rfc1155.Integer class, with additional methods (see below) and the following deviations from the base class:
The default value for ErrorStatus object is 0.
Instances of this class represent SNMP PDU error index object. This is a subclass of rfc1155.Integer class.
The default value for ErrorIndex object is 0.
Instances of this class represent SNMP PDU variable binding object. This is a subclass of rfc1155.Sequence class, with the following deviations from the base class:
Instances of this class represent SNMP PDU variable bindings object. This is a subclass of rfc1155.SequenceOf class, with the following deviations from the base class:
Instances of this class represent SNMP Get request PDU object. This is a subclass of rfc1155.Sequence class, with the following deviations from the base class:
Instances of this class represent SNMP GetNext request PDU object. This class only differs from the GetRequestPdu class by its ASN.1 tag.
Instances of this class represent SNMP Set request PDU object. This class only differs from the GetRequestPdu class by its ASN.1 tag.
Instances of this class represent SNMP Get response PDU object. This class only differs from the GetRequestPdu class by its ASN.1 tag.
Instances of this class represent a variety of allowed SNMP PDU types. This is a subclass of rfc1155.Choice class, with the following deviations from the base class:
Instances of this class represent SNMP message object. This is a subclass of rfc1155.Sequence class, with the following deviations from the base class:
The following classes implement SNMP Trap-specific items
Instances of this class represent SNMP Trap PDU enterprise Object ID object. This is a subclass of rfc1155.ObjectIdentifier class.
The default value for Enterprise object is '1.3.6.1.1.2.3.4.1'.
Instances of this class represent SNMP Trap PDU agent address object. This is a subclass of rfc1155.NetworkAddress class.
Instances of this class represent SNMP Trap PDU generic trap object. This is a subclass of rfc1155.Integer class, with additional methods (see below) and the following deviations from the base class:
The default value for GenericTrap object is 0.
Instances of this class represent SNMP Trap PDU specific trap object. This is a subclass of rfc1155.Integer class.
The default value for SpecificTrap object is 0.
Instances of this class represent SNMP Trap PDU time stamp object. This is a subclass of rfc1155.TimeTicks class.
The default value for TimeStamp object is time.time()*100.
Instances of this class represent SNMP Trap PDU object. This is a subclass of rfc1155.Sequence class, with the following deviations from the base class: