summaryrefslogtreecommitdiff
path: root/op-mode-definitions/restart-frr.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-30 23:49:45 +0100
committerGitHub <noreply@github.com>2019-12-30 23:49:45 +0100
commit68e9026dc33f53ef105aa2f20b777d126a0e3072 (patch)
tree65f8e865c0d9f424efb6ebd56c0b93f13ce1c5e3 /op-mode-definitions/restart-frr.xml
parent3c233a8952b069892298662c4c757b5a6ffe3561 (diff)
parent452a9651f215205b34268c723beec5b2f964ad09 (diff)
downloadvyos-1x-68e9026dc33f53ef105aa2f20b777d126a0e3072.tar.gz
vyos-1x-68e9026dc33f53ef105aa2f20b777d126a0e3072.zip
Merge pull request #195 from zdc/T1514
FRRouting: T1514: Extended FRR restarting functionality and fixed some bugs
Diffstat (limited to 'op-mode-definitions/restart-frr.xml')
-rw-r--r--op-mode-definitions/restart-frr.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/op-mode-definitions/restart-frr.xml b/op-mode-definitions/restart-frr.xml
index 4b649febd..96ad1a650 100644
--- a/op-mode-definitions/restart-frr.xml
+++ b/op-mode-definitions/restart-frr.xml
@@ -6,55 +6,55 @@
<properties>
<help>Restart FRRouting daemons</help>
</properties>
- <command>${vyos_op_scripts_dir}/restart_frr.py --action restart</command>
+ <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>${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon bfdd</command>
+ <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>${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon bgpd</command>
+ <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>${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon ospfd</command>
+ <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>${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon ospf6d</command>
+ <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>${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon ripd</command>
+ <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>${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon ripngd</command>
+ <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>${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon staticd</command>
+ <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>${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon zebra</command>
+ <command>sudo ${vyos_op_scripts_dir}/restart_frr.py --action restart --daemon zebra</command>
</leafNode>
</children>
</node>