]> git.proxmox.com Git - mirror_frr.git/commitdiff
redhat: Add fabricd to RPM package
authorMartin Winter <mwinter@opensourcerouting.org>
Fri, 25 May 2018 11:33:41 +0000 (04:33 -0700)
committerChristian Franke <chris@opensourcerouting.org>
Wed, 5 Sep 2018 09:38:12 +0000 (11:38 +0200)
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
redhat/daemons
redhat/frr.init
redhat/frr.logrotate
redhat/frr.spec.in

index de708cf4fd7e313f6866c97543641cec8527bdd3..c301a1c23a5de4d8f9fa85eb5ae1f6704fb26595 100644 (file)
@@ -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
index 2e33aee1730c84c70afef20d9e4f83315c6ecfe0..47a92eed32cc67fb651ad610d81968abbb2ce82f 100755 (executable)
@@ -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
 
index 654d355fd7ea94cbeb6e79a9620c96d0b2a34afe..df7c5da54e5896262ecfcb2601ca4bb23d5b9887 100644 (file)
     /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
+}
index 25b48506a6ed7b22d5660b2f19642e08c5fe1441..d001f3c3958de8fc2114fe72daace38c37da892c 100644 (file)
@@ -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