source: wsdl/fedd_types.xsd @ b3227fd

axis_examplecompt_changesinfo-opsversion-3.01version-3.02
Last change on this file since b3227fd was f432e51, checked in by Ted Faber <faber@…>, 14 years ago

Create cannot return an embedding

  • Property mode set to 100644
File size: 32.4 KB
RevLine 
[6ff0b91]1<?xml version="1.0"?>
[e77c86e]2<xsd:schema targetNamespace="http://www.isi.edu/fedd_types"
3  xmlns:tns="http://www.isi.edu/fedd_types"
4  xmlns:topdl="http://www.isi.edu/topdl"
[f4cc4b7]5  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
[6ff0b91]6  xmlns="http://www.w3.org/2000/10/XMLSchema">
7
8  <xsd:complexType name="IDType">
9    <xsd:annotation>
10      <xsd:documentation>
[2dafa0c]11        An ID is an identifier for a principal, service, or object.  This type
12        is currently polymorphic o allow different implementations of type,
13        though running code primarily uses localnames and fedids.
[6ff0b91]14      </xsd:documentation>
15    </xsd:annotation>
16    <xsd:choice>
17      <xsd:element name="uuid" type="xsd:base64Binary"/>
18      <xsd:element name="fedid" type="xsd:base64Binary"/>
19      <xsd:element name="uri" type="xsd:string"/>
[e40c7ee]20      <xsd:element name="localname" type="xsd:string"/>
[6ff0b91]21      <xsd:element name="kerberosUsername" type="xsd:string"/>
22    </xsd:choice>
23  </xsd:complexType>
24
[c122b0c]25  <!-- begin deprecated -->
26
27  <xsd:complexType name="projectType">
28    <xsd:annotation>
29      <xsd:documentation>
30        A description of the project used to access a testbed.  Includes
31        the testbed being accessed, the project name (often a local
32        name, scoped by the testbed), and any users who have been
33        granted access or for whom access is being requested.
34      </xsd:documentation>
35    </xsd:annotation>
36    <xsd:sequence>
37      <xsd:element name="testbed" type="tns:IDType" minOccurs="0"
38        maxOccurs="1"/>
39      <xsd:element name="name" type="tns:IDType" minOccurs="0" maxOccurs="1"/>
40      <xsd:element name="user" type="tns:userType" minOccurs="0"
41        maxOccurs="unbounded"/>
42    </xsd:sequence>
43  </xsd:complexType>
44
[6ff0b91]45  <xsd:complexType name="nodeType">
46    <xsd:annotation>
47      <xsd:documentation>
[2dafa0c]48        A node from an Emulab.  It may have 0 or more images or hardware
49        types associated with it.  As this description is used for
50        acquiring access to the testbed in question, multiple images or
51        types are considered options.  Specifying multiple image names
52        indicates that the requester is looking for support for any of
53        them.
[6ff0b91]54      </xsd:documentation>
55    </xsd:annotation>
56    <xsd:sequence>
57      <xsd:element name="image" type="xsd:string" minOccurs="0"
58        maxOccurs="unbounded"/>
59      <xsd:element name="hardware" type="xsd:string" minOccurs="0"
60        maxOccurs="unbounded"/>
61    </xsd:sequence>
62    <xsd:attribute name="count" type="xsd:int" use="optional"/>
63  </xsd:complexType>
64
[c122b0c]65  <xsd:complexType name="capacityType">
66    <xsd:annotation>
67      <xsd:documentation>
68        A strawman network capacity description for access negotiation.
69        This will come to include more and more interesting parameters.
70      </xsd:documentation>
71    </xsd:annotation>
72    <xsd:sequence>
73      <xsd:element name="rate" type="xsd:double"/>
74      <xsd:element name="kind" type="tns:kindType"/>
75    </xsd:sequence>
76  </xsd:complexType>
77
78
79  <xsd:simpleType name="userRole">
80    <xsd:annotation>
81      <xsd:documentation>
82        This defines the role the user/account is playing in the
83        federated experiment.  An account being accessed by the
84        federation system to create the experiment is in the
85        experimentCreation role and the accounts that experimenters will
86        use to access local testbed services (e.g., rebooting a local
87        node) are serviceAccess roles.
88      </xsd:documentation>
89    </xsd:annotation>
90    <xsd:restriction base="xsd:string">
91      <xsd:enumeration value="serviceAccess"/>
92      <xsd:enumeration value="experimentCreation"/>
93    </xsd:restriction>
94  </xsd:simpleType>
95
[6ff0b91]96  <xsd:simpleType name="kindType">
[2dafa0c]97    <xsd:annotation>
98      <xsd:documentation>
99        An indication of how requested networking capacity is measured.
100        This will undoubtably expand.
101      </xsd:documentation>
102    </xsd:annotation>
[6ff0b91]103    <xsd:restriction base="xsd:string">
104      <xsd:enumeration value="max"/>
105      <xsd:enumeration value="average"/>
106    </xsd:restriction>
107  </xsd:simpleType>
108
[eda00e1]109  <xsd:complexType name="userType">
110    <xsd:annotation>
111      <xsd:documentation>
112        The definition of a user principal.  It includes the
113        identification of the user as an ID type, the access credential(s)
114        that the user will use, and the role of the user, if any.
115        Multiple access keys may be used, and it is also possible for
116        the user to be anonymous.  Though it is possible to specify a
117        user without ID, access, or role, it is difficult to imagine
118        such a user being useful.
119      </xsd:documentation>
120    </xsd:annotation>
121    <xsd:sequence>
122      <xsd:element name="userID" type="tns:IDType" minOccurs="0"
123        maxOccurs="1"/>
124      <xsd:element name="access" type="tns:accessType" minOccurs="0"
125        maxOccurs="unbounded"/>
126      <!-- begin deprecated -->
127      <xsd:element name="role" type="tns:userRole" minOccurs="0" maxOccurs="1"/>
128      <!-- end deprecated -->
129    </xsd:sequence>
130  </xsd:complexType>
131
[c122b0c]132  <!-- end deprecated -->
133
[bd3e314]134  <xsd:simpleType name="statusType">
135    <xsd:annotation>
136      <xsd:documentation>
137        The current state of the experiment.
138      </xsd:documentation>
139    </xsd:annotation>
140    <xsd:restriction base="xsd:string">
[a3ad8bd]141      <xsd:enumeration value="empty"/>
[bd3e314]142      <xsd:enumeration value="active"/>
143      <xsd:enumeration value="starting"/>
144      <xsd:enumeration value="terminating"/>
145      <xsd:enumeration value="failed"/>
146    </xsd:restriction>
147  </xsd:simpleType>
148
[6ff0b91]149  <xsd:complexType name="accessType">
150    <xsd:annotation>
151      <xsd:documentation>
[2dafa0c]152        This captures an access credential that will be used to access
153        resources.  These are certificates or public keys.  The type is
154        used to designate the key to which access should be bound, or on
155        a reply has been bound.  Dynamic credentials where new keys have
156        been created may also be passed in this kind of field.
[6ff0b91]157      </xsd:documentation>
158    </xsd:annotation>
159    <xsd:choice>
160      <xsd:element name="X509" type="xsd:base64Binary"/>
161      <xsd:element name="sshPubkey" type="xsd:base64Binary"/>
162      <xsd:element name="pgpPubkey" type="xsd:base64Binary"/>
[c122b0c]163      <xsd:element name="passwordHash" type="xsd:string"/>
[6ff0b91]164    </xsd:choice>
165  </xsd:complexType>
166
167  <xsd:complexType name="fedAttrType">
168    <xsd:annotation>
169      <xsd:documentation>
[2dafa0c]170        A general attribute/value pair for passing federation parameters and
171        preferences.  Anything encodable in XML is allowed.  This is a
172        point for customization and extension.
[6ff0b91]173      </xsd:documentation>
174    </xsd:annotation>
175    <xsd:sequence>
176      <xsd:element name="attribute" type="xsd:string"/>
177      <xsd:element name="value" type="xsd:string"/>
178    </xsd:sequence>
179  </xsd:complexType>
180
181
182  <xsd:complexType name="resourcesType">
183    <xsd:annotation>
184      <xsd:documentation>
[2dafa0c]185        The estimate of resources a requester is looking for, or the
186        response of a testbed indicating what it can provide.  This is
187        something of a placeholder for a full resource specification,
188        and alternative encodings are likely to be imported.
[6ff0b91]189      </xsd:documentation>
190    </xsd:annotation>
191    <xsd:sequence>
[c122b0c]192      <!-- replace with topdl -->
[6ff0b91]193      <xsd:element name="node" type="tns:nodeType" minOccurs="0"
194        maxOccurs="unbounded" />
195      <xsd:element name="capacity" type="tns:capacityType" minOccurs="0"
196        maxOccurs="unbounded"/>
[c122b0c]197      <!-- replace with topdl -->
[6ff0b91]198    </xsd:sequence>
199  </xsd:complexType>
200
[6679c122]201  <xsd:complexType name="mapType">
202    <xsd:annotation>
203      <xsd:documentation>
204        Explicit translation of testbed attribute in a federated experiment
[2dafa0c]205        description to the URI at which the controlling federation
206        system can be reached.  Used in a creation request.
207
208        This type allows tools to encode experiments in familiar local
209        names for experimenters while providing remote federation
210        systems the information to map the local name into a service
211        location.
[6679c122]212      </xsd:documentation>
213    </xsd:annotation>
214    <xsd:sequence>
215      <xsd:element name="testbed" type="tns:IDType"/>
216      <xsd:element name="uri" type="xsd:string"/>
217    </xsd:sequence>
218  </xsd:complexType>
[c122b0c]219 
[b234bb9]220  <xsd:complexType name="vtoponodeType">
221    <xsd:annotation>
222      <xsd:documentation>
[2dafa0c]223        Node in the virtual topology of a federated experiment (Emulab
224        legacy).  The fields are the local hostname and the IP addresses
225        of the experimental interfaces(colon-separated).
[b234bb9]226      </xsd:documentation>
227    </xsd:annotation>
228    <xsd:sequence>
229      <xsd:element name="vname" type="xsd:string"/>
230      <xsd:element name="ips" type="xsd:string"/>
231    </xsd:sequence>
232  </xsd:complexType>
233
234  <xsd:complexType name="vtopolanType">
235    <xsd:annotation>
236      <xsd:documentation>
[2dafa0c]237        LAN in the virtual topology of a federated experiment (Emulab legacy).
238        The fields are the name of the LAN/link (vname) the node that
239        this description applies to (vnode), the IP of the connection,
240        and performance information.
[b234bb9]241      </xsd:documentation>
242    </xsd:annotation>
243    <xsd:sequence>
244      <xsd:element name="vname" type="xsd:string"/>
245      <xsd:element name="vnode" type="xsd:string"/>
246      <xsd:element name="ip" type="xsd:string"/>
247      <xsd:element name="bandwidth" type="xsd:int"/>
248      <xsd:element name="delay" type="xsd:float"/>
249      <xsd:element name="member" type="xsd:string"/>
250    </xsd:sequence>
251  </xsd:complexType>
252
253  <xsd:complexType name="vtopoType">
254    <xsd:annotation>
255      <xsd:documentation>
[2dafa0c]256        The virtual topology of a federated experiment (Emulab legacy).
[b234bb9]257      </xsd:documentation>
258    </xsd:annotation>
259    <xsd:sequence>
[bcbf543]260      <xsd:element name="node" type="tns:vtoponodeType" minOccurs="0" 
261        maxOccurs="unbounded" />
262      <xsd:element name="lan" type="tns:vtopolanType" minOccurs="0"
263        maxOccurs="unbounded"/>
[b234bb9]264    </xsd:sequence>
265  </xsd:complexType>
266
267  <xsd:complexType name="visnodeType">
268    <xsd:annotation>
269      <xsd:documentation>
[2dafa0c]270        Node in the visualization of a federated experiment (Emulab
271        legacy).  Fields include the local hostname of the node, x,y
272        coordinates in a 2-dimensional representation, and whether the
273        node in the visualization is a host or a LAN.
[b234bb9]274      </xsd:documentation>
275    </xsd:annotation>
276    <xsd:sequence>
277      <xsd:element name="name" type="xsd:string"/>
278      <xsd:element name="x" type="xsd:int"/>
279      <xsd:element name="y" type="xsd:int"/>
280      <xsd:element name="type" type="xsd:string"/>
281    </xsd:sequence>
282  </xsd:complexType>
283
284  <xsd:complexType name="visType">
285    <xsd:annotation>
286      <xsd:documentation>
[2dafa0c]287        The visualization of a federated experiment (Emulab legacy)
[b234bb9]288      </xsd:documentation>
289    </xsd:annotation>
290    <xsd:sequence>
291      <xsd:element name="node" type="tns:visnodeType" minOccurs="0"
292        maxOccurs="unbounded"/>
293    </xsd:sequence>
294  </xsd:complexType>
295
[7da9da6]296  <xsd:complexType name="projectAllocType">
297    <xsd:annotation>
298      <xsd:documentation>
[2dafa0c]299        The information needed to create a dynamic project, specifically
300        a project description and the resources in needs access to.
301        This is used by an internal fedd interface.
[7da9da6]302      </xsd:documentation>
303    </xsd:annotation>
304    <xsd:sequence>
305      <xsd:element name="project" type="tns:projectType"/>
306      <xsd:element name="resources" type="tns:resourcesType" 
307        minOccurs="0" maxOccurs="1"/>
308    </xsd:sequence>
309  </xsd:complexType>
[ef36c1e]310
[3925b50]311  <xsd:complexType name="experimentDescriptionType">
312    <xsd:annotation>
313      <xsd:documentation>
[2dafa0c]314        The description of the federated experiment, in extended ns2.
[3925b50]315      </xsd:documentation>
316    </xsd:annotation>
317    <xsd:choice>
318      <xsd:element name="ns2description" type="xsd:base64Binary"/>
[eec716b]319      <xsd:element name="topdldescription" type="topdl:topologyType"/>
[3925b50]320    </xsd:choice>
321  </xsd:complexType>
322
[c122b0c]323  <xsd:simpleType name="connectionType">
324    <xsd:annotation>
325      <xsd:documentation>
326        Known subexperiment interconnection mechanisms
327      </xsd:documentation>
328    </xsd:annotation>
329    <xsd:restriction base="xsd:string">
330      <xsd:enumeration value="ssh"/>
331      <xsd:enumeration value="transit"/>
332    </xsd:restriction>
333  </xsd:simpleType>
334
[5b74b63]335  <xsd:complexType name="memberType">
336    <xsd:annotation>
337      <xsd:documentation>
338        A member of a set of nodes for which transit is being provided
339      </xsd:documentation>
340    </xsd:annotation>
341    <xsd:sequence>
342      <xsd:element name="element" type="xsd:string"/>
343      <xsd:element name="interface" type="xsd:string" minOccurs="0" 
344        maxOccurs="1"/>
345    </xsd:sequence>
346  </xsd:complexType>
347
[2761484]348  <xsd:simpleType name="connectionParameterIOType">
349    <xsd:annotation>
350      <xsd:documentation>
351        Connection parameter types: input or output
352      </xsd:documentation>
353    </xsd:annotation>
354    <xsd:restriction base="xsd:string">
355      <xsd:enumeration value="input"/>
356      <xsd:enumeration value="output"/>
357    </xsd:restriction>
358  </xsd:simpleType>
359
360  <xsd:complexType name="connectionParameterType">
361    <xsd:annotation>
362      <xsd:documentation>
363        This is a parameter on which two or more access controllers have to
364        agree in order to complete the stitching.  This gives the name of the
365        parameter, the key under which to store it (or it has been stored)  and
366        whether it is to be input or output.
367      </xsd:documentation>
368    </xsd:annotation>
369    <xsd:sequence>
370      <xsd:element name="name" type="xsd:string"/>
371      <xsd:element name="key" type="xsd:string"/>
372      <xsd:element name="store" type="xsd:string"/>
373      <xsd:element name="type" type="tns:connectionParameterIOType"/>
374    </xsd:sequence>
375  </xsd:complexType>
376
377
[c122b0c]378  <xsd:complexType name="connectionInfoType">
379    <xsd:annotation>
380      <xsd:documentation>
381        The information needed to stitch together two segments.  It is both
382        exported from the nmaster and reported by the experiment controller to
383        the access controller and by the access controller into the world.
384      </xsd:documentation>
385    </xsd:annotation>
386    <xsd:sequence>
387      <xsd:element name="type" type="tns:connectionType"/>
[8139a48]388      <xsd:element name="portal" type="xsd:string" minOccurs="0" maxOccurs="1"/>
[c122b0c]389      <xsd:element name="peer" type="xsd:string" minOccurs="0" maxOccurs="1"/>
[5b74b63]390      <xsd:element name="member" type="tns:memberType" minOccurs="0"
391        maxOccurs="unbounded" />
[c122b0c]392      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
393        maxOccurs="unbounded"/>
[2761484]394      <xsd:element name="parameter" type="tns:connectionParameterType"
395        minOccurs="0" maxOccurs="unbounded"/>
[c122b0c]396    </xsd:sequence>
397  </xsd:complexType>
398
399  <xsd:complexType name="serviceInfoType">
400    <xsd:annotation>
401      <xsd:documentation>
402        A generic service entry, basically a name and server
403      </xsd:documentation>
404    </xsd:annotation>
405    <xsd:sequence>
[43197eb]406      <xsd:element name="id" type="xsd:string" minOccurs="0" maxOccurs="1" />
[c122b0c]407      <xsd:element name="name" type="xsd:string"/>
408      <xsd:element name="server" type="xsd:string" minOccurs="0" 
409        maxOccurs="1"/>
410      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
411        maxOccurs="unbounded"/>
412      <xsd:element name="visibility" type="xsd:string">
413        <xsd:restriction>
414          <xsd:enumeration value="export"/>     <!-- server -->
415          <xsd:enumeration value="import"/>     <!-- client -->
416          <xsd:enumeration value="composition"/><!-- both -->
417        </xsd:restriction>
418      </xsd:element>
419    </xsd:sequence>
420  </xsd:complexType>
421
[43197eb]422  <xsd:complexType name="createServiceInfoType">
423    <xsd:annotation>
424      <xsd:documentation>
425        The global descriptions of services in the creation request.  These
426        indicate which services are being provided at a testbed level.  They
427        become service info requests in segment creation.
428      </xsd:documentation>
429    </xsd:annotation>
430    <xsd:sequence>
431      <xsd:element name="id" type="xsd:string" minOccurs="0" maxOccurs="1" />
432      <xsd:element name="name" type="xsd:string"/>
433      <xsd:element name="export" type="xsd:string" 
434        minOccurs="0" maxOccurs="unbounded"/>
[7e67ab9]435      <xsd:choice>
436        <xsd:element name="import" type="xsd:string" 
437          minOccurs="0" maxOccurs="unbounded"/>
438        <xsd:element name="importall" type="xsd:boolean"/>
439      </xsd:choice>
[43197eb]440      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
441        maxOccurs="unbounded"/>
442    </xsd:sequence>
443  </xsd:complexType>
[c122b0c]444
[a3ad8bd]445  <xsd:complexType name="newRequestType">
446    <xsd:annotation>
447      <xsd:documentation>
448        Request for an experiment to which credentials can be delegated and
449        resources attached.  A local name may be included as a human readable
450        accessor, local to this experiment controller.  It is a suggestion and
451        may be modified.  experimentID can only be a local name.
452
453        Credentials are seed credentials to begin the proof.
454      </xsd:documentation>
455    </xsd:annotation>
456    <xsd:sequence>
457      <xsd:element name="experimentID" type="tns:IDType" minOccurs="0" 
458        maxOccurs="1"/>
459      <xsd:element name="credential" type="xsd:base64Binary" minOccurs="0" 
460        maxOccurs="unbounded"/>
461    </xsd:sequence>
462  </xsd:complexType>
463
464  <xsd:complexType name="newResponseType">
465    <xsd:annotation>
466      <xsd:documentation>
467        Result of a new experiment creation.  A successful sreation will have
468        an experimentState of "empty", 2 experimentIDs, one a fedid and one a
469        local name, and an experimentAccess that allows the creator to act as
470        the experiment.
471      </xsd:documentation>
472    </xsd:annotation>
473    <xsd:sequence>
474      <xsd:element name="experimentID" type="tns:IDType" minOccurs="0" 
475        maxOccurs="unbounded"/>
476      <xsd:element name="experimentStatus" type="tns:statusType"/>
477      <xsd:element name="experimentAccess" type="tns:accessType"/>
478    </xsd:sequence>
479  </xsd:complexType>
480
[bde2217]481  <xsd:complexType name="accessRequestType">
[6ff0b91]482    <xsd:annotation>
483      <xsd:documentation>
[2dafa0c]484        Request for access to a testbed.  It includes the testbed from
485        which resources are being requested (a single service may
486        provide access to many), the user or project requesting access
487        (a testbed making the request will leave both empty), the
488        resources needed, the access keys to be used in the subsequent
489        instantiation and service use, an allocation ID to identify this
490        access in later requests, and scheduling information.
[6ff0b91]491      </xsd:documentation>
492    </xsd:annotation>
493    <xsd:sequence>
494      <xsd:element name="destinationTestbed" type="tns:IDType"
495        minOccurs="0" maxOccurs="1" />
[3bddd24]496      <xsd:element name="credential" type="xsd:string" minOccurs="0"
497        maxOccurs="unbounded"/>
[6ff0b91]498      <xsd:element name="resources" type="tns:resourcesType" minOccurs="0" 
499        maxOccurs="1"/>
[c122b0c]500      <xsd:element name="service" type="tns:serviceInfoType" minOccurs="0"
501        maxOccurs="unbounded" />
[6ff0b91]502      <xsd:element name="allocID" type="tns:IDType"/>
503      <xsd:element name="when" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>
504      <xsd:element name="until" type="xsd:dateTime" minOccurs="0" 
505        maxOccurs="1"/>
506    </xsd:sequence>
507  </xsd:complexType>
508
[bde2217]509  <xsd:complexType name="accessResponseType">
[6ff0b91]510    <xsd:annotation>
511      <xsd:documentation>
[2dafa0c]512        Response to an access request.  Includes the allocation, the
513        information needed to access creation and experiment services
514        and scheduling information.
[6ff0b91]515      </xsd:documentation>
516    </xsd:annotation>
517    <xsd:sequence>
518      <xsd:element name="allocID" type="tns:IDType"/>
[c122b0c]519      <xsd:element name="service" type="tns:serviceInfoType" minOccurs="0"
520        maxOccurs="unbounded" />
[6ff0b91]521      <xsd:element name="when" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>
522      <xsd:element name="until" type="xsd:dateTime" minOccurs="0" 
523        maxOccurs="1"/>
[c122b0c]524      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
525        maxOccurs="unbounded"/>
[6ff0b91]526    </xsd:sequence>
527  </xsd:complexType>
528
[d81971a]529  <xsd:complexType name="releaseRequestType">
530    <xsd:annotation>
531      <xsd:documentation>
532        A request to release the access rights allocated by an earlier
533        RequestAccess call.
534      </xsd:documentation>
535    </xsd:annotation>
536    <xsd:sequence>
537      <xsd:element name="allocID" type="tns:IDType"/>
538    </xsd:sequence>
539  </xsd:complexType>
540
541  <xsd:complexType name="releaseResponseType">
542    <xsd:annotation>
543      <xsd:documentation>
544        Indication that the access has been terminated.
545      </xsd:documentation>
546    </xsd:annotation>
547    <xsd:sequence>
548      <xsd:element name="allocID" type="tns:IDType"/>
549    </xsd:sequence>
550  </xsd:complexType>
551
[6679c122]552  <xsd:complexType name="createRequestType">
553    <xsd:annotation>
554      <xsd:documentation>
[2dafa0c]555        A request to embed a federated experiment across testbeds.  Non-
556        standard local names for testbeds are included in the
557        testbedmap, the user making the request, the experiment
558        description, master testbed, and a suggested experiment name are
559        included.  More than one name can be suggested, either as
560        synonyms (a fedid and a localname) or as choices (multiple
561        localnames).
[6679c122]562      </xsd:documentation>
563    </xsd:annotation>
564    <xsd:sequence>
565      <xsd:element name="testbedmap" type="tns:mapType" minOccurs="0"
566        maxOccurs="unbounded"/>
[3925b50]567      <xsd:element name="experimentdescription" 
568        type="tns:experimentDescriptionType"/>
[43197eb]569      <xsd:element name="service" type="tns:createServiceInfoType" minOccurs="0"
[5f6929a]570        maxOccurs="unbounded" />
[7b26c39]571      <xsd:element name="experimentID" type="tns:IDType"/>
[6679c122]572    </xsd:sequence>
573  </xsd:complexType>
574
575  <xsd:complexType name="createResponseType">
576    <xsd:annotation>
577      <xsd:documentation>
[c122b0c]578        Returned to let the caller know that the request is underway.
[6679c122]579      </xsd:documentation>
580    </xsd:annotation>
581    <xsd:sequence>
[e40c7ee]582      <xsd:element name="experimentID" type="tns:IDType" minOccurs="1"
583        maxOccurs="unbounded"/>
[bd3e314]584      <xsd:element name="experimentStatus" type="tns:statusType"/>
[6679c122]585    </xsd:sequence>
586  </xsd:complexType>
587
[987aaa1]588  <xsd:complexType name="vtopoRequestType">
589    <xsd:annotation>
590      <xsd:documentation>
[2dafa0c]591        Request for an existing experiment's virtual topology.
592        Different information may be returned based on the user's rights
593        to see the topology.
[987aaa1]594      </xsd:documentation>
595    </xsd:annotation>
596    <xsd:sequence>
597      <xsd:element name="experiment" type="tns:IDType"/>
598    </xsd:sequence>
599  </xsd:complexType>
600
601  <xsd:complexType name="vtopoResponseType">
602    <xsd:annotation>
603      <xsd:documentation>
[2dafa0c]604        The response to a topology request.  Different information may
605        be returned based on the user's rights to see the topology.
[987aaa1]606      </xsd:documentation>
607    </xsd:annotation>
608    <xsd:sequence>
609      <xsd:element name="experiment" type="tns:IDType"/>
610      <xsd:element name="vtopo" type="tns:vtopoType"/>
611    </xsd:sequence>
612  </xsd:complexType>
613
614
615  <xsd:complexType name="visRequestType">
616    <xsd:annotation>
617      <xsd:documentation>
[2dafa0c]618        Request for an existing experiment's visualization.  This is
619        largely a compatibility service.  Different information may be
620        returned based on the user's rights to see the topology.
[987aaa1]621      </xsd:documentation>
622    </xsd:annotation>
623    <xsd:sequence>
624      <xsd:element name="experiment" type="tns:IDType"/>
625    </xsd:sequence>
626  </xsd:complexType>
627
628  <xsd:complexType name="visResponseType">
629    <xsd:annotation>
630      <xsd:documentation>
[2dafa0c]631        An existing experiment's visualization.  This is largely a
632        compatibility service.  Different information may be returned
633        based on the user's rights to see the topology.
[987aaa1]634      </xsd:documentation>
635    </xsd:annotation>
636    <xsd:sequence>
637      <xsd:element name="experiment" type="tns:IDType"/>
638      <xsd:element name="vis" type="tns:visType"/>
639    </xsd:sequence>
640  </xsd:complexType>
641
[c52c48d]642  <xsd:complexType name="infoRequestType">
643    <xsd:annotation>
644      <xsd:documentation>
[2dafa0c]645        A combined topology, visualalization, and federant request.
646        Different information may be returned based on the user's rights
[bd3e314]647        to see the topology.
648      </xsd:documentation>
[c52c48d]649    </xsd:annotation>
650    <xsd:sequence>
651      <xsd:element name="experiment" type="tns:IDType"/>
652    </xsd:sequence>
653  </xsd:complexType>
654
[c122b0c]655  <!-- This needs to go away as well.  It's only part of an infoResponseType,
656  which needs to be reworked overall -->
657  <xsd:complexType name="federatedExperimentType">
658    <xsd:annotation>
659      <xsd:documentation>
660        Naming and Emulab instantiation information about a federant.
661        This is returned by various informational requests and as part
662        of a successful creation message.
663      </xsd:documentation>
664    </xsd:annotation>
665    <xsd:sequence>
666      <xsd:element name="name" type="tns:IDType" minOccurs="1" 
667        maxOccurs="unbounded"/>
668    </xsd:sequence>
669  </xsd:complexType>
670
671  <!-- end go away -->
672
[4e00f7c]673  <xsd:complexType name="embeddingMapType">
674    <xsd:annotation>
675      <xsd:documentation>
676        A mapping between a name in the topology and the physical resource to
677        which it has been mapped.
678      </xsd:documentation>
679    </xsd:annotation>
680    <xsd:sequence>
681      <xsd:element name="toponame" type="xsd:string"/>
682      <xsd:element name="physname" type="xsd:string" minOccurs="0" 
683        maxOccurs="unbounded"/>
684      <xsd:element name="testbed" type="xsd:string" minOccurs="0" 
685        maxOccurs="1"/>
686    </xsd:sequence>
687  </xsd:complexType>
688
[c52c48d]689  <xsd:complexType name="infoResponseType">
690    <xsd:annotation>
691      <xsd:documentation>
[bd3e314]692        Information on an instantiated experiment.  Different information may
693        be returned based on the user's rights to see the topology.  Includes
694        the information about federants hosting sub-experiments for service
695        access as well as virtual topology and visualization information.  All
696        that information is relative to the requester.  ExperimentAccess
697        includes credentials with which one can access the experiment.  These
698        may include a public key necessary to prove possession of the
699        credential and should be treated with care.
[c52c48d]700      </xsd:documentation>
701    </xsd:annotation>
702    <xsd:sequence>
703      <xsd:element name="federant" type="tns:federatedExperimentType" 
[bd3e314]704        minOccurs="0" maxOccurs="unbounded"/>
[c52c48d]705      <xsd:element name="vtopo" type="tns:vtopoType" minOccurs="0"
706        maxOccurs="1"/>
707      <xsd:element name="vis" type="tns:visType" minOccurs="0"
708        maxOccurs="1"/>
709      <xsd:element name="experimentID" type="tns:IDType" minOccurs="1"
710        maxOccurs="unbounded"/>
[bd3e314]711      <xsd:element name="allocationLog" type="xsd:string" minOccurs="0" 
712        maxOccurs="1"/>
713      <xsd:element name="experimentStatus" type="tns:statusType"/>
714      <xsd:element name="experimentAccess" type="tns:accessType" minOccurs="0"
715        maxOccurs="1"/>
[76bcab2]716      <xsd:element name="experimentdescription" 
717        type="tns:experimentDescriptionType" minOccurs="0" maxOccurs="1"/>
[4e00f7c]718      <xsd:element name="embedding" type="tns:embeddingMapType" minOccurs="0"
719        maxOccurs="unbounded"/>
[c52c48d]720    </xsd:sequence>
721  </xsd:complexType>
722
[65f3f29]723
724  <xsd:complexType name="multiInfoRequestType">
725    <xsd:annotation>
726      <xsd:documentation>
727        Gets all information that this user can access on this fedd.
728      </xsd:documentation>
729    </xsd:annotation>
730    <xsd:sequence>
731    </xsd:sequence>
732  </xsd:complexType>
733
734  <xsd:complexType name="multiInfoResponseType">
735    <xsd:annotation>
736      <xsd:documentation>
737        Multi info response.  A list of infoResponses
738      </xsd:documentation>
739    </xsd:annotation>
740    <xsd:sequence>
741      <xsd:element name="info" type="tns:infoResponseType" minOccurs="0"
742        maxOccurs="unbounded"/>
743    </xsd:sequence>
744  </xsd:complexType>
745
[7a8d667]746  <xsd:complexType name="terminateRequestType">
747    <xsd:annotation>
748      <xsd:documentation>
[2dafa0c]749        Request to terminate an experiment.
[7a8d667]750      </xsd:documentation>
751    </xsd:annotation>
752    <xsd:sequence>
753      <xsd:element name="experiment" type="tns:IDType"/>
[ca489e8]754      <xsd:element name="force" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
[7a8d667]755    </xsd:sequence>
756  </xsd:complexType>
757
758  <xsd:complexType name="terminateResponseType">
759    <xsd:annotation>
760      <xsd:documentation>
[2dafa0c]761        Indication that the experiment has been terminated.
[7a8d667]762      </xsd:documentation>
763    </xsd:annotation>
764    <xsd:sequence>
765      <xsd:element name="experiment" type="tns:IDType"/>
[46e4682]766      <xsd:element name="deallocationLog" type="xsd:string" minOccurs="0"
767        maxOccurs="1"/>
[7a8d667]768    </xsd:sequence>
769  </xsd:complexType>
770
[66861a2]771  <xsd:complexType name="startSegmentRequestType">
772    <xsd:annotation>
773      <xsd:documentation>
774        Request a testbed to create a segment in the given allocation
775      </xsd:documentation>
776    </xsd:annotation>
777    <xsd:sequence>
778      <xsd:element name="allocID" type="tns:IDType"/>
779      <xsd:element name="segmentdescription" 
780        type="tns:experimentDescriptionType"/>
[c122b0c]781      <xsd:element name="service" type="tns:serviceInfoType" minOccurs="0"
782        maxOccurs="unbounded" />
[8d85187]783      <xsd:element name="connection" type="tns:connectionInfoType" 
[c122b0c]784        minOccurs="0" maxOccurs="unbounded"/>
[66861a2]785      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
786        maxOccurs="unbounded"/>
787    </xsd:sequence>
788  </xsd:complexType>
789
790  <xsd:complexType name="startSegmentResponseType">
791    <xsd:annotation>
792      <xsd:documentation>
793        Indication that the segment started successfully
794      </xsd:documentation>
795    </xsd:annotation>
796    <xsd:sequence>
797      <xsd:element name="allocID" type="tns:IDType"/>
798      <xsd:element name="allocationLog" type="xsd:string" minOccurs="0"
799        maxOccurs="1"/>
[76bcab2]800      <xsd:element name="segmentdescription" 
801        type="tns:experimentDescriptionType"/>
[4e00f7c]802      <xsd:element name="embedding" type="tns:embeddingMapType" minOccurs="0"
803        maxOccurs="unbounded"/>
[ae0f69a]804      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
805        maxOccurs="unbounded"/>
[66861a2]806    </xsd:sequence>
807  </xsd:complexType>
808
[2b7d768]809  <xsd:complexType name="terminateSegmentRequestType">
810    <xsd:annotation>
811      <xsd:documentation>
812        Request to terminate an experiment.
813      </xsd:documentation>
814    </xsd:annotation>
815    <xsd:sequence>
816      <xsd:element name="allocID" type="tns:IDType"/>
817      <xsd:element name="force" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
818    </xsd:sequence>
819  </xsd:complexType>
820
821  <xsd:complexType name="terminateSegmentResponseType">
822    <xsd:annotation>
823      <xsd:documentation>
824        Indication that the experiment has been terminated.
825      </xsd:documentation>
826    </xsd:annotation>
827    <xsd:sequence>
828      <xsd:element name="allocID" type="tns:IDType"/>
829      <xsd:element name="deallocationLog" type="xsd:string" minOccurs="0"
830        maxOccurs="1"/>
831    </xsd:sequence>
832  </xsd:complexType>
833
[5f6929a]834  <xsd:complexType name="ns2TopdlRequestType">
[4700b3b]835    <xsd:annotation>
836      <xsd:documentation>
[5f6929a]837        Request to run the CEDL to topdl translator remotely.  This is
838        primarily an internal interface.
[4700b3b]839      </xsd:documentation>
840    </xsd:annotation>
841    <xsd:sequence>
842      <xsd:element name="description" type="tns:experimentDescriptionType"/>
843    </xsd:sequence>
844  </xsd:complexType>
845
[5f6929a]846  <xsd:complexType name="ns2TopdlResponseType">
[4700b3b]847    <xsd:annotation>
848      <xsd:documentation>
[5f6929a]849        Translator splitter output.  Also an internal interface
[4700b3b]850      </xsd:documentation>
851    </xsd:annotation>
852    <xsd:sequence>
[66861a2]853      <xsd:element name="experimentdescription" 
854        type="tns:experimentDescriptionType"/>
[4700b3b]855    </xsd:sequence>
856  </xsd:complexType>
857
[2761484]858  <xsd:complexType name="setValueRequestType">
859    <xsd:annotation>
860      <xsd:documentation>
861        Request to set a shared value.
862      </xsd:documentation>
863    </xsd:annotation>
864    <xsd:sequence>
865      <xsd:element name="name" type="xsd:string"/> 
866      <xsd:element name="value" type="xsd:string"/> 
867    </xsd:sequence>
868  </xsd:complexType>
869
870  <xsd:complexType name="setValueResponseType">
871    <xsd:annotation>
872      <xsd:documentation>
873        Request to set a shared value.
874      </xsd:documentation>
875    </xsd:annotation>
876    <xsd:sequence>
877      <xsd:element name="name" type="xsd:string"/> 
878      <xsd:element name="value" type="xsd:string"/> 
879    </xsd:sequence>
880  </xsd:complexType>
881
882  <xsd:complexType name="getValueRequestType">
883    <xsd:annotation>
884      <xsd:documentation>
885        Request to set a shared value.
886      </xsd:documentation>
887    </xsd:annotation>
888    <xsd:sequence>
889      <xsd:element name="name" type="xsd:string"/> 
890      <xsd:element name="wait" type="xsd:boolean"/> 
891    </xsd:sequence>
892  </xsd:complexType>
893
894  <xsd:complexType name="getValueResponseType">
895    <xsd:annotation>
896      <xsd:documentation>
897        Request to set a shared value.
898      </xsd:documentation>
899    </xsd:annotation>
900    <xsd:sequence>
901      <xsd:element name="name" type="xsd:string"/> 
902      <xsd:element name="value" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
903    </xsd:sequence>
904  </xsd:complexType>
[7a8d667]905
[bb3769a]906  <xsd:complexType name="faultType">
[2dafa0c]907    <xsd:annotation>
908      <xsd:documentation>
909        Indication that a service has failed.  The code values are
910
911          1 access denied
912          2 proxy error
913          3 badly formed request
914          4 server configuration error
915          5 internal error
916          6 partial instantiation
917          7 federant error
918
919        Errstr contains the text above corresponding to the code.  Code
920        is always present.  Desc provides additional human-readable data
921        about the error.
922      </xsd:documentation>
923    </xsd:annotation>
[bb3769a]924    <xsd:sequence>
[0c0b13c]925      <xsd:element name="code" type="xsd:int">
926        <xsd:restriction>
927          <xsd:enumeration value="1"/>  <!-- access denied -->
[058f58e]928          <xsd:enumeration value="2"/>  <!-- protocol error -->
[0c0b13c]929          <xsd:enumeration value="3"/>  <!-- badly formed request -->
[3441fe3]930          <xsd:enumeration value="4"/>  <!-- server configuration error -->
931          <xsd:enumeration value="5"/>  <!-- internal error -->
932          <xsd:enumeration value="6"/>  <!-- partial instantiation -->
933          <xsd:enumeration value="7"/>  <!-- federant error -->
[9d3e646]934          <xsd:enumeration value="8"/>  <!-- connect error -->
[0c0b13c]935        </xsd:restriction>
936      </xsd:element>
937      <xsd:element name="errstr" minOccurs="0" maxOccurs="1" type="xsd:string">
938      </xsd:element>
[bb3769a]939      <xsd:element name="desc" type="xsd:string"/>
940    </xsd:sequence>
941  </xsd:complexType>
[6ff0b91]942</xsd:schema>
Note: See TracBrowser for help on using the repository browser.