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: Loukik Kudarimoti <>
  • To: Nina Jeliazkova <>
  • Cc: Yee-Ting Li <>,
  • Subject: Re: [pS-dev] xml request examples
  • Date: Wed, 14 Feb 2007 10:49:07 +0000

Also,

The almost "official" ones are in the documents here:

http://anonsvn.internet2.edu/svn/perfsonar/tags/JAVA-RRD-MA-2.0-RC5/doc/ma/rrdTypeMA/
The interface spec. document contains examples and rncs for all protocols supported by rrd ma. There is also a brief description of each example.

Loukik.
ps: This is the documentation manner in which we are trying to get all developers to follow.

Nina Jeliazkova wrote:
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