[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

6418.0. "SNMP Set command verifies the success?" by ATLBOO::ADAMS (Hope I die before I get old) Thu Jan 11 1996 23:01

I believe I read this somewhere, but now cannot find it in the doc set or notes files.

When I do an SNMP Set command, is the result explicitly verified by performing a separate 
Get command?
The output seems to indicate this, by using the word 'Examination':

TeMIP> set SNMP LOCAL_NS:.snmp_toski1 Location home

SNMP LOCAL_NS:.snmp_toski1
On director: LOCAL_NS:.temip.toski1_director
AT 1996-01-11-21:59:32.916I----- References

Examination of Attributes Shows
                               Location = "home"
T.RTitleUserPersonal
Name
DateLines
6418.1SNMP Set command verifies the success?TAEC::HOUALFri Jan 12 1996 16:3727
Hello,
The SNMP access module follows the standard, that means
perform the SNMP command SET:
in all case the get-response is returned, that means:

- if the instance doesn't exist,
  a get-response is returned with error noSuchName

- if the instance does exist but doesm't permit writing,
  a get-reponse is returned with error readOnly

- if the instance exists and permits writing, but
  the value supplied in the request is poorly-formed
  (wrong syntax) or poorly-valued (range error), a 
  get-reponse is returned with error badValue

=> otherwise, all of the variables are updated simultaneously,
   and a get-reponse is returned identical to the request.

So, you will understand that the SNMP AM doesn't need
to perform the SNMP command GET which would give the same info
as the get-reponse above...

Best regards,
Beatrice.
 
6418.2Thanks, and one last word on the matter...ATLBOO::ADAMSHope I die before I get oldFri Jan 12 1996 17:0913
Ah, now I recall that I read this in the standard, not in the TeMIP docs.

=> otherwise, all of the variables are updated simultaneously,
   and a get-reponse is returned identical to the request.

So, the use of the term 'get-response' would indicate that the agent is required
to perform the exact semantics as if a GET were issued.
So a proper agent would actually read its' variables and return the values.
Let's hope the 'simple' agents do not just conveniently return the same SET buffer.

thanks.