Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Re: Self-test triggering/response messages pointer

Subject: perfsonar development work

List archive

Re: [pS-dev] Re: Self-test triggering/response messages pointer


Chronological Thread 
  • From: Aaron Brown <>
  • To: Michael Bischoff <>
  • Cc: Verena Venus <>, , "Luchesar V. ILIEV" <>, Roman Lapacz <>, Szymon Trocha <>, Maciej Glowiak <>, Stijn Melis <>, Cándido Rodríguez Montes <>, Nicolas Simar <>, Domenico Vicinanza <>, perfSONAR developers <>, , "Jeff W. Boote" <>
  • Subject: Re: [pS-dev] Re: Self-test triggering/response messages pointer
  • Date: Mon, 23 Jun 2008 14:45:06 -0400

Michael Bischoff wrote:
Because perfsonar is suppose to be implementation ambiguous you can't use
specific tests
but always have to rely on more abstact test/questions. (is well configured?,
is
operational? etc) The answer should (offcourse) be as specific as possible eg
('something' failed) isn't going to make anything happy.

This is also the reason why my proposal doesn't have to return one value, but
could return
more then one. (errors that is as success(es) need(s) not to be reported back.
I'll add an example that also illustrates that(which I probably should have
added
in the first place, sorry))
There's no reason why this new proposed schema only has to provide 1 return value. You could ask for the generic test and it could spit back the result of a series of tests.

The request in verena's example would be something like:

<nmwg:message id="msg1234" type="EchoRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
<nmwg:metadata id="meta">
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data" metadataIdRef="meta"/>
</nmwg:message>

and the response would have all the subtests it performed as per verena's response:

<nmwg:message id="message1213971959" type="EchoResponse"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; xmlns:result="http://ggf.org/ns/nmwg/result/2.0/";>
<nmwg:metadata id="meta">
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data" metadataIdRef="meta"/>
<nmwg:metadata id="bwctl_command_test">
<result:subject id="subjreturn" metadataIdRef="meta"/>
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/MP/BWCTL/bwctl_command_test/success/1.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data_bwctl_command_test" metadataIdRef="bwctl_command_test">
<nmwg:datum>BWCTL tool /usr/local/bin/bwctl found </nmwg:datum>
</nmwg:data>
<nmwg:metadata id="bwctl_exec_test">
<result:subject id="subjreturn" metadataIdRef="meta"/>
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/MP/BWCTL/bwctl_exec_test/success/1.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data_bwctl_exec_test" metadataIdRef="bwctl_exec_test">
<nmwg:datum>BWCTL tool /usr/local/bin/bwctl executable.</nmwg:datum>
</nmwg:data>
<nmwg:metadata id="bwctld_running_test">
<result:subject id="subjreturn" metadataIdRef="meta"/>
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/MP/BWCTL/bwctld_running_test/error/1.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data_bwctld_running_test" metadataIdRef="bwctld_running_test">
<nmwg:datum>bwctld not running! </nmwg:datum>
</nmwg:data>
<nmwg:metadata id="ntpd_running_test">
<result:subject id="subjreturn" metadataIdRef="meta"/>
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/MP/BWCTL/ntpd_running_test/success/1.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data_ntpd_running_test" metadataIdRef="ntpd_running_test">
<nmwg:datum>ntpd running.</nmwg:datum>
</nmwg:data>
</nmwg:message>

Cheers,
Aaron



Archive powered by MHonArc 2.6.16.

Top of Page