summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2018-05-25 13:33:41 +0200
committerChristian Franke <chris@opensourcerouting.org>2018-09-05 11:38:12 +0200
commit13d9aad8566e6a3b2dd64f2718570959d697220d (patch)
tree03f9f63a64ab4257a4db3e461acd5cc5471b31b3
parentzebra: add RTPROT_FABRICD route type 197 (diff)
downloadfrr-13d9aad8566e6a3b2dd64f2718570959d697220d.tar.xz
frr-13d9aad8566e6a3b2dd64f2718570959d697220d.zip
redhat: Add fabricd to RPM package
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
-rw-r--r--redhat/daemons2
-rwxr-xr-xredhat/frr.init2
-rw-r--r--redhat/frr.logrotate8
-rw-r--r--redhat/frr.spec.in4
4 files changed, 14 insertions, 2 deletions
diff --git a/redhat/daemons b/redhat/daemons
index de708cf4f..c301a1c23 100644
--- a/redhat/daemons
+++ b/redhat/daemons
@@ -53,6 +53,7 @@ sharpd=no
pbrd=no
staticd=no
bfdd=no
+fabricd=no
#
# Command line options for the daemons
@@ -73,6 +74,7 @@ sharpd_options=("-A 127.0.0.1")
pbrd_options=("-A 127.0.0.1")
staticd_options=("-A 127.0.0.1")
bfdd_options=("-A 127.0.0.1")
+fabricd_options=("-A 127.0.0.1")
#
# If the vtysh_enable is yes, then the unified config is read
diff --git a/redhat/frr.init b/redhat/frr.init
index 2e33aee17..47a92eed3 100755
--- a/redhat/frr.init
+++ b/redhat/frr.init
@@ -33,7 +33,7 @@ V_PATH=/var/run/frr
# Local Daemon selection may be done by using /etc/frr/daemons.
# See /usr/share/doc/frr/README.Debian.gz for further information.
# Keep zebra first and do not list watchfrr!
-DAEMONS="zebra bgpd ripd ripngd ospfd ospf6d isisd pimd pbrd ldpd nhrpd eigrpd babeld staticd sharpd bfdd"
+DAEMONS="zebra bgpd ripd ripngd ospfd ospf6d isisd pimd pbrd ldpd nhrpd eigrpd babeld staticd sharpd bfdd fabricd"
MAX_INSTANCES=5
RELOAD_SCRIPT=/usr/lib/frr/frr-reload.py
diff --git a/redhat/frr.logrotate b/redhat/frr.logrotate
index 654d355fd..df7c5da54 100644
--- a/redhat/frr.logrotate
+++ b/redhat/frr.logrotate
@@ -93,3 +93,11 @@
/bin/kill -USR1 `cat /var/run/frr/bfdd.pid 2> /dev/null` 2> /dev/null || true
endscript
}
+
+/var/log/frr/fabricd.log {
+ notifempty
+ missingok
+ postrotate
+ /bin/kill -USR1 `cat /var/run/frr/fabricd.pid 2> /dev/null` 2> /dev/null || true
+ endscript
+}
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index 25b48506a..d001f3c39 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -86,7 +86,7 @@
%{!?frr_gid: %global frr_gid 92 }
%{!?vty_gid: %global vty_gid 85 }
-%define daemon_list zebra ripd ospfd bgpd isisd ripngd ospf6d pbrd staticd bfdd
+%define daemon_list zebra ripd ospfd bgpd isisd ripngd ospf6d pbrd staticd bfdd fabricd
%if %{with_ldpd}
%define daemon_ldpd ldpd
@@ -459,6 +459,7 @@ zebra_spec_add_service isisd 2608/tcp "ISISd vty"
%if %{with_bfdd}
zebra_spec_add_service bfdd 2617/tcp "BFDd vty"
%endif
+zebra_spec_add_service fabricd 2618/tcp "Fabricd vty"
%if "%{initsystem}" == "systemd"
for daemon in %all_daemons ; do
@@ -594,6 +595,7 @@ fi
%{_sbindir}/pbrd
%endif
%{_sbindir}/isisd
+%{_sbindir}/fabricd
%if %{with_ldpd}
%{_sbindir}/ldpd
%endif