Added dbus method to commit iptables
[platform/core/connectivity/stc-manager.git] / interfaces / stcmanager-iface-firewall.xml
1 <node>
2         <interface name="net.stc.firewall">
3                 <method name='Lock'>
4                         <arg type='i' name='error_code' direction='out'/>
5                 </method>
6                 <method name='Unlock'>
7                         <arg type='i' name='error_code' direction='out'/>
8                 </method>
9                 <method name='GetLock'>
10                         <arg type='i' name='state' direction='out'/>
11                 </method>
12                 <method name='AddChain'>
13                         <arg type='s' name='chain' direction='in'/>
14                         <arg type='i' name='error_code' direction='out'/>
15                 </method>
16                 <method name='RemoveChain'>
17                         <arg type='s' name='chain' direction='in'/>
18                         <arg type='i' name='error_code' direction='out'/>
19                 </method>
20                 <method name='FlushChain'>
21                         <arg type='s' name='chain' direction='in'/>
22                         <arg type='i' name='error_code' direction='out'/>
23                 </method>
24                 <method name='GetAllChain'>
25                         <arg type='aa{sv}' name='parameters' direction='out'/>
26                 </method>
27                 <method name='SetChain'>
28                         <arg type='s' name='chain' direction='in'/>
29                         <arg type='u' name='target' direction='in'/>
30                         <arg type='i' name='error_code' direction='out'/>
31                 </method>
32                 <method name='UnsetChain'>
33                         <arg type='s' name='chain' direction='in'/>
34                         <arg type='i' name='error_code' direction='out'/>
35                 </method>
36
37                 <method name='AddRule'>
38                         <arg type='a{sv}' name='parameters' direction='in'/>
39                         <arg type='i' name='error_code' direction='out'/>
40                 </method>
41                 <method name='RemoveRule'>
42                         <arg type='a{sv}' name='parameters' direction='in'/>
43                         <arg type='i' name='error_code' direction='out'/>
44                 </method>
45                 <method name='UpdateRule'>
46                         <arg type='a{sv}' name='parameters' direction='in'/>
47                         <arg type='i' name='error_code' direction='out'/>
48                 </method>
49                 <method name='GetAllRule'>
50                         <arg type='aa{sv}' name='parameters' direction='out'/>
51                 </method>
52         </interface>
53 </node>