source: wsdl/fedd_types.xsd @ 3bddd24

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

moving toward credentials, and away from emulab specifics

  • Property mode set to 100644
File size: 26.6 KB
Line 
1<?xml version="1.0"?>
2<xsd:schema targetNamespace="http://www.isi.edu/faber/fedd_types"
3  xmlns:tns="http://www.isi.edu/faber/fedd_types"
4  xmlns:topdl="http://www.isi.edu/faber/topdl"
5  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6  xmlns="http://www.w3.org/2000/10/XMLSchema">
7
8  <xsd:complexType name="IDType">
9    <xsd:annotation>
10      <xsd:documentation>
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.
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"/>
20      <xsd:element name="localname" type="xsd:string"/>
21      <xsd:element name="kerberosUsername" type="xsd:string"/>
22    </xsd:choice>
23  </xsd:complexType>
24
25  <xsd:complexType name="nodeType">
26    <xsd:annotation>
27      <xsd:documentation>
28        A node from an Emulab.  It may have 0 or more images or hardware
29        types associated with it.  As this description is used for
30        acquiring access to the testbed in question, multiple images or
31        types are considered options.  Specifying multiple image names
32        indicates that the requester is looking for support for any of
33        them.
34      </xsd:documentation>
35    </xsd:annotation>
36    <xsd:sequence>
37      <xsd:element name="image" type="xsd:string" minOccurs="0"
38        maxOccurs="unbounded"/>
39      <xsd:element name="hardware" type="xsd:string" minOccurs="0"
40        maxOccurs="unbounded"/>
41    </xsd:sequence>
42    <xsd:attribute name="count" type="xsd:int" use="optional"/>
43  </xsd:complexType>
44
45  <xsd:simpleType name="kindType">
46    <xsd:annotation>
47      <xsd:documentation>
48        An indication of how requested networking capacity is measured.
49        This will undoubtably expand.
50      </xsd:documentation>
51    </xsd:annotation>
52    <xsd:restriction base="xsd:string">
53      <xsd:enumeration value="max"/>
54      <xsd:enumeration value="average"/>
55    </xsd:restriction>
56  </xsd:simpleType>
57
58  <xsd:simpleType name="statusType">
59    <xsd:annotation>
60      <xsd:documentation>
61        The current state of the experiment.
62      </xsd:documentation>
63    </xsd:annotation>
64    <xsd:restriction base="xsd:string">
65      <xsd:enumeration value="empty"/>
66      <xsd:enumeration value="active"/>
67      <xsd:enumeration value="starting"/>
68      <xsd:enumeration value="terminating"/>
69      <xsd:enumeration value="failed"/>
70    </xsd:restriction>
71  </xsd:simpleType>
72
73  <xsd:complexType name="capacityType">
74    <xsd:annotation>
75      <xsd:documentation>
76        A strawman network capacity description for access negotiation.
77        This will come to include more and more interesting parameters.
78      </xsd:documentation>
79    </xsd:annotation>
80    <xsd:sequence>
81      <xsd:element name="rate" type="xsd:double"/>
82      <xsd:element name="kind" type="tns:kindType"/>
83    </xsd:sequence>
84  </xsd:complexType>
85
86  <xsd:complexType name="accessType">
87    <xsd:annotation>
88      <xsd:documentation>
89        This captures an access credential that will be used to access
90        resources.  These are certificates or public keys.  The type is
91        used to designate the key to which access should be bound, or on
92        a reply has been bound.  Dynamic credentials where new keys have
93        been created may also be passed in this kind of field.
94      </xsd:documentation>
95    </xsd:annotation>
96    <xsd:choice>
97      <xsd:element name="X509" type="xsd:base64Binary"/>
98      <xsd:element name="sshPubkey" type="xsd:base64Binary"/>
99      <xsd:element name="pgpPubkey" type="xsd:base64Binary"/>
100    </xsd:choice>
101  </xsd:complexType>
102
103  <xsd:simpleType name="userRole">
104    <xsd:annotation>
105      <xsd:documentation>
106        This defines the role the user/account is playing in the
107        federated experiment.  An account being accessed by the
108        federation system to create the experiment is in the
109        experimentCreation role and the accounts that experimenters will
110        use to access local testbed services (e.g., rebooting a local
111        node) are serviceAccess roles.
112      </xsd:documentation>
113    </xsd:annotation>
114    <xsd:restriction base="xsd:string">
115      <xsd:enumeration value="serviceAccess"/>
116      <xsd:enumeration value="experimentCreation"/>
117    </xsd:restriction>
118  </xsd:simpleType>
119
120
121  <xsd:complexType name="userType">
122    <xsd:annotation>
123      <xsd:documentation>
124        The definition of a user principal.  It includes the
125        identification of the user as an ID type, the access credential(s)
126        that the user will use, and the role of the user, if any.
127        Multiple access keys may be used, and it is also possible for
128        the user to be anonymous.  Though it is possible to specify a
129        user without ID, access, or role, it is difficult to imagine
130        such a user being useful.
131      </xsd:documentation>
132    </xsd:annotation>
133    <xsd:sequence>
134      <xsd:element name="userID" type="tns:IDType" minOccurs="0"
135        maxOccurs="1"/>
136      <xsd:element name="access" type="tns:accessType" minOccurs="0"
137        maxOccurs="unbounded"/>
138      <xsd:element name="role" type="tns:userRole" minOccurs="0" maxOccurs="1"/>
139    </xsd:sequence>
140  </xsd:complexType>
141
142  <xsd:complexType name="fedAttrType">
143    <xsd:annotation>
144      <xsd:documentation>
145        A general attribute/value pair for passing federation parameters and
146        preferences.  Anything encodable in XML is allowed.  This is a
147        point for customization and extension.
148      </xsd:documentation>
149    </xsd:annotation>
150    <xsd:sequence>
151      <xsd:element name="attribute" type="xsd:string"/>
152      <xsd:element name="value" type="xsd:string"/>
153    </xsd:sequence>
154  </xsd:complexType>
155
156
157  <xsd:complexType name="resourcesType">
158    <xsd:annotation>
159      <xsd:documentation>
160        The estimate of resources a requester is looking for, or the
161        response of a testbed indicating what it can provide.  This is
162        something of a placeholder for a full resource specification,
163        and alternative encodings are likely to be imported.
164      </xsd:documentation>
165    </xsd:annotation>
166    <xsd:sequence>
167      <xsd:element name="node" type="tns:nodeType" minOccurs="0"
168        maxOccurs="unbounded" />
169      <xsd:element name="capacity" type="tns:capacityType" minOccurs="0"
170        maxOccurs="unbounded"/>
171    </xsd:sequence>
172  </xsd:complexType>
173
174  <xsd:complexType name="mapType">
175    <xsd:annotation>
176      <xsd:documentation>
177        Explicit translation of testbed attribute in a federated experiment
178        description to the URI at which the controlling federation
179        system can be reached.  Used in a creation request.
180
181        This type allows tools to encode experiments in familiar local
182        names for experimenters while providing remote federation
183        systems the information to map the local name into a service
184        location.
185      </xsd:documentation>
186    </xsd:annotation>
187    <xsd:sequence>
188      <xsd:element name="testbed" type="tns:IDType"/>
189      <xsd:element name="uri" type="xsd:string"/>
190    </xsd:sequence>
191  </xsd:complexType>
192
193
194  <xsd:complexType name="projectType">
195    <xsd:annotation>
196      <xsd:documentation>
197        A description of the project used to access a testbed.  Includes
198        the testbed being accessed, the project name (often a local
199        name, scoped by the testbed), and any users who have been
200        granted access or for whom access is being requested.
201      </xsd:documentation>
202    </xsd:annotation>
203    <xsd:sequence>
204      <xsd:element name="testbed" type="tns:IDType" minOccurs="0"
205        maxOccurs="1"/>
206      <xsd:element name="name" type="tns:IDType" minOccurs="0" maxOccurs="1"/>
207      <xsd:element name="user" type="tns:userType" minOccurs="0"
208        maxOccurs="unbounded"/>
209    </xsd:sequence>
210  </xsd:complexType>
211
212  <xsd:complexType name="emulabType">
213    <xsd:annotation>
214      <xsd:documentation>
215        A description of an Emulab sufficient for the federation system
216        to create a sub experiment on it.  Note that fedAttrs provide an
217        extension mechanism by which testbeds may communicate additional
218        information and preferences to federation systems that
219        understand it.
220      </xsd:documentation>
221    </xsd:annotation>
222    <xsd:sequence>
223      <xsd:element name="project" type="tns:projectType"/>
224      <xsd:element name="domain" type="xsd:string"/>
225      <xsd:element name="boss" type="xsd:string"/>
226      <xsd:element name="ops" type="xsd:string"/>
227      <xsd:element name="fileServer" type="xsd:string"/>
228      <xsd:element name="eventServer" type="xsd:string"/>
229      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
230        maxOccurs="unbounded"/>
231    </xsd:sequence>
232  </xsd:complexType>
233
234  <xsd:complexType name="federatedExperimentType">
235    <xsd:annotation>
236      <xsd:documentation>
237        Naming and Emulab instantiation information about a federant.
238        This is returned by various informational requests and as part
239        of a successful creation message.
240      </xsd:documentation>
241    </xsd:annotation>
242    <xsd:sequence>
243      <xsd:element name="name" type="tns:IDType" minOccurs="1" 
244        maxOccurs="unbounded"/>
245      <xsd:element name="emulab" type="tns:emulabType" minOccurs="0" 
246        maxOccurs="1"/>
247      <xsd:element name="master" type="xsd:boolean"/>
248    </xsd:sequence>
249  </xsd:complexType>
250
251
252  <xsd:complexType name="vtoponodeType">
253    <xsd:annotation>
254      <xsd:documentation>
255        Node in the virtual topology of a federated experiment (Emulab
256        legacy).  The fields are the local hostname and the IP addresses
257        of the experimental interfaces(colon-separated).
258      </xsd:documentation>
259    </xsd:annotation>
260    <xsd:sequence>
261      <xsd:element name="vname" type="xsd:string"/>
262      <xsd:element name="ips" type="xsd:string"/>
263    </xsd:sequence>
264  </xsd:complexType>
265
266  <xsd:complexType name="vtopolanType">
267    <xsd:annotation>
268      <xsd:documentation>
269        LAN in the virtual topology of a federated experiment (Emulab legacy).
270        The fields are the name of the LAN/link (vname) the node that
271        this description applies to (vnode), the IP of the connection,
272        and performance information.
273      </xsd:documentation>
274    </xsd:annotation>
275    <xsd:sequence>
276      <xsd:element name="vname" type="xsd:string"/>
277      <xsd:element name="vnode" type="xsd:string"/>
278      <xsd:element name="ip" type="xsd:string"/>
279      <xsd:element name="bandwidth" type="xsd:int"/>
280      <xsd:element name="delay" type="xsd:float"/>
281      <xsd:element name="member" type="xsd:string"/>
282    </xsd:sequence>
283  </xsd:complexType>
284
285  <xsd:complexType name="vtopoType">
286    <xsd:annotation>
287      <xsd:documentation>
288        The virtual topology of a federated experiment (Emulab legacy).
289      </xsd:documentation>
290    </xsd:annotation>
291    <xsd:sequence>
292      <xsd:element name="node" type="tns:vtoponodeType" minOccurs="0" 
293        maxOccurs="unbounded" />
294      <xsd:element name="lan" type="tns:vtopolanType" minOccurs="0"
295        maxOccurs="unbounded"/>
296    </xsd:sequence>
297  </xsd:complexType>
298
299  <xsd:complexType name="visnodeType">
300    <xsd:annotation>
301      <xsd:documentation>
302        Node in the visualization of a federated experiment (Emulab
303        legacy).  Fields include the local hostname of the node, x,y
304        coordinates in a 2-dimensional representation, and whether the
305        node in the visualization is a host or a LAN.
306      </xsd:documentation>
307    </xsd:annotation>
308    <xsd:sequence>
309      <xsd:element name="name" type="xsd:string"/>
310      <xsd:element name="x" type="xsd:int"/>
311      <xsd:element name="y" type="xsd:int"/>
312      <xsd:element name="type" type="xsd:string"/>
313    </xsd:sequence>
314  </xsd:complexType>
315
316  <xsd:complexType name="visType">
317    <xsd:annotation>
318      <xsd:documentation>
319        The visualization of a federated experiment (Emulab legacy)
320      </xsd:documentation>
321    </xsd:annotation>
322    <xsd:sequence>
323      <xsd:element name="node" type="tns:visnodeType" minOccurs="0"
324        maxOccurs="unbounded"/>
325    </xsd:sequence>
326  </xsd:complexType>
327
328  <xsd:complexType name="projectAllocType">
329    <xsd:annotation>
330      <xsd:documentation>
331        The information needed to create a dynamic project, specifically
332        a project description and the resources in needs access to.
333        This is used by an internal fedd interface.
334      </xsd:documentation>
335    </xsd:annotation>
336    <xsd:sequence>
337      <xsd:element name="project" type="tns:projectType"/>
338      <xsd:element name="resources" type="tns:resourcesType" 
339        minOccurs="0" maxOccurs="1"/>
340    </xsd:sequence>
341  </xsd:complexType>
342
343  <xsd:complexType name="experimentDescriptionType">
344    <xsd:annotation>
345      <xsd:documentation>
346        The description of the federated experiment, in extended ns2.
347      </xsd:documentation>
348    </xsd:annotation>
349    <xsd:choice>
350      <xsd:element name="ns2description" type="xsd:base64Binary"/>
351      <xsd:element name="topdldescription" type="topdl:topologyType"/>
352    </xsd:choice>
353  </xsd:complexType>
354
355  <xsd:complexType name="newRequestType">
356    <xsd:annotation>
357      <xsd:documentation>
358        Request for an experiment to which credentials can be delegated and
359        resources attached.  A local name may be included as a human readable
360        accessor, local to this experiment controller.  It is a suggestion and
361        may be modified.  experimentID can only be a local name.
362
363        Credentials are seed credentials to begin the proof.
364      </xsd:documentation>
365    </xsd:annotation>
366    <xsd:sequence>
367      <xsd:element name="experimentID" type="tns:IDType" minOccurs="0" 
368        maxOccurs="1"/>
369      <xsd:element name="credential" type="xsd:base64Binary" minOccurs="0" 
370        maxOccurs="unbounded"/>
371    </xsd:sequence>
372  </xsd:complexType>
373
374  <xsd:complexType name="newResponseType">
375    <xsd:annotation>
376      <xsd:documentation>
377        Result of a new experiment creation.  A successful sreation will have
378        an experimentState of "empty", 2 experimentIDs, one a fedid and one a
379        local name, and an experimentAccess that allows the creator to act as
380        the experiment.
381      </xsd:documentation>
382    </xsd:annotation>
383    <xsd:sequence>
384      <xsd:element name="experimentID" type="tns:IDType" minOccurs="0" 
385        maxOccurs="unbounded"/>
386      <xsd:element name="experimentStatus" type="tns:statusType"/>
387      <xsd:element name="experimentAccess" type="tns:accessType"/>
388    </xsd:sequence>
389  </xsd:complexType>
390
391  <xsd:complexType name="requestType">
392    <xsd:annotation>
393      <xsd:documentation>
394        Request for access to a testbed.  It includes the testbed from
395        which resources are being requested (a single service may
396        provide access to many), the user or project requesting access
397        (a testbed making the request will leave both empty), the
398        resources needed, the access keys to be used in the subsequent
399        instantiation and service use, an allocation ID to identify this
400        access in later requests, and scheduling information.
401      </xsd:documentation>
402    </xsd:annotation>
403    <xsd:sequence>
404      <xsd:element name="destinationTestbed" type="tns:IDType"
405        minOccurs="0" maxOccurs="1" />
406      <xsd:element name="credential" type="xsd:string" minOccurs="0"
407        maxOccurs="unbounded"/>
408      <xsd:element name="resources" type="tns:resourcesType" minOccurs="0" 
409        maxOccurs="1"/>
410      <xsd:element name="exportProject" type="tns:IDType" 
411        minOccurs="0" maxOccurs="1"/>
412      <xsd:element name="allocID" type="tns:IDType"/>
413      <xsd:element name="when" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>
414      <xsd:element name="until" type="xsd:dateTime" minOccurs="0" 
415        maxOccurs="1"/>
416    </xsd:sequence>
417  </xsd:complexType>
418
419  <xsd:complexType name="responseType">
420    <xsd:annotation>
421      <xsd:documentation>
422        Response to an access request.  Includes the allocation, the
423        information needed to access creation and experiment services
424        and scheduling information.
425      </xsd:documentation>
426    </xsd:annotation>
427    <xsd:sequence>
428      <xsd:element name="allocID" type="tns:IDType"/>
429      <xsd:element name="emulab" type="tns:emulabType" minOccurs="0" maxOccurs="1"/>
430      <xsd:element name="when" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>
431      <xsd:element name="until" type="xsd:dateTime" minOccurs="0" 
432        maxOccurs="1"/>
433    </xsd:sequence>
434  </xsd:complexType>
435
436  <xsd:complexType name="releaseRequestType">
437    <xsd:annotation>
438      <xsd:documentation>
439        A request to release the access rights allocated by an earlier
440        RequestAccess call.
441      </xsd:documentation>
442    </xsd:annotation>
443    <xsd:sequence>
444      <xsd:element name="allocID" type="tns:IDType"/>
445    </xsd:sequence>
446  </xsd:complexType>
447
448  <xsd:complexType name="releaseResponseType">
449    <xsd:annotation>
450      <xsd:documentation>
451        Indication that the access has been terminated.
452      </xsd:documentation>
453    </xsd:annotation>
454    <xsd:sequence>
455      <xsd:element name="allocID" type="tns:IDType"/>
456    </xsd:sequence>
457  </xsd:complexType>
458
459  <xsd:complexType name="createRequestType">
460    <xsd:annotation>
461      <xsd:documentation>
462        A request to embed a federated experiment across testbeds.  Non-
463        standard local names for testbeds are included in the
464        testbedmap, the user making the request, the experiment
465        description, master testbed, and a suggested experiment name are
466        included.  More than one name can be suggested, either as
467        synonyms (a fedid and a localname) or as choices (multiple
468        localnames).
469      </xsd:documentation>
470    </xsd:annotation>
471    <xsd:sequence>
472      <xsd:element name="testbedmap" type="tns:mapType" minOccurs="0"
473        maxOccurs="unbounded"/>
474      <!-- this can go away pretty quickly, I think -->
475      <xsd:element name="user" type="tns:userType" minOccurs="1"
476        maxOccurs="unbounded"/>
477      <xsd:element name="experimentdescription" 
478        type="tns:experimentDescriptionType"/>
479      <xsd:element name="master" type="xsd:string"/>
480      <xsd:element name='exportProject' type="tns:IDType"/>
481      <xsd:element name="experimentID" type="tns:IDType"/>
482    </xsd:sequence>
483  </xsd:complexType>
484
485  <xsd:complexType name="createResponseType">
486    <xsd:annotation>
487      <xsd:documentation>
488        Returned to let the caller know that the request is underway and what
489        credentials will eventauly be able to be used to access them.
490      </xsd:documentation>
491    </xsd:annotation>
492    <xsd:sequence>
493      <xsd:element name="experimentID" type="tns:IDType" minOccurs="1"
494        maxOccurs="unbounded"/>
495      <xsd:element name="experimentStatus" type="tns:statusType"/>
496    </xsd:sequence>
497  </xsd:complexType>
498
499  <xsd:complexType name="vtopoRequestType">
500    <xsd:annotation>
501      <xsd:documentation>
502        Request for an existing experiment's virtual topology.
503        Different information may be returned based on the user's rights
504        to see the topology.
505      </xsd:documentation>
506    </xsd:annotation>
507    <xsd:sequence>
508      <xsd:element name="experiment" type="tns:IDType"/>
509    </xsd:sequence>
510  </xsd:complexType>
511
512  <xsd:complexType name="vtopoResponseType">
513    <xsd:annotation>
514      <xsd:documentation>
515        The response to a topology request.  Different information may
516        be returned based on the user's rights to see the topology.
517      </xsd:documentation>
518    </xsd:annotation>
519    <xsd:sequence>
520      <xsd:element name="experiment" type="tns:IDType"/>
521      <xsd:element name="vtopo" type="tns:vtopoType"/>
522    </xsd:sequence>
523  </xsd:complexType>
524
525
526  <xsd:complexType name="visRequestType">
527    <xsd:annotation>
528      <xsd:documentation>
529        Request for an existing experiment's visualization.  This is
530        largely a compatibility service.  Different information may be
531        returned based on the user's rights to see the topology.
532      </xsd:documentation>
533    </xsd:annotation>
534    <xsd:sequence>
535      <xsd:element name="experiment" type="tns:IDType"/>
536    </xsd:sequence>
537  </xsd:complexType>
538
539  <xsd:complexType name="visResponseType">
540    <xsd:annotation>
541      <xsd:documentation>
542        An existing experiment's visualization.  This is largely a
543        compatibility service.  Different information may be returned
544        based on the user's rights to see the topology.
545      </xsd:documentation>
546    </xsd:annotation>
547    <xsd:sequence>
548      <xsd:element name="experiment" type="tns:IDType"/>
549      <xsd:element name="vis" type="tns:visType"/>
550    </xsd:sequence>
551  </xsd:complexType>
552
553  <xsd:complexType name="infoRequestType">
554    <xsd:annotation>
555      <xsd:documentation>
556        A combined topology, visualalization, and federant request.
557        Different information may be returned based on the user's rights
558        to see the topology.
559      </xsd:documentation>
560    </xsd:annotation>
561    <xsd:sequence>
562      <xsd:element name="experiment" type="tns:IDType"/>
563    </xsd:sequence>
564  </xsd:complexType>
565
566  <xsd:complexType name="infoResponseType">
567    <xsd:annotation>
568      <xsd:documentation>
569        Information on an instantiated experiment.  Different information may
570        be returned based on the user's rights to see the topology.  Includes
571        the information about federants hosting sub-experiments for service
572        access as well as virtual topology and visualization information.  All
573        that information is relative to the requester.  ExperimentAccess
574        includes credentials with which one can access the experiment.  These
575        may include a public key necessary to prove possession of the
576        credential and should be treated with care.
577      </xsd:documentation>
578    </xsd:annotation>
579    <xsd:sequence>
580      <xsd:element name="federant" type="tns:federatedExperimentType" 
581        minOccurs="0" maxOccurs="unbounded"/>
582      <xsd:element name="vtopo" type="tns:vtopoType" minOccurs="0"
583        maxOccurs="1"/>
584      <xsd:element name="vis" type="tns:visType" minOccurs="0"
585        maxOccurs="1"/>
586      <xsd:element name="experimentID" type="tns:IDType" minOccurs="1"
587        maxOccurs="unbounded"/>
588      <xsd:element name="allocationLog" type="xsd:string" minOccurs="0" 
589        maxOccurs="1"/>
590      <xsd:element name="experimentStatus" type="tns:statusType"/>
591      <xsd:element name="experimentAccess" type="tns:accessType" minOccurs="0"
592        maxOccurs="1"/>
593    </xsd:sequence>
594  </xsd:complexType>
595
596
597  <xsd:complexType name="multiInfoRequestType">
598    <xsd:annotation>
599      <xsd:documentation>
600        Gets all information that this user can access on this fedd.
601      </xsd:documentation>
602    </xsd:annotation>
603    <xsd:sequence>
604    </xsd:sequence>
605  </xsd:complexType>
606
607  <xsd:complexType name="multiInfoResponseType">
608    <xsd:annotation>
609      <xsd:documentation>
610        Multi info response.  A list of infoResponses
611      </xsd:documentation>
612    </xsd:annotation>
613    <xsd:sequence>
614      <xsd:element name="info" type="tns:infoResponseType" minOccurs="0"
615        maxOccurs="unbounded"/>
616    </xsd:sequence>
617  </xsd:complexType>
618
619  <xsd:complexType name="terminateRequestType">
620    <xsd:annotation>
621      <xsd:documentation>
622        Request to terminate an experiment.
623      </xsd:documentation>
624    </xsd:annotation>
625    <xsd:sequence>
626      <xsd:element name="experiment" type="tns:IDType"/>
627      <xsd:element name="force" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
628    </xsd:sequence>
629  </xsd:complexType>
630
631  <xsd:complexType name="terminateResponseType">
632    <xsd:annotation>
633      <xsd:documentation>
634        Indication that the experiment has been terminated.
635      </xsd:documentation>
636    </xsd:annotation>
637    <xsd:sequence>
638      <xsd:element name="experiment" type="tns:IDType"/>
639      <xsd:element name="deallocationLog" type="xsd:string" minOccurs="0"
640        maxOccurs="1"/>
641    </xsd:sequence>
642  </xsd:complexType>
643
644  <xsd:complexType name="startSegmentRequestType">
645    <xsd:annotation>
646      <xsd:documentation>
647        Request a testbed to create a segment in the given allocation
648      </xsd:documentation>
649    </xsd:annotation>
650    <xsd:sequence>
651      <xsd:element name="allocID" type="tns:IDType"/>
652      <xsd:element name="segmentdescription" 
653        type="tns:experimentDescriptionType"/>
654      <xsd:element name="master" type="xsd:boolean"/>
655      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
656        maxOccurs="unbounded"/>
657    </xsd:sequence>
658  </xsd:complexType>
659
660  <xsd:complexType name="startSegmentResponseType">
661    <xsd:annotation>
662      <xsd:documentation>
663        Indication that the segment started successfully
664      </xsd:documentation>
665    </xsd:annotation>
666    <xsd:sequence>
667      <xsd:element name="allocID" type="tns:IDType"/>
668      <xsd:element name="allocationLog" type="xsd:string" minOccurs="0"
669        maxOccurs="1"/>
670      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
671        maxOccurs="unbounded"/>
672    </xsd:sequence>
673  </xsd:complexType>
674
675  <xsd:complexType name="terminateSegmentRequestType">
676    <xsd:annotation>
677      <xsd:documentation>
678        Request to terminate an experiment.
679      </xsd:documentation>
680    </xsd:annotation>
681    <xsd:sequence>
682      <xsd:element name="allocID" type="tns:IDType"/>
683      <xsd:element name="force" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
684    </xsd:sequence>
685  </xsd:complexType>
686
687  <xsd:complexType name="terminateSegmentResponseType">
688    <xsd:annotation>
689      <xsd:documentation>
690        Indication that the experiment has been terminated.
691      </xsd:documentation>
692    </xsd:annotation>
693    <xsd:sequence>
694      <xsd:element name="allocID" type="tns:IDType"/>
695      <xsd:element name="deallocationLog" type="xsd:string" minOccurs="0"
696        maxOccurs="1"/>
697    </xsd:sequence>
698  </xsd:complexType>
699
700  <xsd:complexType name="ns2SplitRequestType">
701    <xsd:annotation>
702      <xsd:documentation>
703        Request to run the CEDL splitter remotely.  This is primarily an
704        internal interface.
705      </xsd:documentation>
706    </xsd:annotation>
707    <xsd:sequence>
708      <xsd:element name="description" type="tns:experimentDescriptionType"/>
709      <xsd:element name="master" type="xsd:string"/>
710      <xsd:element name="include_fedkit" type="xsd:boolean"/>
711      <xsd:element name="include_gatewaykit" type="xsd:boolean"/>
712    </xsd:sequence>
713  </xsd:complexType>
714
715  <xsd:complexType name="ns2SplitResponseType">
716    <xsd:annotation>
717      <xsd:documentation>
718        Remote splitter output.  Also an internal interface
719      </xsd:documentation>
720    </xsd:annotation>
721    <xsd:sequence>
722      <xsd:element name="output" type="xsd:base64Binary"/>
723      <xsd:element name="experimentdescription" 
724        type="tns:experimentDescriptionType"/>
725    </xsd:sequence>
726  </xsd:complexType>
727
728
729  <xsd:complexType name="faultType">
730    <xsd:annotation>
731      <xsd:documentation>
732        Indication that a service has failed.  The code values are
733
734          1 access denied
735          2 proxy error
736          3 badly formed request
737          4 server configuration error
738          5 internal error
739          6 partial instantiation
740          7 federant error
741
742        Errstr contains the text above corresponding to the code.  Code
743        is always present.  Desc provides additional human-readable data
744        about the error.
745      </xsd:documentation>
746    </xsd:annotation>
747    <xsd:sequence>
748      <xsd:element name="code" type="xsd:int">
749        <xsd:restriction>
750          <xsd:enumeration value="1"/>  <!-- access denied -->
751          <xsd:enumeration value="2"/>  <!-- protocol error -->
752          <xsd:enumeration value="3"/>  <!-- badly formed request -->
753          <xsd:enumeration value="4"/>  <!-- server configuration error -->
754          <xsd:enumeration value="5"/>  <!-- internal error -->
755          <xsd:enumeration value="6"/>  <!-- partial instantiation -->
756          <xsd:enumeration value="7"/>  <!-- federant error -->
757          <xsd:enumeration value="8"/>  <!-- connect error -->
758        </xsd:restriction>
759      </xsd:element>
760      <xsd:element name="errstr" minOccurs="0" maxOccurs="1" type="xsd:string">
761      </xsd:element>
762      <xsd:element name="desc" type="xsd:string"/>
763    </xsd:sequence>
764  </xsd:complexType>
765</xsd:schema>
Note: See TracBrowser for help on using the repository browser.