perfsonar-dev - echo messages
Subject: perfsonar development work
List archive
- From: Roman Lapacz <>
- To:
- Subject: echo messages
- Date: Tue, 05 Sep 2006 14:13:46 +0200
Hi,
today I've introduced new types of messages to ping pS services. Their names are: EchoRequest and EchoResponse. They should be used to monitor pS services. Now the response is very simple message but in the future it may contain the information like: institution name, contact person, etc.
Request:
<nmwg:message type="EchoRequest"
id="id1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
<nmwg:metadata id="meta">
<nmwg:eventType>echo</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data" metadataIdRef="meta"/>
</nmwg:message>
Response:
<nmwg:message type="EchoResponse"
id="id1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/datum/">
<nmwg:metadata id="meta">
<nmwg:eventType>success.echo</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data" metadataIdRef="meta">
<nmwgr:datum>
This is the echo response from the service.
</nmwgr:datum>
</nmwg:data>
</nmwg:message>
The echo functionality is added to the SQL and RRD MA. New snapshots (20060905) are available on the wiki.
To send echo request the following command can be used:
for RRD MA:
ant -f build-rrdma.xml run-echo
for SQL MA
ant -f build-sqlma.xml run-echo
Roman
- echo messages, Roman Lapacz, 09/05/2006
- Re: [pS-dev] echo messages, Roman Lapacz, 09/05/2006
Archive powered by MHonArc 2.6.16.