FRRouting: Difference between revisions

Nicof2000 (talk | contribs)
m reword
Nicof2000 (talk | contribs)
m monitoring: init
 
Line 5: Line 5:


[https://github.com/secshellnet/frr.nix/ github:secshellnet/frr.nix] introduced settings for access-lists, prefix-lists and route-maps.
[https://github.com/secshellnet/frr.nix/ github:secshellnet/frr.nix] introduced settings for access-lists, prefix-lists and route-maps.
==== Monitoring ====
[https://github.com/tynany/frr_exporter prometheus-frr-exporter] can be used to generate prometheus metrics. By default, the bfd, bgp, ospf, and route collectors are enabled. Review and adjust them to match your requirements. A complete list is available in the help page.<syntaxhighlight lang="nixos">
{
  services.prometheus.exporters.frr = {
    enable = true;
    disabledCollectors = [ "ospf" ];
    enabledCollectors = [
      "bgp6"
      "bgpl2vpn"
      "rpki"
    ];
  };
}
</syntaxhighlight>


=== Examples ===
=== Examples ===
Several example configurations have been implemented using the NixOS test framework in [https://github.com/secshellnet/nixos-tests github:secshellnet/nixos-tests]. These tests verify interoperability with other routing daemons (such as BIRD and GoBGP) and different networking implementations (like [[IfState]], [[Systemd/networkd|systemd-networkd]], [[NetworkManager]] and [[Networking|scripted networking]]).
Several example configurations have been implemented using the NixOS test framework in [https://github.com/secshellnet/nixos-tests github:secshellnet/nixos-tests]. These tests verify interoperability with other routing daemons (such as BIRD and GoBGP) and different networking implementations (like [[IfState]], [[Systemd/networkd|systemd-networkd]], [[NetworkManager]] and [[Networking|scripted networking]]).