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

An implementation of high-level API to SNMP v.2c message PDU objects
(RFC1905)
 
Copyright 1999-2004 by Ilya Etingof <ilya@glas.net>. See LICENSE for
details.

 
Modules
       
pysnmp.proto.api.error
pysnmp.proto.api.alpha.rfc1157
pysnmp.proto.rfc1905

 
Classes
       
MessageMixIn
MessageMixIn
MessageMixIn
PduMixInBase
PduMixInBase
ReportPduMixIn
RequestPduMixIn(PduMixInBase, RequestPduMixIn)
GetBulkRequestPduMixIn
GetNextRequestPduMixIn
GetRequestPduMixIn
InformRequestPduMixIn
ResponsePduMixIn(RequestPduMixIn, GetResponsePduMixIn)
ResponsePduMixIn(RequestPduMixIn, GetResponsePduMixIn)
SetRequestPduMixIn
SnmpV2TrapPduMixIn
VarBindMixIn
VarBindMixIn

 
class GetBulkRequestPduMixIn(RequestPduMixIn)
    
Method resolution order:
GetBulkRequestPduMixIn
RequestPduMixIn
PduMixInBase
PduMixInBase
RequestPduMixIn

Methods defined here:
apiAlphaGetMaxRepetitions(self)
apiAlphaGetNonRepeaters(self)
apiAlphaGetTableIndices(self, rsp, *headerVars)
apiAlphaSetMaxRepetitions(self, value)
apiAlphaSetNonRepeaters(self, value)

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

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

Methods inherited from PduMixInBase:
apiAlphaGetVarBindList(self)

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

 
class GetNextRequestPduMixIn(RequestPduMixIn)
    
Method resolution order:
GetNextRequestPduMixIn
RequestPduMixIn
PduMixInBase
PduMixInBase
RequestPduMixIn

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

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

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

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

 
class GetRequestPduMixIn(RequestPduMixIn)
    # Request PDU mix-ins
 
 
Method resolution order:
GetRequestPduMixIn
RequestPduMixIn
PduMixInBase
PduMixInBase
RequestPduMixIn

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

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

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

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

 
GetResponsePduMixIn = class ResponsePduMixIn(RequestPduMixIn, GetResponsePduMixIn)
    
Method resolution order:
ResponsePduMixIn
RequestPduMixIn
PduMixInBase
PduMixInBase
RequestPduMixIn
GetResponsePduMixIn

Methods defined here:
apiAlphaGetEndOfMibIndices(self)
apiAlphaSetEndOfMibIndices(self, *indices)

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

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

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

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

Methods inherited from GetResponsePduMixIn:
apiAlphaGetErrorIndex(self)
apiAlphaGetErrorStatus(self)
apiAlphaSetErrorIndex(self, value)
apiAlphaSetErrorStatus(self, value)

 
class InformRequestPduMixIn(RequestPduMixIn)
    
Method resolution order:
InformRequestPduMixIn
RequestPduMixIn
PduMixInBase
PduMixInBase
RequestPduMixIn

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

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

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

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

 
class MessageMixIn(MessageMixIn)
     Methods defined here:
apiAlphaMatch(self, rsp)
Return true if response message matches this request
apiAlphaReply(self, rsp=None)
Return initialized response message
match = apiAlphaMatch(self, rsp)
reply = apiAlphaReply(self, rsp=None)

Methods inherited from MessageMixIn:
apiAlphaGetCommunity(self)
apiAlphaGetPdu(self)
apiAlphaGetVersion(self)
apiAlphaSetCommunity(self, value)
apiAlphaSetPdu(self, value)

 
class PduMixInBase(PduMixInBase)
     Methods defined here:
apiAlphaSetVarBindList(self, *varBinds)

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

 
class ReportPduMixIn(PduMixInBase)
    
Method resolution order:
ReportPduMixIn
PduMixInBase
PduMixInBase

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

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

 
class RequestPduMixIn(PduMixInBase, RequestPduMixIn)
    
Method resolution order:
RequestPduMixIn
PduMixInBase
PduMixInBase
RequestPduMixIn

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

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

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

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

 
class ResponsePduMixIn(RequestPduMixIn, GetResponsePduMixIn)
    
Method resolution order:
ResponsePduMixIn
RequestPduMixIn
PduMixInBase
PduMixInBase
RequestPduMixIn
GetResponsePduMixIn

Methods defined here:
apiAlphaGetEndOfMibIndices(self)
apiAlphaSetEndOfMibIndices(self, *indices)

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

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

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

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

Methods inherited from GetResponsePduMixIn:
apiAlphaGetErrorIndex(self)
apiAlphaGetErrorStatus(self)
apiAlphaSetErrorIndex(self, value)
apiAlphaSetErrorStatus(self, value)

 
class SetRequestPduMixIn(RequestPduMixIn)
    
Method resolution order:
SetRequestPduMixIn
RequestPduMixIn
PduMixInBase
PduMixInBase
RequestPduMixIn

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

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

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

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

 
class SnmpV2TrapPduMixIn(PduMixInBase)
    
Method resolution order:
SnmpV2TrapPduMixIn
PduMixInBase
PduMixInBase

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

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

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

 
mixIn = class MessageMixIn(MessageMixIn)
     Methods defined here:
apiAlphaMatch(self, rsp)
Return true if response message matches this request
apiAlphaReply(self, rsp=None)
Return initialized response message
match = apiAlphaMatch(self, rsp)
reply = apiAlphaReply(self, rsp=None)

Methods inherited from MessageMixIn:
apiAlphaGetCommunity(self)
apiAlphaGetPdu(self)
apiAlphaGetVersion(self)
apiAlphaSetCommunity(self, value)
apiAlphaSetPdu(self, value)

 
Data
        mixInComps = [(<class pysnmp.proto.rfc1905.VarBind>, <class pysnmp.proto.api.alpha.rfc1905.VarBindMixIn>), (<class pysnmp.proto.rfc1905.GetRequestPdu>, <class pysnmp.proto.api.alpha.rfc1905.GetRequestPduMixIn>), (<class pysnmp.proto.rfc1905.GetNextRequestPdu>, <class pysnmp.proto.api.alpha.rfc1905.GetNextRequestPduMixIn>), (<class pysnmp.proto.rfc1905.SetRequestPdu>, <class pysnmp.proto.api.alpha.rfc1905.SetRequestPduMixIn>), (<class pysnmp.proto.rfc1905.ResponsePdu>, <class pysnmp.proto.api.alpha.rfc1905.ResponsePduMixIn>), (<class pysnmp.proto.rfc1905.GetBulkRequestPdu>, <class pysnmp.proto.api.alpha.rfc1905.GetBulkRequestPduMixIn>), (<class pysnmp.proto.rfc1905.InformRequestPdu>, <class pysnmp.proto.api.alpha.rfc1905.InformRequestPduMixIn>), (<class pysnmp.proto.rfc1905.ReportPdu>, <class pysnmp.proto.api.alpha.rfc1905.ReportPduMixIn>), (<class pysnmp.proto.rfc1905.SnmpV2TrapPdu>, <class pysnmp.proto.api.alpha.rfc1905.SnmpV2TrapPduMixIn>), (<class pysnmp.proto.rfc1905.Message>, <class pysnmp.proto.api.alpha.rfc1905.MessageMixIn>)]