summaryrefslogtreecommitdiff
path: root/op-mode-definitions/conntrack-sync.xml.in
blob: cd0ec5cc8ae3bd89f5626b8e38aad9d4eed3f88c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="reset">
    <children>
      <node name="conntrack-sync">
        <properties>
          <help>Reset connection syncing parameters</help>
        </properties>
        <children>
          <leafNode name="external-cache">
            <properties>
              <help>Reset external cache and request resync with other systems</help>
            </properties>
            <command>${vyos_op_scripts_dir}/conntrack_sync.py --reset-cache-external</command>
          </leafNode>
          <leafNode name="internal-cache">
            <properties>
              <help>Reset internal cache and request resync with other systems</help>
            </properties>
            <command>${vyos_op_scripts_dir}/conntrack_sync.py --reset-cache-internal</command>
          </leafNode>
        </children>
      </node>
    </children>
  </node>
  <node name="restart">
    <children>
      <leafNode name="conntrack-sync">
        <properties>
          <help>Restart connection tracking synchronization service</help>
        </properties>
        <command>${vyos_op_scripts_dir}/conntrack_sync.py --restart</command>
      </leafNode>
    </children>
  </node>
</interfaceDefinition>