Accepting only single rule entry instead of list
[platform/core/connectivity/stc-iptables.git] / interfaces / stc-iptables-iface.xml
1 <node>
2         <interface name="net.stc.iptables">
3                 <method name='Init'>
4                 </method>
5         </interface>
6         <interface name="net.stc.iptables.rule">
7                 <method name='IptAddRule'>
8                         <arg type='a{sv}' name='rules' direction='in'/>
9                         <arg type='i' name='error_code' direction='out'/>
10                 </method>
11                 <method name='IptRemoveRule'>
12                         <arg type='a{sv}' name='rules' direction='in'/>
13                         <arg type='i' name='error_code' direction='out'/>
14                 </method>
15                 <method name='Ip6tAddRule'>
16                         <arg type='a{sv}' name='rules' direction='in'/>
17                         <arg type='i' name='error_code' direction='out'/>
18                 </method>
19                 <method name='Ip6tRemoveRule'>
20                         <arg type='a{sv}' name='rules' direction='in'/>
21                         <arg type='i' name='error_code' direction='out'/>
22                 </method>
23         </interface>
24         <interface name="net.stc.iptables.chain">
25                 <method name='IptAddChain'>
26                         <arg type='s' name='chain' direction='in'/>
27                         <arg type='i' name='error_code' direction='out'/>
28                 </method>
29                 <method name='IptRemoveChain'>
30                         <arg type='s' name='chain' direction='in'/>
31                         <arg type='i' name='error_code' direction='out'/>
32                 </method>
33                 <method name='Ip6tAddChain'>
34                         <arg type='s' name='chain' direction='in'/>
35                         <arg type='i' name='error_code' direction='out'/>
36                 </method>
37                 <method name='Ip6tRemoveChain'>
38                         <arg type='s' name='chain' direction='in'/>
39                         <arg type='i' name='error_code' direction='out'/>
40                 </method>
41         </interface>
42 </node>