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: Yee-Ting Li <>
  • To: Loukik Kudarimoti <>
  • Cc: Nina Jeliazkova <>, , Jason Zurawski <>
  • Subject: Re: [pS-dev] xml request examples
  • Date: Wed, 14 Feb 2007 09:54:28 -0800

Hi all,

thanks for the quick response! i think i have plenty to study for now ;)

i've noticed that the wiki is 'littered' with very old spec xml files, and i found it rather confusing as none of them seemed to work!

are there higher level documents describing the overall structure/ method of the xml files? ie like lists of message types, event types to use etc?

Nina: yes, i was playing around with perfsonarui and i found the playground very useful :) in as much as none of the examples on the wiki worked! ;)

many thanks,

Yee.

On 14 Feb 2007, at 02:49, Loukik Kudarimoti wrote:

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