summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-14 11:07:25 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-14 14:46:01 +0100
commit007284ed9333ae65f7355ac49631965fef76a1db (patch)
treef0b619cc11cc9a110675a2eea34e24ac203db8dd /interface-definitions
parent548d9057e3ed66852bb2be62fe770c265712b4f3 (diff)
downloadvyos-1x-007284ed9333ae65f7355ac49631965fef76a1db.tar.gz
vyos-1x-007284ed9333ae65f7355ac49631965fef76a1db.zip
vrf: T3344: set explicit priority values for routing protocols
We must ensure that an interface is already added to a VRF before it is referenced inside a VRF context, e.g. OSPF.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/vrf.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/vrf.xml.in b/interface-definitions/vrf.xml.in
index 50a693248..b1d25926e 100644
--- a/interface-definitions/vrf.xml.in
+++ b/interface-definitions/vrf.xml.in
@@ -36,6 +36,7 @@
<node name="static" owner="${vyos_conf_scripts_dir}/protocols_static.py $VAR(../../@)">
<properties>
<help>Static route parameters</help>
+ <priority>600</priority>
</properties>
<children>
#include <include/static-route.xml.i>
@@ -45,6 +46,7 @@
<tagNode name="bgp" owner="${vyos_conf_scripts_dir}/protocols_bgp.py $VAR(../../@)">
<properties>
<help>Border Gateway Protocol (BGP)</help>
+ <priority>820</priority>
<valueHelp>
<format>u32:1-4294967294</format>
<description>Autonomous System Number</description>
@@ -60,6 +62,7 @@
<node name="ospf" owner="${vyos_conf_scripts_dir}/protocols_ospf.py $VAR(../../@)">
<properties>
<help>Open Shortest Path First (OSPF)</help>
+ <priority>620</priority>
</properties>
<children>
#include <include/ospf/ospf-common-config.xml.i>