Skip to Content.
Sympa Menu

perfsonar-dev - PingER services and schemas

Subject: perfsonar development work

List archive

PingER services and schemas


Chronological Thread 
  • From: Yee-Ting Li <>
  • To: ,
  • Cc: maxim <>, Les Cottrell <>, Warren Matthews <>
  • Subject: PingER services and schemas
  • Date: Fri, 25 May 2007 16:17:43 -0700

Hi,

we're in the process of defining a schema for our PingER suite which we plan to use for digital divide measurements and lhc-opn performance measurements. the PingER suite is basically a statistical subset of ping measurements.

We would like the ability to be able to query for statistical information as part of the xml document; ie using the 'select' namespace. unfortunately, the example schemas in the perfsonar svn do not answer my questions wholly.

so from the examples, we can define a metadata block with:

<select:parameters id="#select1">
<nmwg:parameter name="timeValue">
<nmwg:parameter name="lessThan">1107492207</nmwg:parameter>
</nmwg:parameter>
</select:parameters>

so, i would be interested in something like:

<select:parameters id="#select2">
<nmwg:parameter name="minRtt">
<nmwg:parameter name="lessThan">5.0</nmwg:parameter>
</nmwg:parameter>
</select:parameters>

Assuming that we have a schema in place for the pinger info such that:

PingERDatum =
element pinger:datum {
attribute name { "minRtt" | "maxRtt" | "meanRtt" | "medianRtt" |
"lossPercent" |
"minIpd" | "maxIpd" | "ipdv" | "duplicatePercent" } &
attribute value { xsd:float } &
attribute valueUnits { xsd:string }? &
(
(
attribute timeType { xsd:string } &
attribute timeValue { xsd:string }
) |
Time
)?
}

how does one map the selected parameter 'name' (minRtt) to that of the datum where

<nmwg:data>
<pinger:datum name="minRtt" value="4.9" valueUnits="msec"/>
</nmwg:data>

ie how does one know that the minRtt in the select statement refers to the above element? where is the namespace mapping? how can i qualify the select with the attribute 'valueUnits's value?


Thanks,

Yee.



Archive powered by MHonArc 2.6.16.

Top of Page