perfsonar-dev - r2042 - trunk/functional-testing/clmp
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: r2042 - trunk/functional-testing/clmp
- Date: Fri, 9 Feb 2007 06:26:29 -0500
Author: reinwand
Date: 2007-02-09 06:26:28 -0500 (Fri, 09 Feb 2007)
New Revision: 2042
Added:
trunk/functional-testing/clmp/README-soapUI.txt
trunk/functional-testing/clmp/README.txt
trunk/functional-testing/clmp/cl-mp-bwctlreq-udp.xml
Modified:
trunk/functional-testing/clmp/CLMP-soapui-project.xml
Log:
Added documentation.
Added BWCTL request using UDP.
Modified: trunk/functional-testing/clmp/CLMP-soapui-project.xml
===================================================================
--- trunk/functional-testing/clmp/CLMP-soapui-project.xml 2007-02-09
10:38:09 UTC (rev 2041)
+++ trunk/functional-testing/clmp/CLMP-soapui-project.xml 2007-02-09
11:26:28 UTC (rev 2042)
@@ -35,8 +35,46 @@
</nmwg:message>
</soapenv:Body>
-</soapenv:Envelope>]]></con:request></con:call></con:operation><con:definitionCache
rootPart="file:./cl-mp-bwctlres.wsdl"><con:part><con:url>file:./cl-mp-bwctlres/bwctlres.xsd</con:url><con:content><xs:schema
elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:bwctlres="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
- <xs:import namespace="http://ggf.org/ns/nmwg/base/2.0/"
schemaLocation="cl-mp-bwctlres.xsd"/>
+</soapenv:Envelope>]]></con:request></con:call><con:call name="bwctl request
udp
1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://frodo.rrze.uni-erlangen.de:8080/perfSONAR-CLMP-1.0/services/CommandLineService</con:endpoint><con:request><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://ggf.org/ns/nmwg/base/2.0/">
+ <soapenv:Header/>
+ <soapenv:Body>
+<nmwg:message type="MeasurementRequest" id="msg1"
+ xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
+ xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
+ xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/">
+
+ <nmwg:metadata id="metabase">
+ <bwctl:subject id="sub1">
+ <nmwgt:endPointPair>
+ <nmwgt:dst type="ipv4" value="200.159.254.223"/>
+ </nmwgt:endPointPair>
+ </bwctl:subject>
+ <nmwg:eventType>bwctl</nmwg:eventType>
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="protocol" value="udp"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:metadata id="metasend" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role" value="sender"/>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="sender" metadataIdRef="metasend" />
+
+ <nmwg:metadata id="metarecv" metadataIdRef="metabase">
+ <bwctl:parameters id="param1">
+ <nmwg:parameter name="role">receiver</nmwg:parameter>
+ </bwctl:parameters>
+ </nmwg:metadata>
+
+ <nmwg:data id="receiver" metadataIdRef="metarecv" />
+
+</nmwg:message>
+ </soapenv:Body>
+</soapenv:Envelope>]]></con:request></con:call></con:operation><con:definitionCache
rootPart="file:./cl-mp-bwctlreq.wsdl"><con:part><con:url>file:./cl-mp-bwctlreq/bwctl.xsd</con:url><con:content><xs:schema
elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+ <xs:import namespace="http://ggf.org/ns/nmwg/base/2.0/"
schemaLocation="cl-mp-bwctlreq.xsd"/>
<xs:import namespace="http://ggf.org/ns/nmwg/topology/2.0/"
schemaLocation="nmwgt.xsd"/>
<xs:element name="subject">
<xs:complexType>
@@ -55,37 +93,8 @@
<xs:attributeGroup ref="nmwg:Identifier"/>
</xs:complexType>
</xs:element>
- <xs:element name="datum">
- <xs:complexType>
- <xs:attribute name="intervalEnd" use="required" type="xs:float"/>
- <xs:attribute name="intervalStart" use="required" type="xs:float"/>
- <xs:attribute name="intervalUnit" use="required" type="xs:string"/>
- <xs:attribute name="numBytes" use="required" type="xs:int"/>
- <xs:attribute name="numBytesUnits" use="required" type="xs:string"/>
- <xs:attribute name="tcpAdapterType" type="xs:string"/>
- <xs:attribute name="tcpMSSSize" type="xs:int"/>
- <xs:attribute name="tcpMSSUnit" type="xs:string"/>
- <xs:attribute name="tcpMTUSize" type="xs:int"/>
- <xs:attribute name="tcpMTUUnit" type="xs:string"/>
- <xs:attribute name="tcpWindowSize" type="xs:int"/>
- <xs:attribute name="tcpWindowUnit" type="xs:string"/>
- <xs:attribute name="udpBufferUnit" type="xs:string"/>
- <xs:attribute name="udpBufferSize" type="xs:int"/>
- <xs:attribute name="udpDatagramUnit" type="xs:string"/>
- <xs:attribute name="udpDatagramSize" type="xs:int"/>
- <xs:attribute name="udpJitterUnit" type="xs:string"/>
- <xs:attribute name="udpJitter" type="xs:float"/>
- <xs:attribute name="udpPacketLoss" type="xs:int"/>
- <xs:attribute name="udpPacketLossPercentage" type="xs:float"/>
- <xs:attribute name="udpPacketSent" type="xs:int"/>
- <xs:attribute name="value" use="required" type="xs:float"/>
- <xs:attribute name="valueUnits" use="required" type="xs:string"/>
- <xs:attribute name="timeType" use="required" type="xs:string"/>
- <xs:attribute name="timeValue" use="required" type="xs:string"/>
- </xs:complexType>
- </xs:element>
-</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:./cl-mp-bwctlres/cl-mp-bwctlres.xsd</con:url><con:content><xs:schema
elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:bwctlres="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
- <xs:import namespace="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
schemaLocation="bwctlres.xsd"/>
+</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:./cl-mp-bwctlreq/cl-mp-bwctlreq.xsd</con:url><con:content><xs:schema
elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+ <xs:import namespace="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
schemaLocation="bwctl.xsd"/>
<xs:import namespace="http://ggf.org/ns/nmwg/topology/2.0/"
schemaLocation="nmwgt.xsd"/>
<xs:element name="message" type="nmwg:MessageContent"/>
<xs:complexType name="MessageContent">
@@ -107,30 +116,31 @@
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:token">
- <xs:enumeration value="MeasurementResponse"/>
+ <xs:enumeration value="MeasurementRequest"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:attributeGroup>
<xs:element name="metadata">
<xs:complexType>
- <xs:choice>
- <xs:group ref="nmwg:BwctlMetadataContent"/>
- <xs:element ref="bwctlres:parameters"/>
- </xs:choice>
- <xs:attributeGroup ref="nmwg:Identifier"/>
- <xs:attribute name="metadataIdRef" type="xs:string"/>
+ <xs:complexContent>
+ <xs:extension base="nmwg:BwctlMetadataContent">
+ <xs:attributeGroup ref="nmwg:Identifier"/>
+ <xs:attribute name="metadataIdRef" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
</xs:complexType>
</xs:element>
- <xs:group name="BwctlMetadataContent">
- <xs:sequence>
+ <xs:complexType name="BwctlMetadataContent">
+ <xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="bwctlres:subject"/>
- <xs:element ref="bwctlres:parameters"/>
+ <xs:element ref="bwctl:subject"/>
+ <xs:element ref="bwctl:parameters"/>
<xs:element ref="nmwg:eventType"/>
</xs:choice>
- </xs:sequence>
- </xs:group>
+ <xs:element ref="bwctl:parameters"/>
+ </xs:choice>
+ </xs:complexType>
<xs:complexType name="EndpointPair">
<xs:sequence>
<xs:element ref="nmwgt:endPointPair"/>
@@ -181,9 +191,6 @@
</xs:element>
<xs:element name="data">
<xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" maxOccurs="unbounded"
ref="bwctlres:datum"/>
- </xs:sequence>
<xs:attributeGroup ref="nmwg:Identifier"/>
<xs:attributeGroup ref="nmwg:MetadataIdentifierRef"/>
</xs:complexType>
@@ -191,9 +198,9 @@
<xs:attributeGroup name="MetadataIdentifierRef">
<xs:attribute name="metadataIdRef" use="required" type="xs:string"/>
</xs:attributeGroup>
-</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:./cl-mp-bwctlres/nmwgt.xsd</con:url><con:content><xs:schema
elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:bwctlres="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
- <xs:import namespace="http://ggf.org/ns/nmwg/base/2.0/"
schemaLocation="cl-mp-bwctlres.xsd"/>
- <xs:import namespace="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
schemaLocation="bwctlres.xsd"/>
+</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:./cl-mp-bwctlreq/nmwgt.xsd</con:url><con:content><xs:schema
elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/"
xmlns:bwctl="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
+ <xs:import namespace="http://ggf.org/ns/nmwg/base/2.0/"
schemaLocation="cl-mp-bwctlreq.xsd"/>
+ <xs:import namespace="http://ggf.org/ns/nmwg/tools/bwctl/2.0/"
schemaLocation="bwctl.xsd"/>
<xs:element name="endPointPair" type="nmwg:EndpointPairContent"/>
<xs:element name="src">
<xs:complexType mixed="true">
@@ -205,11 +212,11 @@
<xs:attributeGroup ref="nmwg:EndpointContent"/>
</xs:complexType>
</xs:element>
-</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:./cl-mp-bwctlres.wsdl</con:url><con:content><definitions
name="CL-MP" targetNamespace="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:tns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
+</xs:schema></con:content><con:type>http://www.w3.org/2001/XMLSchema</con:type></con:part><con:part><con:url>file:./cl-mp-bwctlreq.wsdl</con:url><con:content><definitions
name="CL-MP" targetNamespace="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:tns="http://ggf.org/ns/nmwg/base/2.0/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<schema elementFormDefault="qualified"
targetNamespace="http://ggf.org/ns/nmwg/base/2.0/"
xmlns="http://www.w3.org/2001/XMLSchema">
- <include schemaLocation="cl-mp-bwctlres/cl-mp-bwctlres.xsd"/>
+ <include schemaLocation="cl-mp-bwctlreq/cl-mp-bwctlreq.xsd"/>
</schema>
</types>
Added: trunk/functional-testing/clmp/README-soapUI.txt
Added: trunk/functional-testing/clmp/README.txt
Added: trunk/functional-testing/clmp/cl-mp-bwctlreq-udp.xml
- r2042 - trunk/functional-testing/clmp, svnlog, 02/09/2007
Archive powered by MHonArc 2.6.16.