Re: [Pysnmp-dev] oneliners
Brought to you by:
elie
From: Ilya E. <il...@gl...> - 2005-11-30 18:06:06
|
> Do these only apply to v3 arch - I see there is an > examples\v3arch\oneliner directory but no examples\v1arch\oneliner > directory? As of this writing, there's no very-high-level API (AKA one-liner) to SNMPv1/v2c architecture. Though, it is planned for implementation. > However the scripts in examples\v1arch\manager are 'Command generator > application' scripts according to the comments in the script. That's right. In pysnmp, there are several API layers -- there is a low-level one, which follows SNMP architecture as specified in RFCs. The others are more high-level and pythonic. These examples\v1arch\ scripts are written over the highest-level API currently available for SNMPv1/v2c arch (which is high-level API to SNMP message objects). > I want to use a v2c compliant script to create table entries in a node > that is v3 compliant. I'm not quite certain what your aim is. Are you going to manage some SNMPv3-complient SNMP agent with SNMPv2c SNMP manager? Please, clarify. In fact, SNMPv2c & SNMPv3 uses the same SMI model which is SMIv2. The bottom line is that with SNMPv3 architecture of pysnmp (pysnmp-4.x) you could talk to SNMP engine of any architecture, as there is an internal SNMP proxy inside SNMPv3 arch of pysnmp doing protocol & SMI translations behind the scene. -ilya |