Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] xml request examples

Subject: perfsonar development work

List archive

Re: [pS-dev] xml request examples


Chronological Thread 
  • From: "Nina Jeliazkova" <>
  • To: Yee-Ting Li <>,
  • Subject: Re: [pS-dev] xml request examples
  • Date: Wed, 14 Feb 2007 12:38:03 +0200

Hi Yee,

There are some examples on wiki page
http://wiki.perfsonar.net/jra1-wiki/index.php/Measurement_Archive_Protocols

In PerfsonarUI, interface names (and other info) are retrieved by an
empty MetadataKeyRequest.

<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message id="whatever" type="MetadataKeyRequest"
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2.0/";
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";>
<nmwg:metadata id="meta1">
<netutil:subject id="iusub1">
<nmwgt:interface/>
</netutil:subject>
<nmwg:eventType>utilization</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="dataID" metadataIdRef="meta1"/>
</nmwg:message>

You could try it at Playground tab on the perfsonarUI (perfsonar.acad.bg). The
response is MetadataKeyResponse consisting of details defined for all
interfaces of the queried MA.

Hope this helps,
Nina

Yee-Ting Li
<>
wrote:

> hi,
>
> i'm looking for example xml queries to retrieve information from the
> rrd ma's. i'm also looking for example xml for a ls registration and
> lookup.
>
> in particular, how does one know of the interface names on a router
> beforehand in order to generate a full query?
>
> can anyone help point me to the relevant docs/examples?
>
> thanks,
>
> Yee.
>






Archive powered by MHonArc 2.6.16.

Top of Page