perfsonar-dev - [pS-dev] [GEANT/SA2/SA2T3-OPPD] r700 - trunk/lib/NMWG/examples/2.0
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: [pS-dev] [GEANT/SA2/SA2T3-OPPD] r700 - trunk/lib/NMWG/examples/2.0
- Date: Wed, 13 Apr 2011 12:15:13 +0100
Author: dfn.calim
Date: 2011-04-13 12:15:13 +0100 (Wed, 13 Apr 2011)
New Revision: 700
Added:
trunk/lib/NMWG/examples/2.0/SetupDataRequest-01-owamp.xml
trunk/lib/NMWG/examples/2.0/SetupDataRequest-02-owamp.xml
trunk/lib/NMWG/examples/2.0/SetupDataRequest-03-owamp.xml
trunk/lib/NMWG/examples/2.0/SetupDataResponse-01-owamp.xml
trunk/lib/NMWG/examples/2.0/SetupDataResponse-02-owamp.xml
trunk/lib/NMWG/examples/2.0/SetupDataResponse-03-owamp.xml
Removed:
trunk/lib/NMWG/examples/2.0/owping-req.xml
Log:
add new OWAMP examples
Copied: trunk/lib/NMWG/examples/2.0/SetupDataRequest-01-owamp.xml (from rev
688, trunk/tools/perfSONAR-client/owamp-raw-req-01.xml)
===================================================================
--- trunk/lib/NMWG/examples/2.0/SetupDataRequest-01-owamp.xml
(rev 0)
+++ trunk/lib/NMWG/examples/2.0/SetupDataRequest-01-owamp.xml 2011-04-13
11:15:13 UTC (rev 700)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This request triggers the following command on the host:
+ owping -S 131.188.81.234 -c 10 -s 10 -R -t 198.124.252.101
+ This is a example to get raw data from the measurement
+ For details of response look at: SetupDataResponse-01-owamp.xml
+-->
+<nmwg:message type="SetupDataRequest"
+ id="datarq2-1"
+ xmlns="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+
xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/"
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
+ xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <owamp:subject id="subj1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="131.188.81.234"/> <!-- The host
where is OWAMP M -->
+ <nmwgt:dst type="ipv4" value="198.124.252.101"/> <!--
destination host -->
+ </nmwgt:endPointPair>
+ </owamp:subject>
+
+ <nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
+ <nmwg:parameters id="param1">
+ <nmwg:parameter name="count" value="10"/>
+ <nmwg:parameter name="size" value="10"/>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <!-- triggers to indicate head of chains -->
+ <nmwg:data id="1" metadataIdRef="meta1"/>
+
+</nmwg:message>
Copied: trunk/lib/NMWG/examples/2.0/SetupDataRequest-02-owamp.xml (from rev
688, trunk/tools/perfSONAR-client/owamp-raw-req-01.xml)
===================================================================
--- trunk/lib/NMWG/examples/2.0/SetupDataRequest-02-owamp.xml
(rev 0)
+++ trunk/lib/NMWG/examples/2.0/SetupDataRequest-02-owamp.xml 2011-04-13
11:15:13 UTC (rev 700)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This request triggers the following command on the host:
+ owping -S 131.188.81.234 -c 10 -s 10 -t 198.124.252.101
+ This call requests a summary of the measurement.
+ For details of the response have a look to the file:
SetupDataResponse-02-owamp.xml
+-->
+<nmwg:message type="SetupDataRequest"
+ id="datarq2-1"
+ xmlns="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+
xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/"
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
+ xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <perfsonar:subject id="subj1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="131.188.81.234"/> <!-- The host
where is OWAMP M -->
+ <nmwgt:dst type="ipv4" value="198.124.252.101"/> <!--
destination host -->
+ </nmwgt:endPointPair>
+ </perfsonar:subject>
+
+ <nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
+ <nmwg:parameters id="param1">
+ <nmwg:parameter name="count" value="10"/>
+ <nmwg:parameter name="size" value="10"/>
+ <nmwg:parameter name="output" value="summary"/>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <!-- triggers to indicate head of chains -->
+ <nmwg:data id="1" metadataIdRef="meta1"/>
+
+</nmwg:message>
Added: trunk/lib/NMWG/examples/2.0/SetupDataRequest-03-owamp.xml
===================================================================
--- trunk/lib/NMWG/examples/2.0/SetupDataRequest-03-owamp.xml
(rev 0)
+++ trunk/lib/NMWG/examples/2.0/SetupDataRequest-03-owamp.xml 2011-04-13
11:15:13 UTC (rev 700)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- owping can only start measurment from localhost to destination.
+ If you have a access to the interface by owamp control so you can use
+ -S option by given the destination address.
+ Otherwise you get a error response like below.
+-->
+<nmwg:message type="SetupDataRequest"
+ id="datarq2-1"
+ xmlns="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+
xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/"
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
+ xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
+
+ <nmwg:metadata id="meta1">
+ <perfsonar:subject id="subj1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="131.188.81.24"/> <!-- The host
where is OWAMP M -->
+ <nmwgt:dst type="ipv4" value="198.124.252.101"/> <!--
destination host -->
+ </nmwgt:endPointPair>
+ </perfsonar:subject>
+
+ <nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
+ <nmwg:parameters id="param1">
+ <nmwg:parameter name="count" value="10"/>
+ <nmwg:parameter name="size" value="10"/>
+ <nmwg:parameter name="output" value="summary"/>
+ </nmwg:parameters>
+ </nmwg:metadata>
+
+ <!-- triggers to indicate head of chains -->
+ <nmwg:data id="1" metadataIdRef="meta1"/>
+
+</nmwg:message>
Added: trunk/lib/NMWG/examples/2.0/SetupDataResponse-01-owamp.xml
===================================================================
--- trunk/lib/NMWG/examples/2.0/SetupDataResponse-01-owamp.xml
(rev 0)
+++ trunk/lib/NMWG/examples/2.0/SetupDataResponse-01-owamp.xml 2011-04-13
11:15:13 UTC (rev 700)
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<nmwg:message id="datarq2-1" type="SetupDataResponse"
+ xmlns="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/"
+ xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
+ <nmwg:metadata id="meta1">
+ <perfsonar:subject id="subj1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="131.188.81.234"/>
+ <!-- The host where is OWAMP M -->
+ <nmwgt:dst type="ipv4" value="198.124.252.101"/>
+ <!-- destination host -->
+ </nmwgt:endPointPair>
+ </perfsonar:subject>
+ <nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
+ <nmwg:parameters id="param1">
+ <nmwg:parameter name="count" value="10"/>
+ <nmwg:parameter name="size" value="10"/>
+ </nmwg:parameters>
+ </nmwg:metadata>
+ <!-- triggers to indicate head of chains -->
+ <nmwg:data id="1" metadataIdRef="meta1">
+ <owamp:datum packetTTL="243" receive_time="15080301494633990766"
+ receiver_error="1.00583e-06" receiver_sync="1"
+ send_time="15080301494378967368" sender_error="4.91142e-05"
+ sender_sync="1" sequenceNumber="0"/>
+ <owamp:datum packetTTL="243" receive_time="15080301495209421895"
+ receiver_error="1.00583e-06" receiver_sync="1"
+ send_time="15080301494954677669" sender_error="4.91142e-05"
+ sender_sync="1" sequenceNumber="1"/>
+ <owamp:datum packetTTL="243" receive_time="15080301495587237283"
+ receiver_error="1.00583e-06" receiver_sync="1"
+ send_time="15080301495332458698" sender_error="4.91142e-05"
+ sender_sync="1" sequenceNumber="2"/>
+ <owamp:datum packetTTL="243" receive_time="15080301495677388646"
+ receiver_error="1.00583e-06" receiver_sync="1"
+ send_time="15080301495422640126" sender_error="4.91142e-05"
+ sender_sync="1" sequenceNumber="3"/>
+ <owamp:datum packetTTL="243" receive_time="15080301495947864212"
+ receiver_error="1.00583e-06" receiver_sync="1"
+ send_time="15080301495693287490" sender_error="4.91142e-05"
+ sender_sync="1" sequenceNumber="4"/>
+ <owamp:datum packetTTL="243" receive_time="15080301495986407248"
+ receiver_error="1.00583e-06" receiver_sync="1"
+ send_time="15080301495731886361" sender_error="4.91142e-05"
+ sender_sync="1" sequenceNumber="5"/>
+ <owamp:datum packetTTL="243" receive_time="15080301496218743504"
+ receiver_error="1.00583e-06" receiver_sync="1"
+ send_time="15080301495963810300" sender_error="4.91142e-05"
+ sender_sync="1" sequenceNumber="6"/>
+ <owamp:datum packetTTL="243" receive_time="15080301496343168707"
+ receiver_error="1.00583e-06" receiver_sync="1"
+ send_time="15080301496088364352" sender_error="4.91142e-05"
+ sender_sync="1" sequenceNumber="7"/>
+ <owamp:datum packetTTL="243" receive_time="15080301496575101236"
+ receiver_error="1.00583e-06" receiver_sync="1"
+ send_time="15080301496320305471" sender_error="4.91142e-05"
+ sender_sync="1" sequenceNumber="8"/>
+ <owamp:datum packetTTL="243" receive_time="15080301496648008306"
+ receiver_error="1.00583e-06" receiver_sync="1"
+ send_time="15080301496393302735" sender_error="4.91142e-05"
+ sender_sync="1" sequenceNumber="9"/>
+ <owamp:datum packetTTL="255" receive_time="00000000000000000000"
+ receiver_error="4.91142e-05" receiver_sync="1"
+ send_time="15080301493067904476" sender_error="2.32831e-10"
+ sender_sync="0" sequenceNumber="0"/>
+ <owamp:datum packetTTL="255" receive_time="00000000000000000000"
+ receiver_error="4.91142e-05" receiver_sync="1"
+ send_time="15080301493162169173" sender_error="2.32831e-10"
+ sender_sync="0" sequenceNumber="1"/>
+ <owamp:datum packetTTL="255" receive_time="00000000000000000000"
+ receiver_error="4.91142e-05" receiver_sync="1"
+ send_time="15080301494323033453" sender_error="2.32831e-10"
+ sender_sync="0" sequenceNumber="2"/>
+ <owamp:datum packetTTL="255" receive_time="00000000000000000000"
+ receiver_error="4.91142e-05" receiver_sync="1"
+ send_time="15080301494363499857" sender_error="2.32831e-10"
+ sender_sync="0" sequenceNumber="3"/>
+ <owamp:datum packetTTL="255" receive_time="00000000000000000000"
+ receiver_error="4.91142e-05" receiver_sync="1"
+ send_time="15080301494565955635" sender_error="2.32831e-10"
+ sender_sync="0" sequenceNumber="4"/>
+ <owamp:datum packetTTL="255" receive_time="00000000000000000000"
+ receiver_error="4.91142e-05" receiver_sync="1"
+ send_time="15080301494829710144" sender_error="2.32831e-10"
+ sender_sync="0" sequenceNumber="5"/>
+ <owamp:datum packetTTL="255" receive_time="00000000000000000000"
+ receiver_error="4.91142e-05" receiver_sync="1"
+ send_time="15080301494874922140" sender_error="2.32831e-10"
+ sender_sync="0" sequenceNumber="6"/>
+ <owamp:datum packetTTL="255" receive_time="00000000000000000000"
+ receiver_error="4.91142e-05" receiver_sync="1"
+ send_time="15080301495068419339" sender_error="2.32831e-10"
+ sender_sync="0" sequenceNumber="7"/>
+ <owamp:datum packetTTL="255" receive_time="00000000000000000000"
+ receiver_error="4.91142e-05" receiver_sync="1"
+ send_time="15080301495160144546" sender_error="2.32831e-10"
+ sender_sync="0" sequenceNumber="8"/>
+ <owamp:datum packetTTL="255" receive_time="00000000000000000000"
+ receiver_error="4.91142e-05" receiver_sync="1"
+ send_time="15080301495517488687" sender_error="2.32831e-10"
+ sender_sync="0" sequenceNumber="9"/>
+ </nmwg:data>
+</nmwg:message>
\ No newline at end of file
Added: trunk/lib/NMWG/examples/2.0/SetupDataResponse-02-owamp.xml
===================================================================
--- trunk/lib/NMWG/examples/2.0/SetupDataResponse-02-owamp.xml
(rev 0)
+++ trunk/lib/NMWG/examples/2.0/SetupDataResponse-02-owamp.xml 2011-04-13
11:15:13 UTC (rev 700)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<nmwg:message id="datarq2-1" type="SetupDataResponse"
+ xmlns="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/"
+ xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
+ <nmwg:metadata id="meta1">
+ <perfsonar:subject id="subj1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="131.188.81.234"/>
+ <!-- The host where is OWAMP M -->
+ <nmwgt:dst type="ipv4" value="198.124.252.101"/>
+ <!-- destination host -->
+ </nmwgt:endPointPair>
+ </perfsonar:subject>
+ <nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
+ <nmwg:parameters id="param1">
+ <nmwg:parameter name="count" value="10"/>
+ <nmwg:parameter name="size" value="10"/>
+ <nmwg:parameter name="output" value="summary"/>
+ </nmwg:parameters>
+ </nmwg:metadata>
+ <!-- triggers to indicate head of chains -->
+ <nmwg:data id="1" metadataIdRef="meta1">
+ <owamp:datum delay_units="ms" duplicates="0" error="0.342"
+ error_units="ms" hops="12" jitter="0.1" jitter_units="ms" loss="0"
+ lost_percent="0.000%" max_delay="56.7" med_delay="56.7"
+ min_delay="56.6" receiver="198.124.252.101"
+ sender="131.188.81.234" sent="10"/>
+ </nmwg:data>
+</nmwg:message>
\ No newline at end of file
Added: trunk/lib/NMWG/examples/2.0/SetupDataResponse-03-owamp.xml
===================================================================
--- trunk/lib/NMWG/examples/2.0/SetupDataResponse-03-owamp.xml
(rev 0)
+++ trunk/lib/NMWG/examples/2.0/SetupDataResponse-03-owamp.xml 2011-04-13
11:15:13 UTC (rev 700)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<nmwg:message id="datarq2-1" type="SetupDataResponse"
+ xmlns="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
+ xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:owamp="http://ggf.org/ns/nmwg/tools/owamp/2.0/"
+ xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/">
+ <nmwg:metadata id="meta1">
+ <perfsonar:subject id="subj1">
+ <nmwgt:endPointPair>
+ <nmwgt:src type="ipv4" value="131.188.81.24"/>
+ <!-- The host where is OWAMP M -->
+ <nmwgt:dst type="ipv4" value="198.124.252.101"/>
+ <!-- destination host -->
+ </nmwgt:endPointPair>
+ </perfsonar:subject>
+ <nmwg:eventType>http://ggf.org/ns/nmwg/tools/owamp/2.0</nmwg:eventType>
+ <nmwg:parameters id="param1">
+ <nmwg:parameter name="count" value="10"/>
+ <nmwg:parameter name="size" value="10"/>
+ <nmwg:parameter name="output" value="summary"/>
+ </nmwg:parameters>
+ </nmwg:metadata>
+ <!-- triggers to indicate head of chains -->
+ <nmwg:data id="1" metadataIdRef="meta1"/>
+ <nmwg:metadata id="return_meta1">
+ <nmwg:eventType>error.mp.owamp</nmwg:eventType>
+ </nmwg:metadata>
+ <nmwg:data id="data_return_meta1" metadataIdRef="return_meta1">
+ <nmwgr:datum>OWAMP Error: owping: FILE=capi.c, LINE=103, bind(): Cannot
assign requested address owping: FILE=owping.c, LINE=1534, Unable to open
control connection to 198.124.252.101.</nmwgr:datum>
+ </nmwg:data>
+</nmwg:message>
Deleted: trunk/lib/NMWG/examples/2.0/owping-req.xml
===================================================================
--- trunk/lib/NMWG/examples/2.0/owping-req.xml 2011-04-13 11:08:46 UTC (rev
699)
+++ trunk/lib/NMWG/examples/2.0/owping-req.xml 2011-04-13 11:15:13 UTC (rev
700)
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<nmwg:message type="SetupDataRequest"
- id="datarq2-1"
- xmlns="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
-
xmlns:perfsonar="http://ggf.org/ns/nmwg/tools/org/perfsonar/1.0/"
- xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
- xmlns:nmtm="http://ggf.org/ns/nmwg/time/2.0/"
- xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/"
- xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/">
-
- <nmwg:metadata id="meta1">
- <perfsonar:subject id="subj1">
- <nmwgt:endPointPair>
- <nmwgt:src type="ipv4" value="131.188.81.12"/>
- <nmwgt:dst type="ipv4" value="131.188.81.61"/>
- </nmwgt:endPointPair>
- </perfsonar:subject>
-
- <nmwg:eventType>owping</nmwg:eventType>
- <nmwg:parameters id="param1">
- <nmwg:parameter name="output" value="machine_readable"/>
- <nmwg:parameter name="count" value="10"/>
- </nmwg:parameters>
- </nmwg:metadata>
-
- <!-- triggers to indicate head of chains -->
- <nmwg:data id="1" metadataIdRef="meta1"/>
-
-
-</nmwg:message>
- [pS-dev] [GEANT/SA2/SA2T3-OPPD] r700 - trunk/lib/NMWG/examples/2.0, svn-noreply, 04/13/2011
Archive powered by MHonArc 2.6.16.