Change action name AddAnyPortmapping to AddAnyPortMapping
[igd2-for-linux:wanipconnection2.git] / linuxigd2 / configs / gateconnSCPD.xml
1 <?xml version="1.0"?>
2 <scpd xmlns="urn:schemas-upnp-org:service-1-0">
3     <specVersion>
4         <major>2</major>
5         <minor>0</minor>
6     </specVersion>
7     <actionList>
8         <action>
9             <name>SetConnectionType</name>
10             <argumentList>
11                 <argument>
12                     <name>NewConnectionType</name>
13                     <direction>in</direction>
14                     <relatedStateVariable>ConnectionType</relatedStateVariable>
15                 </argument>
16             </argumentList>
17         </action>
18         <action>
19             <name>GetConnectionTypeInfo</name>
20             <argumentList>
21                 <argument>
22                     <name>NewConnectionType</name>
23                     <direction>out</direction>
24                     <relatedStateVariable>ConnectionType</relatedStateVariable>
25                 </argument>
26                 <argument>
27                     <name>NewPossibleConnectionTypes</name>
28                     <direction>out</direction>
29                     <relatedStateVariable>PossibleConnectionTypes</relatedStateVariable>
30                 </argument>
31             </argumentList>
32         </action>
33         <action>
34             <name>RequestConnection</name>
35         </action>
36         <action>
37             <name>RequestTermination</name>
38         </action>
39         <action>
40             <name>ForceTermination</name>
41         </action>
42         <action>
43             <name>SetAutoDisconnectTime</name>
44             <argumentList>
45                 <argument>
46                     <name>NewAutoDisconnectTime</name>
47                     <direction>in</direction>
48                     <relatedStateVariable>AutoDisconnectTime</relatedStateVariable>
49                 </argument>
50             </argumentList>
51         </action>
52         <action>
53             <name>SetIdleDisconnectTime</name>
54             <argumentList>
55                 <argument>
56                     <name>NewIdleDisconnectTime</name>
57                     <direction>in</direction>
58                     <relatedStateVariable>IdleDisconnectTime</relatedStateVariable>
59                 </argument>
60             </argumentList>
61         </action>
62         <action>
63             <name>SetWarnDisconnectDelay</name>
64             <argumentList>
65                 <argument>
66                     <name>NewWarnDisconnectDelay</name>
67                     <direction>in</direction>
68                     <relatedStateVariable>WarnDisconnectDelay</relatedStateVariable>
69                 </argument>
70             </argumentList>
71         </action>
72         <action>
73             <name>GetStatusInfo</name>
74             <argumentList>
75                 <argument>
76                     <name>NewConnectionStatus</name>
77                     <direction>out</direction>
78                     <relatedStateVariable>ConnectionStatus</relatedStateVariable>
79                 </argument>
80                 <argument>
81                     <name>NewLastConnectionError</name>
82                     <direction>out</direction>
83                     <relatedStateVariable>LastConnectionError</relatedStateVariable>
84                 </argument>
85                 <argument>
86                     <name>NewUptime</name>
87                     <direction>out</direction>
88                     <relatedStateVariable>Uptime</relatedStateVariable>
89                 </argument>
90             </argumentList>
91         </action>
92         <action>
93             <name>GetAutoDisconnectTime</name>
94             <argumentList>
95                 <argument>
96                     <name>NewAutoDisconnectTime</name>
97                     <direction>out</direction>
98                     <relatedStateVariable>AutoDisconnectTime</relatedStateVariable>
99                 </argument>
100             </argumentList>
101         </action>
102         <action>
103             <name>GetIdleDisconnectTime</name>
104             <argumentList>
105                 <argument>
106                     <name>NewIdleDisconnectTime</name>
107                     <direction>out</direction>
108                     <relatedStateVariable>IdleDisconnectTime</relatedStateVariable>
109                 </argument>
110             </argumentList>
111         </action>
112         <action>
113             <name>GetWarnDisconnectDelay</name>
114             <argumentList>
115                 <argument>
116                     <name>NewWarnDisconnectDelay</name>
117                     <direction>out</direction>
118                     <relatedStateVariable>WarnDisconnectDelay</relatedStateVariable>
119                 </argument>
120             </argumentList>
121         </action>
122         <action>
123             <name>GetNATRSIPStatus</name>
124             <argumentList>
125                 <argument>
126                     <name>NewRSIPAvailable</name>
127                     <direction>out</direction>
128                     <relatedStateVariable>RSIPAvailable</relatedStateVariable>
129                 </argument>
130                 <argument>
131                     <name>NewNATEnabled</name>
132                     <direction>out</direction>
133                     <relatedStateVariable>NATEnabled</relatedStateVariable>
134                 </argument>
135             </argumentList>
136         </action>
137         <action>
138             <name>GetGenericPortMappingEntry</name>
139             <argumentList>
140                 <argument>
141                     <name>NewPortMappingIndex</name>
142                     <direction>in</direction>
143                     <relatedStateVariable>PortMappingNumberOfEntries</relatedStateVariable>
144                 </argument>
145                 <argument>
146                     <name>NewRemoteHost</name>
147                     <direction>out</direction>
148                     <relatedStateVariable>RemoteHost</relatedStateVariable>
149                 </argument>
150                 <argument>
151                     <name>NewExternalPort</name>
152                     <direction>out</direction>
153                     <relatedStateVariable>ExternalPort</relatedStateVariable>
154                 </argument>
155                 <argument>
156                     <name>NewProtocol</name>
157                     <direction>out</direction>
158                     <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
159                 </argument>
160                 <argument>
161                     <name>NewInternalPort</name>
162                     <direction>out</direction>
163                     <relatedStateVariable>InternalPort</relatedStateVariable>
164                 </argument>
165                 <argument>
166                     <name>NewInternalClient</name>
167                     <direction>out</direction>
168                     <relatedStateVariable>InternalClient</relatedStateVariable>
169                 </argument>
170                 <argument>
171                     <name>NewEnabled</name>
172                     <direction>out</direction>
173                     <relatedStateVariable>PortMappingEnabled</relatedStateVariable>
174                 </argument>
175                 <argument>
176                     <name>NewPortMappingDescription</name>
177                     <direction>out</direction>
178                     <relatedStateVariable>PortMappingDescription</relatedStateVariable>
179                 </argument>
180                 <argument>
181                     <name>NewLeaseDuration</name>
182                     <direction>out</direction>
183                     <relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>
184                 </argument>
185             </argumentList>
186         </action>
187         <action>
188             <name>GetSpecificPortMappingEntry</name>
189             <argumentList>
190                 <argument>
191                     <name>NewRemoteHost</name>
192                     <direction>in</direction>
193                     <relatedStateVariable>RemoteHost</relatedStateVariable>
194                 </argument>
195                 <argument>
196                     <name>NewExternalPort</name>
197                     <direction>in</direction>
198                     <relatedStateVariable>ExternalPort</relatedStateVariable>
199                 </argument>
200                 <argument>
201                     <name>NewProtocol</name>
202                     <direction>in</direction>
203                     <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
204                 </argument>
205                 <argument>
206                     <name>NewInternalPort</name>
207                     <direction>out</direction>
208                     <relatedStateVariable>InternalPort</relatedStateVariable>
209                 </argument>
210                 <argument>
211                     <name>NewInternalClient</name>
212                     <direction>out</direction>
213                     <relatedStateVariable>InternalClient</relatedStateVariable>
214                 </argument>
215                 <argument>
216                     <name>NewEnabled</name>
217                     <direction>out</direction>
218                     <relatedStateVariable>PortMappingEnabled</relatedStateVariable>
219                 </argument>
220                 <argument>
221                     <name>NewPortMappingDescription</name>
222                     <direction>out</direction>
223                     <relatedStateVariable>PortMappingDescription</relatedStateVariable>
224                 </argument>
225                 <argument>
226                     <name>NewLeaseDuration</name>
227                     <direction>out</direction>
228                     <relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>
229                 </argument>
230             </argumentList>
231         </action>
232         <action>
233             <name>AddPortMapping</name>
234             <argumentList>
235                 <argument>
236                     <name>NewRemoteHost</name>
237                     <direction>in</direction>
238                     <relatedStateVariable>RemoteHost</relatedStateVariable>
239                 </argument>
240                 <argument>
241                     <name>NewExternalPort</name>
242                     <direction>in</direction>
243                     <relatedStateVariable>ExternalPort</relatedStateVariable>
244                 </argument>
245                 <argument>
246                     <name>NewProtocol</name>
247                     <direction>in</direction>
248                     <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
249                 </argument>
250                 <argument>
251                     <name>NewInternalPort</name>
252                     <direction>in</direction>
253                     <relatedStateVariable>InternalPort</relatedStateVariable>
254                 </argument>
255                 <argument>
256                     <name>NewInternalClient</name>
257                     <direction>in</direction>
258                     <relatedStateVariable>InternalClient</relatedStateVariable>
259                 </argument>
260                 <argument>
261                     <name>NewEnabled</name>
262                     <direction>in</direction>
263                     <relatedStateVariable>PortMappingEnabled</relatedStateVariable>
264                 </argument>
265                 <argument>
266                     <name>NewPortMappingDescription</name>
267                     <direction>in</direction>
268                     <relatedStateVariable>PortMappingDescription</relatedStateVariable>
269                 </argument>
270                 <argument>
271                     <name>NewLeaseDuration</name>
272                     <direction>in</direction>
273                     <relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>
274                 </argument>
275             </argumentList>
276         </action>
277         <action>
278             <name>DeletePortMapping</name>
279             <argumentList>
280                 <argument>
281                     <name>NewRemoteHost</name>
282                     <direction>in</direction>
283                     <relatedStateVariable>RemoteHost</relatedStateVariable>
284                 </argument>
285                 <argument>
286                     <name>NewExternalPort</name>
287                     <direction>in</direction>
288                     <relatedStateVariable>ExternalPort</relatedStateVariable>
289                 </argument>
290                 <argument>
291                     <name>NewProtocol</name>
292                     <direction>in</direction>
293                     <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
294                 </argument>
295             </argumentList>
296         </action>
297         <action>
298             <name>GetExternalIPAddress</name>
299             <argumentList>
300                 <argument>
301                     <name>NewExternalIPAddress</name>
302                     <direction>out</direction>
303                     <relatedStateVariable>ExternalIPAddress</relatedStateVariable>
304                 </argument>
305             </argumentList>
306         </action>
307         <action>
308             <name>DeletePortMappingRange</name>
309             <argumentList>
310                 <argument>
311                     <name>NewStartPort</name>
312                     <direction>in</direction>
313                     <relatedStateVariable>ExternalPort</relatedStateVariable>
314                 </argument>
315                 <argument>
316                     <name>NewEndPort</name>
317                     <direction>in</direction>
318                     <relatedStateVariable>ExternalPort</relatedStateVariable>
319                 </argument>
320                 <argument>
321                     <name>NewProtocol</name>
322                     <direction>in</direction>
323                     <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
324                 </argument>
325                 <argument>
326                     <name>Manage</name>
327                     <direction>in</direction>
328                     <relatedStateVariable>A_ARG_TYPE_Manage</relatedStateVariable>
329                 </argument>
330             </argumentList>
331         </action>
332         <action>
333             <name>RetrieveListOfPortmappings</name>
334             <argumentList>
335                 <argument>
336                     <name>NewStartPort</name>
337                     <direction>in</direction>
338                     <relatedStateVariable>ExternalPort</relatedStateVariable>
339                 </argument>
340                 <argument>
341                     <name>NewEndPort</name>
342                     <direction>in</direction>
343                     <relatedStateVariable>ExternalPort</relatedStateVariable>
344                 </argument>
345                 <argument>
346                     <name>NewProtocol</name>
347                     <direction>in</direction>
348                     <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
349                 </argument>
350                 <argument>
351                     <name>Manage</name>
352                     <direction>in</direction>
353                     <relatedStateVariable>A_ARG_TYPE_Manage</relatedStateVariable>
354                 </argument>
355                 <argument>
356                     <name>NewNumberOfPorts</name>
357                     <direction>in</direction>
358                     <relatedStateVariable>ExternalPort</relatedStateVariable>
359                 </argument>
360                 <argument>
361                     <name>PortListing</name>
362                     <direction>Out</direction>
363                     <relatedStateVariable>A_ARG_TYPE_PortListing</relatedStateVariable>
364                 </argument>
365             </argumentList>
366         </action>
367         <action>
368             <name>AddAnyPortMapping</name>
369             <argumentList>
370                 <argument>
371                     <name>NewRemoteHost</name>
372                     <direction>in</direction>
373                     <relatedStateVariable>RemoteHost</relatedStateVariable>
374                 </argument>
375                 <argument>
376                     <name>NewExternalPort</name>
377                     <direction>in</direction>
378                     <relatedStateVariable>ExternalPort</relatedStateVariable>
379                 </argument>
380                 <argument>
381                     <name>NewProtocol</name>
382                     <direction>in</direction>
383                     <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
384                 </argument>
385                 <argument>
386                     <name>NewInternalPort</name>
387                     <direction>in</direction>
388                     <relatedStateVariable>InternalPort</relatedStateVariable>
389                 </argument>
390                 <argument>
391                     <name>NewInternalClient</name>
392                     <direction>in</direction>
393                     <relatedStateVariable>InternalClient</relatedStateVariable>
394                 </argument>
395                 <argument>
396                     <name>NewEnabled</name>
397                     <direction>in</direction>
398                     <relatedStateVariable>PortMappingEnabled</relatedStateVariable>
399                 </argument>
400                 <argument>
401                     <name>NewPortMappingDescription</name>
402                     <direction>in</direction>
403                     <relatedStateVariable>PortMappingDescription</relatedStateVariable>
404                 </argument>
405                 <argument>
406                     <name>NewLeaseDuration</name>
407                     <direction>in</direction>
408                     <relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>
409                 </argument>
410                 <argument>
411                     <name>ReservedPort</name>
412                     <direction>out</direction>
413                     <relatedStateVariable>ExternalPort</relatedStateVariable>
414                 </argument>
415             </argumentList>
416         </action>
417         <!--
418             Declarations for other actions added by UPnP vendor (if any)
419             go here
420         -->
421     </actionList>
422     <serviceStateTable>
423         <stateVariable sendEvents="no">
424             <name>ConnectionType</name>
425             <dataType>string</dataType>
426         </stateVariable>
427         <stateVariable sendEvents="yes">
428             <name>PossibleConnectionTypes</name>
429             <dataType>string</dataType>
430             <allowedValueList>
431                 <allowedValue>Unconfigured</allowedValue>
432                 <allowedValue>IP_Routed</allowedValue>
433                 <allowedValue>IP_Bridged</allowedValue>
434             </allowedValueList>
435         </stateVariable>
436         <stateVariable sendEvents="yes">
437             <name>ConnectionStatus</name>
438             <dataType>string</dataType>
439             <allowedValueList>
440                 <allowedValue>Unconfigured</allowedValue>
441                 <allowedValue>Connecting</allowedValue>
442                 <allowedValue>Connected</allowedValue>
443                 <allowedValue>PendingDisconnect
444                 </allowedValue>
445                 <allowedValue>Disconnecting</allowedValue>
446                 <allowedValue>Disconnected</allowedValue>
447             </allowedValueList>
448         </stateVariable>
449         <stateVariable sendEvents="no">
450             <name>Uptime</name>
451             <dataType>ui4</dataType>
452         </stateVariable>
453         <stateVariable sendEvents="no">
454             <name>LastConnectionError</name>
455             <dataType>string</dataType>
456             <allowedValueList>
457                 <allowedValue>ERROR_NONE</allowedValue>
458                 <allowedValue>ERROR_COMMAND_ABORTED</allowedValue>
459                 <allowedValue>ERROR_NOT_ENABLED_FOR_INTERNET</allowedValue>
460                 <allowedValue>ERROR_USER_DISCONNECT</allowedValue>
461                 <allowedValue>ERROR_ISP_DISCONNECT</allowedValue>
462                 <allowedValue>ERROR_IDLE_DISCONNECT</allowedValue>
463                 <allowedValue>ERROR_FORCED_DISCONNECT</allowedValue>
464                 <allowedValue>ERROR_NO_CARRIER</allowedValue>
465                 <allowedValue>ERROR_IP_CONFIGURATION</allowedValue>
466                 <allowedValue>ERROR_UNKNOWN</allowedValue>
467             </allowedValueList>
468         </stateVariable>
469         <stateVariable sendEvents="no">
470             <name>AutoDisconnectTime</name>
471             <dataType>ui4</dataType>
472         </stateVariable>
473         <stateVariable sendEvents="no">
474             <name>IdleDisconnectTime</name>
475             <dataType>ui4</dataType>
476         </stateVariable>
477         <stateVariable sendEvents="no">
478             <name>WarnDisconnectDelay</name>
479             <dataType>ui4</dataType>
480         </stateVariable>
481         <stateVariable sendEvents="no">
482             <name>RSIPAvailable</name>
483             <dataType>boolean</dataType>
484         </stateVariable>
485         <stateVariable sendEvents="no">
486             <name>NATEnabled</name>
487             <dataType>boolean</dataType>
488         </stateVariable>
489         <stateVariable sendEvents="yes">
490             <name>ExternalIPAddress</name>
491             <dataType>string</dataType>
492         </stateVariable>
493         <stateVariable sendEvents="yes">
494             <name>PortMappingNumberOfEntries</name>
495             <dataType>ui2</dataType>
496         </stateVariable>
497         <stateVariable sendEvents="no">
498             <name>PortMappingEnabled</name>
499             <dataType>boolean</dataType>
500         </stateVariable>
501         <stateVariable sendEvents="no">
502             <name>PortMappingLeaseDuration</name>
503             <dataType>ui4</dataType>
504         </stateVariable>
505         <stateVariable sendEvents="no">
506             <name>RemoteHost</name>
507             <dataType>string</dataType>
508         </stateVariable>
509         <stateVariable sendEvents="no">
510             <name>ExternalPort</name>
511             <dataType>ui2</dataType>
512         </stateVariable>
513         <stateVariable sendEvents="no">
514             <name>InternalPort</name>
515             <dataType>ui2</dataType>
516         </stateVariable>
517         <stateVariable sendEvents="no">
518             <name>PortMappingProtocol</name>
519             <dataType>string</dataType>
520             <allowedValueList>
521                 <allowedValue>TCP</allowedValue>
522                 <allowedValue>UDP</allowedValue>
523             </allowedValueList>
524         </stateVariable>
525         <stateVariable sendEvents="no">
526             <name>InternalClient</name>
527             <dataType>string</dataType>
528         </stateVariable>
529         <stateVariable sendEvents="no">
530             <name>PortMappingDescription</name>
531             <dataType>string</dataType>
532         </stateVariable>
533         <stateVariable sendEvents="Yes">
534             <name>SystemUpdateID</name>
535             <dataType>ui4</dataType>
536         </stateVariable>
537         <stateVariable sendEvents="Yes">
538             <name>ChangedPortMapping</name>
539             <dataType>CSV(ui2,ui2,string,string,string)</dataType>
540         </stateVariable>
541         <stateVariable sendEvents="No">
542             <name>A_ARG_TYPE_Manage</name>
543             <dataType>boolean</dataType>
544         </stateVariable>
545         <stateVariable sendEvents="No">
546             <name>A_ARG_TYPE_PortListing</name>
547             <dataType>CSV(string,string,string,string,string,ui2,string,ui4)</dataType>
548         </stateVariable>
549         <!--
550             Declarations for other state variables added by UPnP vendor
551             (if any) go here
552         -->
553     </serviceStateTable>
554 </scpd>