summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-30 16:02:52 +0200
committerChristian Breunig <christian@breunig.cc>2023-10-25 06:23:29 +0200
commit4d1fc6e91aef9a0e9e43b21b07368b7b081764f3 (patch)
tree7baf5f66b78e0da99310b1bc1de52d9c7b55d5ad
parentcb912e98de3b17611fc5259bf755ce9eafa7ec18 (diff)
downloadvyos-1x-4d1fc6e91aef9a0e9e43b21b07368b7b081764f3.tar.gz
vyos-1x-4d1fc6e91aef9a0e9e43b21b07368b7b081764f3.zip
vrf: netns: T3829: T31: priority needs to be after netns
A network namespace can have VRFs assigned, thus we need to get the priorities right. This lowers both priorities in general as a VRF or NETNS needs to be available very early as services can run on top of them. (cherry picked from commit 9dd5ff064a37b4e884f7bd9fb7630bf7829fa1ad)
-rw-r--r--interface-definitions/netns.xml.in2
-rw-r--r--interface-definitions/vrf.xml.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/netns.xml.in b/interface-definitions/netns.xml.in
index 5d958968f..d5026bfae 100644
--- a/interface-definitions/netns.xml.in
+++ b/interface-definitions/netns.xml.in
@@ -3,7 +3,7 @@
<node name="netns" owner="${vyos_conf_scripts_dir}/netns.py">
<properties>
<help>Network namespace</help>
- <priority>291</priority>
+ <priority>10</priority>
</properties>
<children>
<tagNode name="name">
diff --git a/interface-definitions/vrf.xml.in b/interface-definitions/vrf.xml.in
index 3783785ce..e5ec539d3 100644
--- a/interface-definitions/vrf.xml.in
+++ b/interface-definitions/vrf.xml.in
@@ -4,7 +4,7 @@
<properties>
<help>Virtual Routing and Forwarding</help>
<!-- must be before any interface, check /opt/vyatta/sbin/priority.pl -->
- <priority>299</priority>
+ <priority>11</priority>
</properties>
<children>
<leafNode name="bind-to-all">