Patch for WANIPv6FirewallControl:1 service
[igd2-for-linux:igd2-for-linux.git] / linuxigd2 / configs / wanipv6fwctrlSCPD.xml
1 <?xml version="1.0"?>
2 <scpd xmlns="urn:schemas-upnp-org:service-1-0">
3         <specVersion>
4                 <major>1</major>
5                 <minor>0</minor>
6         </specVersion>
7         <actionList>
8                 <action>
9                         <name>GetFirewallStatus</name>
10                         <argumentList>
11                                 <argument>
12                                         <name>FirewallEnabled</name>
13                                         <direction>out</direction>
14                                         <relatedStateVariable>FirewallEnabled</relatedStateVariable>
15                                 </argument>
16                                 <argument>
17                                         <name>InboundPinholeAllowed</name>
18                                         <direction>out</direction>
19                                         <relatedStateVariable>InboundPinholeAllowed</relatedStateVariable>
20                                 </argument>
21                         </argumentList>
22                 </action>
23                 <action>
24                         <name>GetOutboundPinholeTimeout</name>
25                         <argumentList>
26                                 <argument>
27                                         <name>RemoteHost</name>
28                                         <direction>in</direction>
29                                         <relatedStateVariable>A_ARG_TYPE_IPv6Address</relatedStateVariable>
30                                 </argument>
31                                 <argument>
32                                         <name>RemotePort</name>
33                                         <direction>in</direction>
34                                         <relatedStateVariable>A_ARG_TYPE_Port</relatedStateVariable>
35                                 </argument>
36                                 <argument>
37                                         <name>InternalClient</name>
38                                         <direction>in</direction>
39                                         <relatedStateVariable>A_ARG_TYPE_IPv6Address</relatedStateVariable>
40                                 </argument>
41                                 <argument>
42                                         <name>InternalPort</name>
43                                         <direction>in</direction>
44                                         <relatedStateVariable>A_ARG_TYPE_Port</relatedStateVariable>
45                                 </argument>
46                                 <argument>
47                                         <name>Protocol</name>
48                                         <direction>in</direction>
49                                         <relatedStateVariable>A_ARG_TYPE_Protocol</relatedStateVariable>
50                                 </argument>
51                                 <argument>
52                                         <name>OutboundPinholeTimeout</name>
53                                         <direction>out</direction>
54                                         <relatedStateVariable>A_ARG_TYPE_OutboundPinholeTimeout</relatedStateVariable>
55                                 </argument>
56                         </argumentList>
57                 </action>
58                 <action>
59                         <name>AddPinhole</name>
60                         <argumentList>
61                                 <argument>
62                                         <name>RemoteHost</name>
63                                         <direction>in</direction>
64                                         <relatedStateVariable>A_ARG_TYPE_IPv6Address</relatedStateVariable>
65                                 </argument>
66                                 <argument>
67                                         <name>RemotePort</name>
68                                         <direction>in</direction>
69                                         <relatedStateVariable>A_ARG_TYPE_Port</relatedStateVariable>
70                                 </argument>
71                                 <argument>
72                                         <name>InternalClient</name>
73                                         <direction>in</direction>
74                                         <relatedStateVariable>A_ARG_TYPE_IPv6Address</relatedStateVariable>
75                                 </argument>
76                                 <argument>
77                                         <name>InternalPort</name>
78                                         <direction>in</direction>
79                                         <relatedStateVariable>A_ARG_TYPE_Port</relatedStateVariable>
80                                 </argument>
81                                 <argument>
82                                         <name>Protocol</name>
83                                         <direction>in</direction>
84                                         <relatedStateVariable>A_ARG_TYPE_Protocol</relatedStateVariable>
85                                 </argument>
86                                 <argument>
87                                         <name>LeaseTime</name>
88                                         <direction>in</direction>
89                                         <relatedStateVariable>A_ARG_TYPE_LeaseTime</relatedStateVariable>
90                                 </argument>
91                                 <argument>
92                                         <name>UniqueID</name>
93                                         <direction>out</direction>
94                                         <relatedStateVariable>A_ARG_TYPE_UniqueID</relatedStateVariable>
95                                 </argument>
96                         </argumentList>
97                 </action>
98                 <action>
99                         <name>UpdatePinhole</name>
100                         <argumentList>
101                                 <argument>
102                                         <name>UniqueID</name>
103                                         <direction>in</direction>
104                                         <relatedStateVariable>A_ARG_TYPE_UniqueID</relatedStateVariable>
105                                 </argument>
106                                 <argument>
107                                         <name>NewLeaseTime</name>
108                                         <direction>in</direction>
109                                         <relatedStateVariable>A_ARG_TYPE_LeaseTime</relatedStateVariable>
110                                 </argument>
111                         </argumentList>
112                 </action>
113                 <action>
114                         <name>DeletePinhole</name>
115                         <argumentList>
116                                 <argument>
117                                         <name>UniqueID</name>
118                                         <direction>in</direction>
119                                         <relatedStateVariable>A_ARG_TYPE_UniqueID</relatedStateVariable>
120                                 </argument>
121                         </argumentList>
122                 </action>
123                 <action>
124                         <name>GetPinholePackets</name>
125                         <argumentList>
126                                 <argument>
127                                         <name>UniqueID</name>
128                                         <direction>in</direction>
129                                         <relatedStateVariable>A_ARG_TYPE_UniqueID</relatedStateVariable>
130                                 </argument>
131                                 <argument>
132                                         <name>PinholePackets</name>
133                                         <direction>out</direction>
134                                         <relatedStateVariable>A_ARG_TYPE_PinholePackets</relatedStateVariable>
135                                 </argument>
136                         </argumentList>
137                 </action>
138                 <action>
139                         <name>CheckPinholeWorking</name>
140                         <argumentList>
141                                 <argument>
142                                         <name>UniqueID</name>
143                                         <direction>in</direction>
144                                         <relatedStateVariable>A_ARG_TYPE_UniqueID</relatedStateVariable>
145                                 </argument>
146                                 <argument>
147                                         <name>IsWorking</name>
148                                         <direction>out</direction>
149                                         <relatedStateVariable>A_ARG_TYPE_Boolean</relatedStateVariable>
150                                 </argument>
151                         </argumentList>
152                 </action>
153         </actionList>
154         <serviceStateTable>
155                 <stateVariable sendEvents="yes">
156                         <name>FirewallEnabled</name>
157                         <dataType>boolean</dataType>
158                 </stateVariable>
159                 <stateVariable sendEvents="no">
160                         <name>A_ARG_TYPE_IPv6Address</name>
161                         <dataType>string</dataType>
162                 </stateVariable>
163                 <stateVariable sendEvents="no">
164                         <name>A_ARG_TYPE_Port</name>
165                         <dataType>ui2</dataType>
166                 </stateVariable>
167                 <stateVariable sendEvents="no">
168                         <name>A_ARG_TYPE_Protocol</name>
169                         <dataType>ui2</dataType>
170                 </stateVariable>
171                 <stateVariable sendEvents="no">
172                         <name>A_ARG_TYPE_UniqueID</name>
173                         <dataType>ui2</dataType>
174                 </stateVariable>
175                 <stateVariable sendEvents="no">
176                         <name>A_ARG_TYPE_LeaseTime</name>
177                         <dataType>ui4</dataType>
178                         <allowedValueRange>
179                                 <minimum>1</minimum>
180                                 <maximum>86400</maximum>
181                         </allowedValueRange>
182                 </stateVariable>
183                 <stateVariable sendEvents="yes">
184                         <name>InboundPinholeAllowed</name>
185                         <dataType>boolean</dataType>
186                 </stateVariable>
187                 <stateVariable sendEvents="no">
188                         <name>A_ARG_TYPE_OutboundPinholeTimeout</name>
189                         <dataType>ui4</dataType>
190                         <allowedValueRange>
191                                 <minimum>100</minimum>
192                                 <maximum>200</maximum>
193                         </allowedValueRange>
194                 </stateVariable>
195                 <stateVariable sendEvents="no">
196                         <name>A_ARG_TYPE_Boolean</name>
197                         <dataType>boolean</dataType>
198                 </stateVariable>
199                 <stateVariable sendEvents="no">
200                         <name>A_ARG_TYPE_PinholePackets</name>
201                         <dataType>ui4</dataType>
202                 </stateVariable>
203         </serviceStateTable>
204 </scpd>