> From: chandan [mailto:chandan.b...@globaledgesoft.com] 
> Sent: Monday, May 25, 2009 1:50 AM

> Consider the following MIB table definition:
> 
> 1. TableIndex (integer)
> 2. TableAddrType (InetAddressType)
> 3. TableAddr (InetAddress)
> 4. TableRowStatus (Rowstatus)
> 
> The following condition applies to each conceptual row of the table:
> "If TableRowStatus is set to Active, TableAddrType MUST not 
> be modified".
> 
> Consider the following conceptual row of the table
> 1. TableIndex  = 1
> 2. TableAddrType = IPv4
> 3. TableAddr = Some valid IPv4 address
> 4. TableRowStatus = Active
> 
>  In this scenario should the following SET operation succeed or fail?
> snmpset TableAddrType.1=IPv6   TableAddr="some valid IPv6 address" 
> TableRowStatus=NOT_IN_SERVICE.

        Succeed.  All varbinds in a set request should be treated as occuring 
simultaneously.  Therefore you must, in your prepare phase for the address, 
always accept without regard to the status of the row, failing only in the 
commit phase.  Naturally, you need to have rollback handlers for all your 
objects.

        I'm not completely sure I'm using the correct terminology for net-snmp.


        HTH,

Mike

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to