Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] owamp and bwctl mp services

Subject: perfsonar development work

List archive

Re: [pS-dev] owamp and bwctl mp services


Chronological Thread 
  • From: Hakan Calim <>
  • To:
  • Cc: ,
  • Subject: Re: [pS-dev] owamp and bwctl mp services
  • Date: Thu, 02 Sep 2010 10:45:23 +0200

Hi Jason,

regarding NMWG schemas, are you responsible for this or another person?
Do you know the difference between MetadataKeyRequest, and
SetupDataRequest? The result measurement data filled in the datum field
of a response message for example:

<nmwg:data id="1" metadataIdRef="meta1">
<datum xmlns="owamp" lost_percent="0.000%" number_of_packets="33"
duplicate_packets="0" lost_packets="0"/>
<datum xmlns="owamp" delay_units="ms" error_units="ms"
error="0.0562" delay_max="1.27" delay_med="0.1" delay_min="-0.0868"/>
<datum xmlns="owamp" lost_percent="0.000%" number_of_packets="33"
duplicate_packets="0" lost_packets="0"/>
<datum xmlns="owamp" delay_units="ms" error_units="ms"
error="0.0562" delay_med="0.3" delay_max="11" delay_min="0.218"/>
</nmwg:data>

Where I can find defintions or schemas for this part? Im not sure how to
present this data. Regarding OWAMP there are more output formats
possible like raw data or machine read. Do you have any ideas?

Thanks + regards
Hakan

Jason Zurawski schrieb:
> Hi Hakan;
>
> Did you examine the file before sending it that service? Note that it
> is provided as an example, and not as a direct request that will work
> on any deployed instance. You will need to edit the file to work with
> the measurement data that is available in the target MA.
>
> Thanks;
>
> -jason
>
>
> On 8/30/10 12:30 PM, Hakan Calim wrote:
>> Hi Jason,
>>
>> I try to execute following command:
>> perl client.pl http://sunn-pt1.es.net:8085/perfSONAR_PS/services/pSB
>> ../etc/requests/SetupDataRequest-bwctl.xml
>>
>> I get the following response:
>>
>> <?xml version="1.0"?>
>> <SOAP-ENV:Envelope
>> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
>> <SOAP-ENV:Header/>
>> <SOAP-ENV:Body>
>> <nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
>> messageIdRef="setupDataRequest1" id="message.9365640"
>> type="SetupDataResponse"><nmwg:metadata metadataIdRef="meta1"
>> id="metadata.4245772"><nmwg:eventType>error.ma.storage</nmwg:eventType></nmwg:metadata><nmwg:data
>>
>> metadataIdRef="metadata.4245772" id="data.14305646"><nmwgr:datum
>> xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>Database
>> "/usr/local/esnet/perfSONAR/var/pSB-store.xml" returned 0 results for
>> search</nmwgr:datum></nmwg:data><nmwg:metadata metadataIdRef="meta2c"
>> id="metadata.14862485"><nmwg:eventType>error.ma.storage</nmwg:eventType></nmwg:metadata><nmwg:data
>>
>> metadataIdRef="metadata.14862485" id="data.7814291"><nmwgr:datum
>> xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>Database
>> "/usr/local/esnet/perfSONAR/var/pSB-store.xml" returned 0 results for
>> search</nmwgr:datum></nmwg:data><nmwg:metadata metadataIdRef="meta3"
>> id="metadata.5911648"><nmwg:eventType>error.ma.storage_result</nmwg:eventType></nmwg:metadata><nmwg:data
>>
>> metadataIdRef="metadata.5911648" id="data.3008178"><nmwgr:datum
>> xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>Key error in metadata
>> storage: cannot find 'maKey' in request
>> message.</nmwgr:datum></nmwg:data><nmwg:metadata metadataIdRef="meta4c"
>> id="metadata.7870560"><nmwg:eventType>error.ma.storage_result</nmwg:eventType></nmwg:metadata><nmwg:data
>>
>> metadataIdRef="metadata.7870560" id="data.13593011"><nmwgr:datum
>> xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>Key error in metadata
>> storage: cannot find 'maKey' in request
>> message.</nmwgr:datum></nmwg:data><nmwg:metadata metadataIdRef="meta5"
>> id="metadata.10784280"><nmwg:eventType>error.ma.storage_result</nmwg:eventType></nmwg:metadata><nmwg:data
>>
>> metadataIdRef="metadata.10784280" id="data.7722945"><nmwgr:datum
>> xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>Key error in metadata
>> storage: cannot find 'maKey' in request
>> message.</nmwgr:datum></nmwg:data></nmwg:message> </SOAP-ENV:Body>
>> </SOAP-ENV:Envelope>
>>
>> Why I get this? It is possible to get measurement data for bwctl with
>> BUOY?
>>
>> regards,
>> Hakan
>>
>>
>>
>>
>> Jason Zurawski schrieb:
>>> On 8/25/10 3:02 AM, Hakan Calim wrote:
>>>> Hello,
>>>>
>>>> Im Hakan responsible for the development of oppd (open PERL perfSONAR
>>>> daemon). At the moment I develop the services OWAMP MP and BWCTL MP.
>>>> Regarding this development my questions are:
>>>>
>>>> 1. Are tools in perfSONAR_pS toolkit availible for doing measurements
>>>> with NMWG request message and owamp or bwctl?
>>>
>>> Yes, the perfSONAR-BUOY MA stores both OWAMP and BWCTL data.
>>>
>>>> 2. Are test hosts availible with this tools?
>>>
>>> Use the Lookup Service Infrastructure, click the 'PSB_BWCTL Service'
>>> or 'PSB_OWAMP Service' links:
>>>
>>> http://www.perfsonar.net/activeServices/
>>>
>>>> 3. If this tools are availible, who is responsible for the
>>>> developing of
>>>> this tools.
>>>
>>> The perfSONAR-PS project maintains this tool
>>>
>>>> 4. Where I can get NMWG Response message examples for bwctl and owamp?
>>>
>>> These are in our svn:
>>>
>>> http://anonsvn.internet2.edu/svn/perfSONAR-PS/trunk/perfSONAR_PS-perfSONARBUOY/etc/requests/
>>>
>>>
>>>
>>> Thanks;
>>>
>>> -jason


--
Dipl.-Inf. Hakan Calim, DFN-Labor
Friedrich-Alexander-Universität Erlangen-Nürnberg
Regionales RechenZentrum Erlangen (RRZE)
Martensstraße 1, 91058 Erlangen, Germany
Tel. +49 9131 85-28148, Fax +49 9131 302941

www.win-labor.dfn.de




Archive powered by MHonArc 2.6.16.

Top of Page