Skip to content

Commit bad53fe

Browse files
frr: enable ospfd
With the following configuration, we're able to peer with a remote frr instance. router ospf redistribute connected redistribute static network 10.0.0.0/24 area 10.0.0.1 exit fedora-linux-42# show ip ospf route ============ OSPF network routing table ============ N 10.0.0.0/24 [10] area: 10.0.0.1 directly attached to p0 ============ OSPF router routing table ============= R 10.0.0.2 [10] area: 10.0.0.1, ASBR via 10.0.0.2, p0 ============ OSPF external routing table =========== N E2 192.0.0.0/24 [10/20] tag: 0 via 10.0.0.2, p0 fedora-linux-42# show ip route ospf Codes: K - kernel route, C - connected, L - local, S - static, O - OSPF, I - IS-IS, B - BGP, T - Table, v - VNC, V - VNC-Direct, t - Table-Direct, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure IPv4 unicast VRF default: O 10.0.0.0/24 [110/10] is directly connected, p0, weight 1, 00:06:36 O>* 192.0.0.0/24 [110/20] via 10.0.0.2, p0, weight 1, 00:05:50 Signed-off-by: Christophe Fontaine <[email protected]>
1 parent 7a2046c commit bad53fe

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

frr/frr_plugin_install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ install -D -m 755 "$1" "$2"
99
sed -i -e '/^zebra_options=/ {
1010
/-M[[:space:]]*dplane_grout/! s/"$/ -M dplane_grout"/
1111
}' "$3"
12-
sed -i -e '/isisd=no/isisd=yes/' "$3"
12+
sed -i -e 's/isisd=no/isisd=yes/' "$3"
13+
sed -i -e 's/ospfd=no/ospfd=yes/' "$3"
1314
touch "$4"

subprojects/packagefiles/frr/meson-add-dependency-definition.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ index 0000000..d26e979
104104
+ '--prefix="' + prefix + '" ' +
105105
+ '--with-moduledir="' + moduledir + '" ' +
106106
+ '--disable-doc --enable-multipath=128 ' +
107-
+ '--disable-ripd --disable-ripngd --disable-ospfd --disable-ospf6d ' +
107+
+ '--disable-ripd --disable-ripngd ' +
108108
+ '--disable-ldpd --disable-nhrpd --disable-eigrpd --disable-babeld ' +
109109
+ '--disable-pimd --disable-pim6d --disable-pbrd --disable-fabricd ' +
110-
+ '--disable-vrrpd --disable-pathd --disable-ospfapi --disable-ospfclient ' +
110+
+ '--disable-vrrpd --disable-pathd --disable-ospfclient ' +
111111
+ '--disable-bfdd --disable-python-runtime ' + extra_configure_option + ' ' +
112112
+ '&& touch "' + configure_stamp + '"'
113113
+ ],

0 commit comments

Comments
 (0)