summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-11 20:38:48 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-14 11:09:56 +0100
commit8c7f469cc4463fe6b368c6310c4edafa67283571 (patch)
tree047dabf3326f2b256012a7d69e0c255611f362c9 /interface-definitions
parent952c52ef012504f17f09234ab1f7608ceb4002b1 (diff)
downloadvyos-1x-8c7f469cc4463fe6b368c6310c4edafa67283571.tar.gz
vyos-1x-8c7f469cc4463fe6b368c6310c4edafa67283571.zip
vrf: ospf: T2271: create individual OSPF process for specified VRF name
VyOS CLI config: vrf red { ospf { default-information { originate { always } } default-metric 30 passive-interface default } } Will create the FRR configuration snippet: ! router ospf vrf red auto-cost reference-bandwidth 100 timers throttle spf 200 1000 10000 passive-interface default default-metric 30 default-information originate always !
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/protocols-vrf.xml.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/interface-definitions/protocols-vrf.xml.in b/interface-definitions/protocols-vrf.xml.in
index 77297938b..e9ef5dc2a 100644
--- a/interface-definitions/protocols-vrf.xml.in
+++ b/interface-definitions/protocols-vrf.xml.in
@@ -27,6 +27,14 @@
#include <include/static-route6.xml.i>
</children>
</node>
+ <node name="ospf" owner="${vyos_conf_scripts_dir}/protocols_ospf.py $VAR(../@)">
+ <properties>
+ <help>Open Shortest Path First (OSPF)</help>
+ </properties>
+ <children>
+ #include <include/ospf/ospf-common-config.xml.i>
+ </children>
+ </node>
#include <include/vni.xml.i>
</children>
</tagNode>