mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-10 06:52:36 +00:00
redhat: Add fabricd to RPM package
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
This commit is contained in:
parent
da82f6b42a
commit
13d9aad856
@ -53,6 +53,7 @@ sharpd=no
|
|||||||
pbrd=no
|
pbrd=no
|
||||||
staticd=no
|
staticd=no
|
||||||
bfdd=no
|
bfdd=no
|
||||||
|
fabricd=no
|
||||||
|
|
||||||
#
|
#
|
||||||
# Command line options for the daemons
|
# Command line options for the daemons
|
||||||
@ -73,6 +74,7 @@ sharpd_options=("-A 127.0.0.1")
|
|||||||
pbrd_options=("-A 127.0.0.1")
|
pbrd_options=("-A 127.0.0.1")
|
||||||
staticd_options=("-A 127.0.0.1")
|
staticd_options=("-A 127.0.0.1")
|
||||||
bfdd_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
|
# If the vtysh_enable is yes, then the unified config is read
|
||||||
|
@ -33,7 +33,7 @@ V_PATH=/var/run/frr
|
|||||||
# Local Daemon selection may be done by using /etc/frr/daemons.
|
# Local Daemon selection may be done by using /etc/frr/daemons.
|
||||||
# See /usr/share/doc/frr/README.Debian.gz for further information.
|
# See /usr/share/doc/frr/README.Debian.gz for further information.
|
||||||
# Keep zebra first and do not list watchfrr!
|
# 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
|
MAX_INSTANCES=5
|
||||||
RELOAD_SCRIPT=/usr/lib/frr/frr-reload.py
|
RELOAD_SCRIPT=/usr/lib/frr/frr-reload.py
|
||||||
|
|
||||||
|
@ -93,3 +93,11 @@
|
|||||||
/bin/kill -USR1 `cat /var/run/frr/bfdd.pid 2> /dev/null` 2> /dev/null || true
|
/bin/kill -USR1 `cat /var/run/frr/bfdd.pid 2> /dev/null` 2> /dev/null || true
|
||||||
endscript
|
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
|
||||||
|
}
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
%{!?frr_gid: %global frr_gid 92 }
|
%{!?frr_gid: %global frr_gid 92 }
|
||||||
%{!?vty_gid: %global vty_gid 85 }
|
%{!?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}
|
%if %{with_ldpd}
|
||||||
%define daemon_ldpd ldpd
|
%define daemon_ldpd ldpd
|
||||||
@ -459,6 +459,7 @@ zebra_spec_add_service isisd 2608/tcp "ISISd vty"
|
|||||||
%if %{with_bfdd}
|
%if %{with_bfdd}
|
||||||
zebra_spec_add_service bfdd 2617/tcp "BFDd vty"
|
zebra_spec_add_service bfdd 2617/tcp "BFDd vty"
|
||||||
%endif
|
%endif
|
||||||
|
zebra_spec_add_service fabricd 2618/tcp "Fabricd vty"
|
||||||
|
|
||||||
%if "%{initsystem}" == "systemd"
|
%if "%{initsystem}" == "systemd"
|
||||||
for daemon in %all_daemons ; do
|
for daemon in %all_daemons ; do
|
||||||
@ -594,6 +595,7 @@ fi
|
|||||||
%{_sbindir}/pbrd
|
%{_sbindir}/pbrd
|
||||||
%endif
|
%endif
|
||||||
%{_sbindir}/isisd
|
%{_sbindir}/isisd
|
||||||
|
%{_sbindir}/fabricd
|
||||||
%if %{with_ldpd}
|
%if %{with_ldpd}
|
||||||
%{_sbindir}/ldpd
|
%{_sbindir}/ldpd
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user