source: wsdl/fedd_types.xsd @ bde2217

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

finally rename these into something more reasonable

  • Property mode set to 100644
File size: 26.5 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="accessRequestType">
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="accessResponseType">
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      <xsd:element name="experimentdescription" 
475        type="tns:experimentDescriptionType"/>
476      <xsd:element name="master" type="xsd:string"/>
477      <xsd:element name='exportProject' type="tns:IDType"/>
478      <xsd:element name="experimentID" type="tns:IDType"/>
479    </xsd:sequence>
480  </xsd:complexType>
481
482  <xsd:complexType name="createResponseType">
483    <xsd:annotation>
484      <xsd:documentation>
485        Returned to let the caller know that the request is underway and what
486        credentials will eventauly be able to be used to access them.
487      </xsd:documentation>
488    </xsd:annotation>
489    <xsd:sequence>
490      <xsd:element name="experimentID" type="tns:IDType" minOccurs="1"
491        maxOccurs="unbounded"/>
492      <xsd:element name="experimentStatus" type="tns:statusType"/>
493    </xsd:sequence>
494  </xsd:complexType>
495
496  <xsd:complexType name="vtopoRequestType">
497    <xsd:annotation>
498      <xsd:documentation>
499        Request for an existing experiment's virtual topology.
500        Different information may be returned based on the user's rights
501        to see the topology.
502      </xsd:documentation>
503    </xsd:annotation>
504    <xsd:sequence>
505      <xsd:element name="experiment" type="tns:IDType"/>
506    </xsd:sequence>
507  </xsd:complexType>
508
509  <xsd:complexType name="vtopoResponseType">
510    <xsd:annotation>
511      <xsd:documentation>
512        The response to a topology request.  Different information may
513        be returned based on the user's rights to see the topology.
514      </xsd:documentation>
515    </xsd:annotation>
516    <xsd:sequence>
517      <xsd:element name="experiment" type="tns:IDType"/>
518      <xsd:element name="vtopo" type="tns:vtopoType"/>
519    </xsd:sequence>
520  </xsd:complexType>
521
522
523  <xsd:complexType name="visRequestType">
524    <xsd:annotation>
525      <xsd:documentation>
526        Request for an existing experiment's visualization.  This is
527        largely a compatibility service.  Different information may be
528        returned based on the user's rights to see the topology.
529      </xsd:documentation>
530    </xsd:annotation>
531    <xsd:sequence>
532      <xsd:element name="experiment" type="tns:IDType"/>
533    </xsd:sequence>
534  </xsd:complexType>
535
536  <xsd:complexType name="visResponseType">
537    <xsd:annotation>
538      <xsd:documentation>
539        An existing experiment's visualization.  This is largely a
540        compatibility service.  Different information may be returned
541        based on the user's rights to see the topology.
542      </xsd:documentation>
543    </xsd:annotation>
544    <xsd:sequence>
545      <xsd:element name="experiment" type="tns:IDType"/>
546      <xsd:element name="vis" type="tns:visType"/>
547    </xsd:sequence>
548  </xsd:complexType>
549
550  <xsd:complexType name="infoRequestType">
551    <xsd:annotation>
552      <xsd:documentation>
553        A combined topology, visualalization, and federant request.
554        Different information may be returned based on the user's rights
555        to see the topology.
556      </xsd:documentation>
557    </xsd:annotation>
558    <xsd:sequence>
559      <xsd:element name="experiment" type="tns:IDType"/>
560    </xsd:sequence>
561  </xsd:complexType>
562
563  <xsd:complexType name="infoResponseType">
564    <xsd:annotation>
565      <xsd:documentation>
566        Information on an instantiated experiment.  Different information may
567        be returned based on the user's rights to see the topology.  Includes
568        the information about federants hosting sub-experiments for service
569        access as well as virtual topology and visualization information.  All
570        that information is relative to the requester.  ExperimentAccess
571        includes credentials with which one can access the experiment.  These
572        may include a public key necessary to prove possession of the
573        credential and should be treated with care.
574      </xsd:documentation>
575    </xsd:annotation>
576    <xsd:sequence>
577      <xsd:element name="federant" type="tns:federatedExperimentType" 
578        minOccurs="0" maxOccurs="unbounded"/>
579      <xsd:element name="vtopo" type="tns:vtopoType" minOccurs="0"
580        maxOccurs="1"/>
581      <xsd:element name="vis" type="tns:visType" minOccurs="0"
582        maxOccurs="1"/>
583      <xsd:element name="experimentID" type="tns:IDType" minOccurs="1"
584        maxOccurs="unbounded"/>
585      <xsd:element name="allocationLog" type="xsd:string" minOccurs="0" 
586        maxOccurs="1"/>
587      <xsd:element name="experimentStatus" type="tns:statusType"/>
588      <xsd:element name="experimentAccess" type="tns:accessType" minOccurs="0"
589        maxOccurs="1"/>
590    </xsd:sequence>
591  </xsd:complexType>
592
593
594  <xsd:complexType name="multiInfoRequestType">
595    <xsd:annotation>
596      <xsd:documentation>
597        Gets all information that this user can access on this fedd.
598      </xsd:documentation>
599    </xsd:annotation>
600    <xsd:sequence>
601    </xsd:sequence>
602  </xsd:complexType>
603
604  <xsd:complexType name="multiInfoResponseType">
605    <xsd:annotation>
606      <xsd:documentation>
607        Multi info response.  A list of infoResponses
608      </xsd:documentation>
609    </xsd:annotation>
610    <xsd:sequence>
611      <xsd:element name="info" type="tns:infoResponseType" minOccurs="0"
612        maxOccurs="unbounded"/>
613    </xsd:sequence>
614  </xsd:complexType>
615
616  <xsd:complexType name="terminateRequestType">
617    <xsd:annotation>
618      <xsd:documentation>
619        Request to terminate an experiment.
620      </xsd:documentation>
621    </xsd:annotation>
622    <xsd:sequence>
623      <xsd:element name="experiment" type="tns:IDType"/>
624      <xsd:element name="force" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
625    </xsd:sequence>
626  </xsd:complexType>
627
628  <xsd:complexType name="terminateResponseType">
629    <xsd:annotation>
630      <xsd:documentation>
631        Indication that the experiment has been terminated.
632      </xsd:documentation>
633    </xsd:annotation>
634    <xsd:sequence>
635      <xsd:element name="experiment" type="tns:IDType"/>
636      <xsd:element name="deallocationLog" type="xsd:string" minOccurs="0"
637        maxOccurs="1"/>
638    </xsd:sequence>
639  </xsd:complexType>
640
641  <xsd:complexType name="startSegmentRequestType">
642    <xsd:annotation>
643      <xsd:documentation>
644        Request a testbed to create a segment in the given allocation
645      </xsd:documentation>
646    </xsd:annotation>
647    <xsd:sequence>
648      <xsd:element name="allocID" type="tns:IDType"/>
649      <xsd:element name="segmentdescription" 
650        type="tns:experimentDescriptionType"/>
651      <xsd:element name="master" type="xsd:boolean"/>
652      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
653        maxOccurs="unbounded"/>
654    </xsd:sequence>
655  </xsd:complexType>
656
657  <xsd:complexType name="startSegmentResponseType">
658    <xsd:annotation>
659      <xsd:documentation>
660        Indication that the segment started successfully
661      </xsd:documentation>
662    </xsd:annotation>
663    <xsd:sequence>
664      <xsd:element name="allocID" type="tns:IDType"/>
665      <xsd:element name="allocationLog" type="xsd:string" minOccurs="0"
666        maxOccurs="1"/>
667      <xsd:element name="fedAttr" type="tns:fedAttrType" minOccurs="0"
668        maxOccurs="unbounded"/>
669    </xsd:sequence>
670  </xsd:complexType>
671
672  <xsd:complexType name="terminateSegmentRequestType">
673    <xsd:annotation>
674      <xsd:documentation>
675        Request to terminate an experiment.
676      </xsd:documentation>
677    </xsd:annotation>
678    <xsd:sequence>
679      <xsd:element name="allocID" type="tns:IDType"/>
680      <xsd:element name="force" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
681    </xsd:sequence>
682  </xsd:complexType>
683
684  <xsd:complexType name="terminateSegmentResponseType">
685    <xsd:annotation>
686      <xsd:documentation>
687        Indication that the experiment has been terminated.
688      </xsd:documentation>
689    </xsd:annotation>
690    <xsd:sequence>
691      <xsd:element name="allocID" type="tns:IDType"/>
692      <xsd:element name="deallocationLog" type="xsd:string" minOccurs="0"
693        maxOccurs="1"/>
694    </xsd:sequence>
695  </xsd:complexType>
696
697  <xsd:complexType name="ns2SplitRequestType">
698    <xsd:annotation>
699      <xsd:documentation>
700        Request to run the CEDL splitter remotely.  This is primarily an
701        internal interface.
702      </xsd:documentation>
703    </xsd:annotation>
704    <xsd:sequence>
705      <xsd:element name="description" type="tns:experimentDescriptionType"/>
706      <xsd:element name="master" type="xsd:string"/>
707      <xsd:element name="include_fedkit" type="xsd:boolean"/>
708      <xsd:element name="include_gatewaykit" type="xsd:boolean"/>
709    </xsd:sequence>
710  </xsd:complexType>
711
712  <xsd:complexType name="ns2SplitResponseType">
713    <xsd:annotation>
714      <xsd:documentation>
715        Remote splitter output.  Also an internal interface
716      </xsd:documentation>
717    </xsd:annotation>
718    <xsd:sequence>
719      <xsd:element name="output" type="xsd:base64Binary"/>
720      <xsd:element name="experimentdescription" 
721        type="tns:experimentDescriptionType"/>
722    </xsd:sequence>
723  </xsd:complexType>
724
725
726  <xsd:complexType name="faultType">
727    <xsd:annotation>
728      <xsd:documentation>
729        Indication that a service has failed.  The code values are
730
731          1 access denied
732          2 proxy error
733          3 badly formed request
734          4 server configuration error
735          5 internal error
736          6 partial instantiation
737          7 federant error
738
739        Errstr contains the text above corresponding to the code.  Code
740        is always present.  Desc provides additional human-readable data
741        about the error.
742      </xsd:documentation>
743    </xsd:annotation>
744    <xsd:sequence>
745      <xsd:element name="code" type="xsd:int">
746        <xsd:restriction>
747          <xsd:enumeration value="1"/>  <!-- access denied -->
748          <xsd:enumeration value="2"/>  <!-- protocol error -->
749          <xsd:enumeration value="3"/>  <!-- badly formed request -->
750          <xsd:enumeration value="4"/>  <!-- server configuration error -->
751          <xsd:enumeration value="5"/>  <!-- internal error -->
752          <xsd:enumeration value="6"/>  <!-- partial instantiation -->
753          <xsd:enumeration value="7"/>  <!-- federant error -->
754          <xsd:enumeration value="8"/>  <!-- connect error -->
755        </xsd:restriction>
756      </xsd:element>
757      <xsd:element name="errstr" minOccurs="0" maxOccurs="1" type="xsd:string">
758      </xsd:element>
759      <xsd:element name="desc" type="xsd:string"/>
760    </xsd:sequence>
761  </xsd:complexType>
762</xsd:schema>
Note: See TracBrowser for help on using the repository browser.