summaryrefslogtreecommitdiff
path: root/op-mode-definitions/restart-frr.xml
blob: 96ad1a650ee9dc4af2e0fbbd206db745691a4f1e (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="restart">
    <children>
      <node name="frr">
        <properties>
          <help>Restart FRRouting daemons</help>
        </properties>
        <command>sudo ${vyos_op_scripts_dir}/restart_frr.py --action restart</command>
        <children>
          <leafNode name="bfdd">
            <properties>
              <help>Restart Bidirectional Forwarding Detection daemon</help>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon bfdd</command>
          </leafNode>
          <leafNode name="bgpd">
            <properties>
              <help>Restart Border Gateway Protocol daemon</help>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon bgpd</command>
          </leafNode>
          <leafNode name="ospfd">
            <properties>
              <help>Restart OSPFv2 daemon</help>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon ospfd</command>
          </leafNode>
          <leafNode name="ospf6d">
            <properties>
              <help>Restart OSPFv3 daemon</help>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon ospf6d</command>
          </leafNode>
          <leafNode name="ripd">
            <properties>
              <help>Restart Routing Information Protocol daemon</help>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon ripd</command>
          </leafNode>
          <leafNode name="ripngd">
            <properties>
              <help>Restart RIPng daemon</help>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon ripngd</command>
          </leafNode>
          <leafNode name="staticd">
            <properties>
              <help>Restart Static Route daemon</help>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon staticd</command>
          </leafNode>
          <leafNode name="zebra">
            <properties>
              <help>Restart IP routing manager daemon</help>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon zebra</command>
          </leafNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>