[dev] Static Daemon now part of master
sharpd at cumulusnetworks.com
Wed Aug 8 13:35:33 EDT 2018
Static route handling has been moved from within zebra to it's own
daemon `staticd`. This daemon is automatically built as part of the
standard distribution and both redhat and debian packaging has been
updated to point to it as well.
If you are using static routes you now must run `staticd`. Please
update your startup scripts to reflect this:
1) Modify /etc/frr/daemons or /etc/frr/daemons.conf as necesary.
2) If you are using an integrated config, you do not need to modify
any configuration file.
3) If you are not using an integrated config, staticd has been
modified to allow it to read the zebra.conf file to get it's static
routes. It is recommended that you do a write mem after bring up to
get staticd it's own configuration file.
Why was this change made? It was done for 2 reasons:
1) Zebra has rib_add_multipath for route entry from higher level
protocols. static routes were violating this coding standard and we
ended up with 2 code paths for handling new routes in the system.
This simplfiies this to 1 entry point, which is good because we are
working on further zebra changes in how it handles nexthop groups and
having 2 code paths would make this work more complicated than what it
needed to be.
2) Moving static routes to it's own daemon simplifies a bunch of code
paths in zebra as that we do not need to keep track of special case
code for static routes.
I'd Like to thank everyone who's had their hand in this, Martin
Winter, Renato Westphal, Quentin Young, Philippe Guibert, Lou Berger
and David Lamparter!
More information about the dev