summaryrefslogtreecommitdiff
path: root/op-mode-definitions/load-balancing_wan.xml.in
blob: 91c57c1f41072897b576e37cbdc7d68e89147c32 (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
37
<?xml version="1.0" encoding="UTF-8"?>
<interfaceDefinition>
  <node name="restart">
    <children>
      <node name="wan-load-balance">
        <properties>
          <help>Restart Wide Area Network (WAN) load-balancing daemon</help>
        </properties>
        <command>sudo ${vyos_op_scripts_dir}/restart.py restart_service --name load-balancing_wan</command>
      </node>
    </children>
  </node>
  <node name="show">
    <children>
      <node name="wan-load-balance">
        <properties>
          <help>Show Wide Area Network (WAN) load-balancing information</help>
        </properties>
        <command>${vyos_op_scripts_dir}/load-balancing_wan.py show_summary</command>
        <children>
          <node name="connection">
            <properties>
              <help>Show Wide Area Network (WAN) load-balancing flow</help>
            </properties>
            <command>${vyos_op_scripts_dir}/load-balancing_wan.py show_connection</command>
          </node>
          <node name="status">
            <properties>
              <help>Show WAN load-balancing statistics</help>
            </properties>
            <command>${vyos_op_scripts_dir}/load-balancing_wan.py show_status</command>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>