Show
Ignore:
Timestamp:
09/02/09 18:00:10 (3 years ago)
Author:
Ted Faber <faber@…>
Children:
66861a288c74f597c1319ebba0dbba762a875a12
Parents:
f9ef40b3f313c74ac1d4f6ec50841ede5fb89cda
git-committer:
Ted Faber <faber@isi.edu> / 2009-09-03T01:00:10Z+0000
Message:

Testbed and segment objects and attributes on substrate

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wsdl/topdl.xsd

    rc49d81b r9beaf7c  
    22<xsd:schema targetNamespace="http://www.isi.edu/faber/topdl" 
    33  xmlns:tns="http://www.isi.edu/faber/topdl" 
     4  xmlns:fns="http://www.isi.edu/faber/fedd_types" 
    45  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    56  xmlns="http://www.w3.org/2000/10/XMLSchema"> 
     
    7172      <xsd:element name="latency" type="tns:latencyType"  
    7273        minOccurs="0" maxOccurs="1"/> 
     74      <xsd:element name="attribute" type="tns:attributeType"  
     75        minOccurs="0" maxOccurs="unbounded"/> 
    7376    </xsd:sequence> 
    7477  </xsd:complexType> 
     
    197200  </xsd:complexType> 
    198201 
     202  <xsd:complexType name="testbedType"> 
     203    <xsd:annotation> 
     204      <xsd:documentation> 
     205        A testbed is an abstract resource collection. 
     206      </xsd:documentation> 
     207    </xsd:annotation> 
     208    <xsd:sequence> 
     209      <xsd:element name="uri" type="xsd:string"/> 
     210      <xsd:element name="type" type="xsd:string"/> 
     211      <xsd:element name="interface" type="tns:interfaceType" 
     212        minOccurs="0" maxOccurs="unbounded"/> 
     213      <xsd:element name="attribute" type="tns:attributeType"  
     214        minOccurs="0" maxOccurs="unbounded"/> 
     215    </xsd:sequence> 
     216  </xsd:complexType> 
     217 
     218  <xsd:complexType name="segmentType"> 
     219    <xsd:annotation> 
     220      <xsd:documentation> 
     221        A collection of resources instantiated on a testbed 
     222      </xsd:documentation> 
     223    </xsd:annotation> 
     224    <xsd:sequence> 
     225      <xsd:element name="id" type="fns:IDType"/> 
     226      <xsd:element name="type" type="xsd:string"/> 
     227      <xsd:element name="uri" type="xsd:string"/> 
     228      <xsd:element name="interface" type="tns:interfaceType" 
     229        minOccurs="0" maxOccurs="unbounded"/> 
     230      <xsd:element name="attribute" type="tns:attributeType"  
     231        minOccurs="0" maxOccurs="unbounded"/> 
     232    </xsd:sequence> 
     233  </xsd:complexType> 
     234 
     235 
    199236  <xsd:complexType name="otherType"> 
    200237    <xsd:annotation> 
     
    219256    <xsd:choice> 
    220257      <xsd:element name="computer" type="tns:computerType"/> 
     258      <xsd:element name="testbed" type="tns:testbedType"/> 
     259      <xsd:element name="segment" type="tns:segmentType"/> 
    221260      <xsd:element name="other" type="tns:otherType"/> 
    222261    </xsd:choice>