summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-30 16:02:52 +0200
committerChristian Breunig <christian@breunig.cc>2023-09-30 16:05:02 +0200
commit9dd5ff064a37b4e884f7bd9fb7630bf7829fa1ad (patch)
tree7b567a4f78b1454d5e34616cef6fb320bb8fc633 /interface-definitions
parent4326035e2319d969ad96d90ad5a8a1bc70427092 (diff)
downloadvyos-1x-9dd5ff064a37b4e884f7bd9fb7630bf7829fa1ad.tar.gz
vyos-1x-9dd5ff064a37b4e884f7bd9fb7630bf7829fa1ad.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.
Diffstat (limited to 'interface-definitions')
-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">