summaryrefslogtreecommitdiffstats
path: root/redhat/daemons (follow)
Commit message (Collapse)AuthorAgeFilesLines
* redhat: Add fabricd to RPM packageMartin Winter2018-09-051-0/+2
| | | | Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* bfdd: wire to the build processRafael Zalamena2018-08-081-0/+3
| | | | | | | | | Add BFD daemon to the build process and packaging instructions. Currently the bfdd daemon does nothing, this is just to document how the daemon insertion step occured. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
* debianpkg, redhat, tools: Fixup startup/build for new daemonDonald Sharp2018-07-291-0/+2
| | | | | | | Add code to allow FRR to properly build and handle the staticd for some of the more common packaging. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* redhat: Make watchfrr the defaultDonald Sharp2018-05-301-1/+1
| | | | | | | | With systemd being the default on more systems now, lets configure watchfrr to start else systemd systems on redhat will not stay up for more than 1 minute. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* pbrd: Add PBR to FRRDonald Sharp2018-04-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an implementation of PBR for FRR. This implemenation uses a combination of rules and tables to determine how packets will flow. PBR introduces a new concept of 'nexthop-groups' to specify a group of nexthops that will be used for ecmp. Nexthop-groups are specified on the cli via: nexthop-group DONNA nexthop 192.168.208.1 nexthop 192.168.209.1 nexthop 192.168.210.1 ! PBR sees the nexthop-group and installs these as a default route with these nexthops starting at table 10000 robot# show pbr nexthop-groups Nexthop-Group: DONNA Table: 10001 Valid: 1 Installed: 1 Valid: 1 nexthop 192.168.209.1 Valid: 1 nexthop 192.168.210.1 Valid: 1 nexthop 192.168.208.1 I have also introduced the ability to specify a table in a 'show ip route table XXX' to see the specified tables. robot# show ip route table 10001 Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, P - PIM, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP, F - PBR, > - selected route, * - FIB route F>* 0.0.0.0/0 [0/0] via 192.168.208.1, enp0s8, 00:14:25 * via 192.168.209.1, enp0s9, 00:14:25 * via 192.168.210.1, enp0s10, 00:14:25 PBR tracks PBR-MAPS via the pbr-map command: ! pbr-map EVA seq 10 match src-ip 4.3.4.0/24 set nexthop-group DONNA ! pbr-map EVA seq 20 match dst-ip 4.3.5.0/24 set nexthop-group DONNA ! pbr-maps can have 'match src-ip <prefix>' and 'match dst-ip <prefix>' to affect decisions about incoming packets. Additionally if you only have one nexthop to use for a pbr-map you do not need to setup a nexthop-group and can specify 'set nexthop XXXX'. To apply the pbr-map to an incoming interface you do this: interface enp0s10 pbr-policy EVA ! When a pbr-map is applied to interfaces it can be installed into the kernel as a rule: [sharpd@robot frr1]$ ip rule show 0: from all lookup local 309: from 4.3.4.0/24 iif enp0s10 lookup 10001 319: from all to 4.3.5.0/24 iif enp0s10 lookup 10001 1000: from all lookup [l3mdev-table] 32766: from all lookup main 32767: from all lookup default [sharpd@robot frr1]$ ip route show table 10001 default proto pbr metric 20 nexthop via 192.168.208.1 dev enp0s8 weight 1 nexthop via 192.168.209.1 dev enp0s9 weight 1 nexthop via 192.168.210.1 dev enp0s10 weight 1 The linux kernel now will use the rules and tables to properly apply these policies. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: Don Slice <dslice@cumulusnetworks.com> Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* sharpd: Add Super Happy Advanced Routing ProtocolDonald Sharp2017-11-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Add a daemon that will allow us to test the zapi as well as test route install/removal times from the kernel. The current commands are: install route <starting ip address> nexthop <nexthop> (1-1000000) This command starts installing at <starting ip address>/32 (1-100000) routes that it auto-increments by 1 Installation start time is noted in the log and finish time is noted as well. remove routes <starting ip address> (1-1000000) This command removes routes at <starting ip address>/32 and removes (1-100000) routes created by the install route command. This code can be considered experimental and *is not* something that should be run in a production environment. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* redhat: Fix redhat startup to actually read in unified configDonald Sharp2017-10-261-0/+8
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* redhat: Always reference main frr start/stop script in /usr/lib/frrMartin Winter2017-10-211-1/+1
| | | | | | | | | * Fixes issue where daemon default config tried to use /etc/init.d/frr script which doesn't exist on systemd systems Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> Conflicts: redhat/daemons
* tools: remove watchfrr -A/-a/-z from init scriptsDavid Lamparter2017-08-021-1/+1
| | | | | | These don't exist anymore. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* redhat: Add missing pimd & babels to startup scripts and configMartin Winter2017-07-121-0/+4
| | | | Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* redhat: Cleanup more merge fixes and add nhrpd/eigrpd to red hat packageMartin Winter2017-06-061-0/+4
| | | | Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
* redhat: Add (combined) init.d script for FRR with daemon selection based on ↵Martin Winter2017-04-151-0/+59
/etc/frr/daemons - Provide new frr init script - Remove separate per-deamon init.d scripts Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>