summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-19 09:48:03 +0100
committerGitHub <noreply@github.com>2020-03-19 09:48:03 +0100
commit7d7298661c18a3c33fd0fad56e9800f7ea2a6fe8 (patch)
tree457a148771c447ccc55702c8df77c452f7349642
parentad20b8d243b654d0f349032d085ecfd56aecab33 (diff)
parentc59347de078a24294e6481dedd4a7c22f4408154 (diff)
downloadvyos-build-7d7298661c18a3c33fd0fad56e9800f7ea2a6fe8.tar.gz
vyos-build-7d7298661c18a3c33fd0fad56e9800f7ea2a6fe8.zip
Merge pull request #90 from DmitriyEshenko/mpls-impl
mpls: T915: enable FRR ldpd service and modules
-rwxr-xr-xdata/live-build-config/hooks/live/30-frr-configs.chroot2
-rwxr-xr-xdata/live-build-config/hooks/live/30-mpls_modules.chroot9
2 files changed, 10 insertions, 1 deletions
diff --git a/data/live-build-config/hooks/live/30-frr-configs.chroot b/data/live-build-config/hooks/live/30-frr-configs.chroot
index 105e1e06..233a7758 100755
--- a/data/live-build-config/hooks/live/30-frr-configs.chroot
+++ b/data/live-build-config/hooks/live/30-frr-configs.chroot
@@ -20,7 +20,7 @@ ripd=yes
ripngd=yes
isisd=no
pimd=no
-ldpd=no
+ldpd=yes
nhrpd=no
eigrpd=no
babeld=no
diff --git a/data/live-build-config/hooks/live/30-mpls_modules.chroot b/data/live-build-config/hooks/live/30-mpls_modules.chroot
new file mode 100755
index 00000000..79cc041a
--- /dev/null
+++ b/data/live-build-config/hooks/live/30-mpls_modules.chroot
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# FRR LDP require loaded MPLS modules before starting FRR daemons
+
+echo I: Enabling autoload MPLS modules
+
+echo "mpls_gso" >> /etc/modules-load.d/mpls.conf
+echo "mpls_iptunnel" >> /etc/modules-load.d/mpls.conf
+echo "mpls_router" >> /etc/modules-load.d/mpls.conf