[7aec37d] | 1 | <?xml version="1.0"?> |
---|
| 2 | <definitions name="fedd_internal" |
---|
[e77c86e] | 3 | targetNamespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
| 4 | xmlns:tns="http://www.isi.edu/fedd_internal.wsdl" |
---|
| 5 | xmlns:xsd1="http://www.isi.edu/fedd_types" |
---|
[7aec37d] | 6 | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
---|
| 7 | xmlns="http://schemas.xmlsoap.org/wsdl/"> |
---|
| 8 | |
---|
[e77c86e] | 9 | <import namespace="http://www.isi.edu/fedd_types" |
---|
[7aec37d] | 10 | location="fedd_types.xsd"/> |
---|
| 11 | |
---|
[e77c86e] | 12 | <import namespace="http://www.isi.edu/topdl" |
---|
[eec716b] | 13 | location="topdl.xsd"/> |
---|
| 14 | |
---|
[5858c72] | 15 | <!-- |
---|
| 16 | The message definitions are all simple embeddings of one of the types |
---|
| 17 | from fedd_types.xsd |
---|
| 18 | --> |
---|
[7aec37d] | 19 | |
---|
[5858c72] | 20 | <message name="FaultMessage"> |
---|
| 21 | <part name="FaultBody" type="xsd1:faultType"/> |
---|
| 22 | </message> |
---|
| 23 | |
---|
| 24 | <message name="AllocateProjectRequestMessage"> |
---|
| 25 | <part name="AllocateProjectRequestBody" type="xsd1:projectAllocType"/> |
---|
| 26 | </message> |
---|
| 27 | |
---|
| 28 | <message name="AllocateProjectResponseMessage"> |
---|
| 29 | <part name="AllocateProjectResponseBody" type="xsd1:projectAllocType"/> |
---|
| 30 | </message> |
---|
| 31 | |
---|
| 32 | <message name="StaticProjectRequestMessage"> |
---|
| 33 | <part name="StaticProjectRequestBody" type="xsd1:projectAllocType"/> |
---|
| 34 | </message> |
---|
| 35 | |
---|
| 36 | <message name="StaticProjectResponseMessage"> |
---|
| 37 | <part name="StaticProjectResponseBody" type="xsd1:projectAllocType"/> |
---|
| 38 | </message> |
---|
| 39 | |
---|
| 40 | <message name="ReleaseProjectRequestMessage"> |
---|
| 41 | <part name="ReleaseProjectRequestBody" type="xsd1:projectAllocType"/> |
---|
| 42 | </message> |
---|
[7aec37d] | 43 | |
---|
[5858c72] | 44 | <message name="ReleaseProjectResponseMessage"> |
---|
| 45 | <part name="ReleaseProjectResponseBody" type="xsd1:projectAllocType"/> |
---|
| 46 | </message> |
---|
| 47 | |
---|
[5f6929a] | 48 | <message name="Ns2TopdlRequestMessage"> |
---|
| 49 | <part name="Ns2TopdlRequestBody" type="xsd1:ns2TopdlRequestType"/> |
---|
[5858c72] | 50 | </message> |
---|
| 51 | |
---|
[5f6929a] | 52 | <message name="Ns2TopdlResponseMessage"> |
---|
| 53 | <part name="Ns2TopdlResponseBody" type="xsd1:ns2TopdlResponseType"/> |
---|
[5858c72] | 54 | </message> |
---|
| 55 | |
---|
| 56 | <portType name="feddInternalPortType"> |
---|
| 57 | <operation name="AllocateProject"> |
---|
| 58 | <documentation> |
---|
| 59 | This internal interface allows the part of a fedd running on a machine |
---|
| 60 | other than the boss node of the emulab in question to request creation |
---|
| 61 | of a dynamic project on the boss node. |
---|
| 62 | </documentation> |
---|
| 63 | <input message="tns:AllocateProjectRequestMessage"/> |
---|
| 64 | <output message="tns:AllocateProjectResponseMessage"/> |
---|
| 65 | <fault name="AllocateFault" message="tns:FaultMessage"/> |
---|
| 66 | </operation> |
---|
| 67 | <operation name="StaticProject"> |
---|
| 68 | <documentation> |
---|
| 69 | This internal interface allows the part of a fedd running on a machine |
---|
| 70 | other than the boss node of the emulab in question to request |
---|
| 71 | modification of a static project. For example keys can be added or |
---|
| 72 | node access granted. |
---|
| 73 | </documentation> |
---|
| 74 | <input message="tns:StaticProjectRequestMessage"/> |
---|
| 75 | <output message="tns:StaticProjectResponseMessage"/> |
---|
| 76 | <fault name="StaticFault" message="tns:FaultMessage"/> |
---|
| 77 | </operation> |
---|
| 78 | <operation name="ReleaseProject"> |
---|
| 79 | <documentation> |
---|
| 80 | This internal interface allows the part of a fedd running on a machine |
---|
| 81 | other than the boss node of the emulab in question to release resources |
---|
| 82 | allocated to either a static or dynamic project. |
---|
| 83 | </documentation> |
---|
| 84 | <input message="tns:ReleaseProjectRequestMessage"/> |
---|
| 85 | <output message="tns:ReleaseProjectResponseMessage"/> |
---|
| 86 | <fault name="ReleaseFault" message="tns:FaultMessage"/> |
---|
| 87 | </operation> |
---|
[5f6929a] | 88 | <operation name="Ns2Topdl"> |
---|
[5858c72] | 89 | <documentation> |
---|
| 90 | This allows a fedd that does not have direct access to the modified ns |
---|
| 91 | parser that splits a CEDL description into federation data to access |
---|
| 92 | that functionality remotely. |
---|
| 93 | </documentation> |
---|
[5f6929a] | 94 | <input message="tns:Ns2TopdlRequestMessage"/> |
---|
| 95 | <output message="tns:Ns2TopdlResponseMessage"/> |
---|
| 96 | <fault name="Ns2TopdlFault" message="tns:FaultMessage"/> |
---|
[5858c72] | 97 | </operation> |
---|
| 98 | </portType> |
---|
| 99 | |
---|
| 100 | <binding name="feddInternalBinding" type="tns:feddInternalPortType"> |
---|
| 101 | <documentation> |
---|
| 102 | These are really very straight ahead SOAP RPC bindings. They're 1.1 |
---|
| 103 | SOAP and not much outside the defaults. No interesting header packing |
---|
| 104 | or fault configuration yet. |
---|
| 105 | </documentation> |
---|
| 106 | <soap:binding style="rpc" |
---|
| 107 | transport="http://schemas.xmlsoap.org/soap/http"/> |
---|
| 108 | <operation name="AllocateProject"> |
---|
| 109 | <documentation> |
---|
| 110 | The bindings of this operation are straightforward SOAP RPC 1.1. |
---|
| 111 | </documentation> |
---|
| 112 | <soap:operation soapAction="AllocateProject"/> |
---|
| 113 | <input> |
---|
| 114 | <soap:body use="encoded" parts="tns:AllocateProjectRequestBody" |
---|
[e77c86e] | 115 | namespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
[5858c72] | 116 | encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
---|
| 117 | </input> |
---|
| 118 | <output> |
---|
| 119 | <soap:body use="encoded" parts="tns:AllocateProjectResponseBody" |
---|
[e77c86e] | 120 | namespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
[5858c72] | 121 | encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
---|
| 122 | </output> |
---|
| 123 | <fault name="AllocateFault"> |
---|
| 124 | <soap:fault use="encoded" name="tns:AllocateProjectFault" |
---|
[e77c86e] | 125 | namespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
[5858c72] | 126 | encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
---|
| 127 | </fault> |
---|
| 128 | </operation> |
---|
| 129 | <operation name="StaticProject"> |
---|
| 130 | <documentation> |
---|
| 131 | The bindings of this operation are straightforward SOAP RPC 1.1. |
---|
| 132 | </documentation> |
---|
| 133 | <soap:operation soapAction="StaticProject"/> |
---|
| 134 | <input> |
---|
| 135 | <soap:body use="encoded" parts="tns:StaticProjectRequestBody" |
---|
[e77c86e] | 136 | namespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
[5858c72] | 137 | encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
---|
| 138 | </input> |
---|
| 139 | <output> |
---|
| 140 | <soap:body use="encoded" parts="tns:StaticProjectResponseBody" |
---|
[e77c86e] | 141 | namespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
[5858c72] | 142 | encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
---|
| 143 | </output> |
---|
| 144 | <fault name="StaticFault"> |
---|
| 145 | <soap:fault use="encoded" name="tns:StaticProjectFault" |
---|
[e77c86e] | 146 | namespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
[5858c72] | 147 | encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
---|
| 148 | </fault> |
---|
| 149 | </operation> |
---|
| 150 | <operation name="ReleaseProject"> |
---|
| 151 | <documentation> |
---|
| 152 | The bindings of this operation are straightforward SOAP RPC 1.1. |
---|
| 153 | </documentation> |
---|
| 154 | <soap:operation soapAction="ReleaseProject"/> |
---|
| 155 | <input> |
---|
| 156 | <soap:body use="encoded" parts="tns:ReleaseProjectRequestBody" |
---|
[e77c86e] | 157 | namespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
[5858c72] | 158 | encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
---|
| 159 | </input> |
---|
| 160 | <output> |
---|
| 161 | <soap:body use="encoded" parts="tns:ReleaseProjectResponseBody" |
---|
[e77c86e] | 162 | namespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
[5858c72] | 163 | encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
---|
| 164 | </output> |
---|
| 165 | <fault name="ReleaseFault"> |
---|
| 166 | <soap:fault use="encoded" name="tns:ReleaseProjectFault" |
---|
[e77c86e] | 167 | namespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
[5858c72] | 168 | encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
---|
| 169 | </fault> |
---|
| 170 | </operation> |
---|
[5f6929a] | 171 | <operation name="Ns2Topdl"> |
---|
[5858c72] | 172 | <documentation> |
---|
| 173 | The bindings of this operation are straightforward SOAP RPC 1.1. |
---|
| 174 | </documentation> |
---|
[5f6929a] | 175 | <soap:operation soapAction="Ns2Topdl"/> |
---|
[5858c72] | 176 | <input> |
---|
[5f6929a] | 177 | <soap:body use="encoded" parts="tns:Ns2TopdlRequestBody" |
---|
[e77c86e] | 178 | namespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
[5858c72] | 179 | encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
---|
| 180 | </input> |
---|
| 181 | <output> |
---|
[5f6929a] | 182 | <soap:body use="encoded" parts="tns:Ns2TopdlResponseBody" |
---|
[e77c86e] | 183 | namespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
[5858c72] | 184 | encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
---|
| 185 | </output> |
---|
[5f6929a] | 186 | <fault name="Ns2TopdlFault"> |
---|
| 187 | <soap:fault use="encoded" name="tns:Ns2TopdlFault" |
---|
[e77c86e] | 188 | namespace="http://www.isi.edu/fedd_internal.wsdl" |
---|
[5858c72] | 189 | encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
---|
| 190 | </fault> |
---|
| 191 | </operation> |
---|
| 192 | </binding> |
---|
| 193 | |
---|
| 194 | <service name="feddInternalService"> |
---|
| 195 | <documentation> |
---|
| 196 | Fedd resource access service |
---|
| 197 | </documentation> |
---|
| 198 | <port name="fedd_internal_port" binding="tns:feddInternalBinding"> |
---|
[e77c86e] | 199 | <soap:address location="http://www.isi.edu/fedd_internal"/> |
---|
[5858c72] | 200 | </port> |
---|
| 201 | </service> |
---|
| 202 | </definitions> |
---|