summaryrefslogtreecommitdiff
path: root/op-mode-definitions/load-balancing_haproxy.xml.in
blob: 8de7ae97f02fa85c0d3ed9b5b45a5041bff98096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="restart">
    <children>
      <node name="haproxy">
        <properties>
          <help>Restart haproxy service</help>
        </properties>
        <command>sudo ${vyos_op_scripts_dir}/restart.py restart_service --name haproxy</command>
      </node>
    </children>
  </node>
  <node name="show">
    <children>
      <node name="haproxy">
        <properties>
          <help>Show load-balancing haproxy</help>
        </properties>
        <command>sudo ${vyos_op_scripts_dir}/load-balancing_haproxy.py show</command>
      </node>
    </children>
  </node>
</interfaceDefinition>