Hi Dev, Many thanks for your answer. Suppose I want to create two rows for two different tables in a single SNMPSET request. But the handler (CREAT AND GO) for two different rows will be different. Suppose the second creation fails. Now how we can delete the first row? As execution of first handler is finished. Is there any way to return back to the first handler?
Regards, Somenath -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Friday, October 06, 2006 2:36 PM To: Somenath Pal (WT01 - Broadband Networks) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Multiple row creation On 06/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks for your response. But suppose one create (SNMPSET) success and > one create (SNMPSET) request fails Are these two separate SNMP SET requests, or two row creation assignments, bundled within a single SNMP SET request? I'm assuming the latter (given your original question), but this phrasing tends to imply the former. > then do we need to delete the first > row as SET request is atomic? Yes - assuming this is a single SNMP SET request. That's exactly right. If the SET request fails, then neither row should be created. Of course, if the two rows are created using two separate SET requests, then it's perfectly valid for one creation to succeed, and the other to fail. But if you're putting both creation assignments into the same SET request, then they must stand or fall together. Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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