Lets say I have four fields(columns) in a row.  When the row_prep() routine is 
called I plan on calling four individual API routines (one for each field) to 
get the data to populate into the row.  If the first two API calls return valid 
data, but the third API call has trouble getting the data, then what would you 
recommend would be a "normal" SNMP response to the overall request?

a) set the third field to some init value, try to get the data for the fourth 
data field and then return MFD_SUCCESS from row_prep() 

b) set the third field to some init value, do NOT try to get the data for the 
fourth data field and then return some MFD ERROR response code value from 
row_prep()? 

c) make sure the complete row (all fields) are cleared of data (so the row does 
not have good and bad data populated at once) and return some MFD ERROR 
response code value from row_prep()? 

d) something else perhaps?

If (b) or (c), then will you please indicate what type of error code should be 
returned from row_prep()

if (d), then please explain what "normal" SNMP handling would be in the case 
where all data fields can not be populated with valid data.


 

  
---------------------------------
Looking for earth-friendly autos? 
 Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.  
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to