perfsonar-user - Re: [perfsonar-user] A problem with client.pl and xml schema
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Jason Zurawski <>
- To:
- Cc: , Prasad Calyam <>
- Subject: Re: [perfsonar-user] A problem with client.pl and xml schema
- Date: Thu, 21 Jan 2010 15:05:18 -0500
- Organization: Internet2
Hello;
On 1/21/10 2:52 PM,
wrote:
Prasad,
I tried to fetch BWCTL data from the following MA
http://stats1.es.net/cgi-bin/bandwidthGraph.cgi?url=http://anl-pt1-mgt.es.net:8085/perfSONAR_PS/services/pSB&key=ab16452c638206e3f4a60e4364b14d3f&key2=ccd09988bcc5ac6a5df65b47e92768fd&dst=198.124.252.141&src=198.124.252.117&dhost=chic-pt1.es.net&shost=anl-pt1.es.net&type=TCP&length=186400
I modified the http://stats1.es.net/sample_requests/sample_BWCTL_request.xml
src=anl-pt1.es.net
dst=chic-pt1.es.net
And add the time range accordingly
<nmwg:parameter name="startTime">1263902400</nmwg:parameter>
<nmwg:parameter name="endTime">1264075200</nmwg:parameter>
I run:
./client.pl http://anl-pt1.es.net:8085/perfSONAR_PS/services/pSB
sample_BWCTL_request.xml
It gives me :
Database "/usr/local/esnet/perfSONAR/var/pSB-store.xml" returned 0 results
for search.
It's certain there's data on server with that time range.
Where is the problem?
Try using IPv4 addresses:
<nmwg:metadata id="meta2" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
<nmwg:subject>
<nmwgt:endPointPair xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
<nmwgt:src type="ipv4" value="198.124.252.117"/>
<nmwgt:dst type="ipv4" value="198.124.252.141"/>
</nmwgt:endPointPair>
</nmwg:subject>
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/iperf/2.0</nmwg:eventType>
<nmwg:parameters id="p-in-netutil-1">
<nmwg:parameter name="supportedEventType">http://ggf.org/ns/nmwg/tools/iperf/2.0</nmwg:parameter>
</nmwg:parameters>
</nmwg:metadata>
<nmwg:metadata id="meta2c" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
<select:subject id="sub2c" metadataIdRef="meta2" xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/"/>
<select:parameters id="param2c" xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
<nmwg:parameter name="startTime">1263902400</nmwg:parameter>
<nmwg:parameter name="endTime">1264075200</nmwg:parameter>
</select:parameters>
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data2" metadataIdRef="meta2c" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"/>
This request just worked in my testing.
Thanks;
-jason
- A problem with client.pl and xml schema, jpu, 01/21/2010
- Re: [perfsonar-user] A problem with client.pl and xml schema, Jason Zurawski, 01/21/2010
Archive powered by MHonArc 2.6.16.