Go to file
Rafael Zalamena a7b2821884 lib: fix prefix list installation
Based on the function `prefix_list_entry_add` and
`prefix_list_entry_delete` it was created two functions to replicate
its functionality without the assumption we are always alocating a new
prefix list entry.

Since the prefix list entry is stored in the YANG private data
structures, we want to avoid the allocation/free of memory that is
hold by the schema.

Every time a prefix list entry values change we must call
`prefix_list_entry_update_start` to uninstall the entry from prefix
list internal structures and then call
`prefix_list_entry_update_finish` to put them back.

The variable `installed` in the prefix list entry tracks the
installation status of the internal structure. It is possible that a
user unconfigures or forgets to add a `prefix` value and so we can't
install the entry until then.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2020-06-05 14:36:53 -03:00
.github .github: move pr template to subdir 2019-03-29 16:51:58 +00:00
alpine alpine: update packages 2020-05-31 04:10:33 -04:00
babeld build: use VPATH for vtysh_scan 2020-04-27 09:30:01 +02:00
bfdd *: add filter northbound support 2020-06-05 14:31:26 -03:00
bgpd *: add filter northbound support 2020-06-05 14:31:26 -03:00
debian build: fix data plane FPM netlink module 2020-04-14 13:45:39 -03:00
doc doc: update zebra/zapi doc 2020-06-02 08:22:24 -04:00
docker docker: fix centos7 install 2020-06-01 16:03:35 -04:00
eigrpd *: add filter northbound support 2020-06-05 14:31:26 -03:00
fpm *: Replace sizeof something to sizeof(something) 2020-03-08 21:44:53 +02:00
gdb bgpd: Convert binfo to path 2018-10-09 14:26:30 -04:00
grpc build: add LLVM bitcode targets 2020-05-05 14:39:12 +02:00
include zebra, lib: add an internal API to get relative default nsid in other ns 2020-05-18 14:11:03 +02:00
isisd *: add filter northbound support 2020-06-05 14:31:26 -03:00
ldpd ldpd: Relay data plane pseudowire status in LDP notification 2020-06-01 13:21:37 -04:00
lib lib: fix prefix list installation 2020-06-05 14:36:53 -03:00
m4 build: move python 2.x to the very last preference 2020-04-27 09:52:41 +02:00
mlag zebra: Do not build mlag protobuf support if version 3 is not avail 2019-12-15 09:37:51 -05:00
nhrpd build: use VPATH for vtysh_scan 2020-04-27 09:30:01 +02:00
ospf6d *: add filter northbound support 2020-06-05 14:31:26 -03:00
ospfclient *: Replace s_addr 0 => INADDR_ANY 2020-02-06 09:00:12 +02:00
ospfd *: add filter northbound support 2020-06-05 14:31:26 -03:00
pbrd pbrd, lib, doc: fix new show json key semantics 2020-05-27 10:28:02 -04:00
pimd Merge pull request #6054 from sarav511/dr2ndr 2020-06-01 07:58:32 -04:00
pkgsrc *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
python python: add graphviz callgraphs 2020-05-05 14:39:12 +02:00
qpb build: add LLVM bitcode targets 2020-05-05 14:39:12 +02:00
redhat build: fix data plane FPM netlink module 2020-04-14 13:45:39 -03:00
ripd *: add filter northbound support 2020-06-05 14:31:26 -03:00
ripngd *: add filter northbound support 2020-06-05 14:31:26 -03:00
sharpd sharpd: add handler for OPAQUE messages 2020-06-02 08:22:24 -04:00
snapcraft snapcraft: Add vrrpd to the snapcraft package 2019-11-19 10:46:33 +01:00
solaris doc: rename man pages to frr-* 2020-01-15 14:05:11 +01:00
staticd *: add filter northbound support 2020-06-05 14:31:26 -03:00
tests Merge pull request #6442 from wesleycoakley/pbrd-showjson 2020-06-01 07:44:36 -04:00
tools tools/frr-reload: --vty_socket arg 2020-05-26 19:14:00 +02:00
vrrpd build: make clippy Makefile rules nicer 2020-04-27 09:52:41 +02:00
vtysh lib: migrate filter CLI to use northbound 2020-06-05 14:36:45 -03:00
watchfrr build: make clippy Makefile rules nicer 2020-04-27 09:52:41 +02:00
yang lib: fix prefix list description command 2020-06-05 14:36:53 -03:00
zebra *: add filter northbound support 2020-06-05 14:31:26 -03:00
.clang-format *: frr_elevate_privs -> frr_with_privs 2019-09-03 17:18:35 +02:00
.dir-locals.el tools: fix emacs configuration file 2019-11-04 11:45:52 -03:00
.dockerignore docker: Make docker image on CentOS 7 2019-11-26 19:29:30 +00:00
.gitignore python: add graphviz callgraphs 2020-05-05 14:39:12 +02:00
bootstrap.sh autoreconf -i 2007-02-06 19:28:28 +00:00
buildtest.sh config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
changelog-auto.in debian: cleanly split off from dist tarball 2019-02-19 21:31:18 +01:00
config.version.in build: carry --with-pkg-extra-version into tarballs 2018-10-24 15:11:50 +02:00
configure.ac build: use configfile mode in init script 2020-05-11 21:50:27 +02:00
COPYING *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
COPYING-LGPLv2.1 build: remove LGPL v2.0, add LGPL v2.1 2016-11-15 17:19:38 +09:00
Makefile.am python: add graphviz callgraphs 2020-05-05 14:39:12 +02:00
README.md README.md: Add FRR Icon 2019-10-29 12:42:06 -04:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00

Icon

FRRouting

FRR is free software that implements and manages various IPv4 and IPv6 routing protocols. It runs on nearly all distributions of Linux and BSD as well as Solaris and supports all modern CPU architectures.

FRR currently supports the following protocols:

  • BGP
  • OSPFv2
  • OSPFv3
  • RIPv1
  • RIPv2
  • RIPng
  • IS-IS
  • PIM-SM/MSDP
  • LDP
  • BFD
  • Babel
  • PBR
  • OpenFabric
  • VRRP
  • EIGRP (alpha)
  • NHRP (alpha)

Installation & Use

For source tarballs, see the releases page.

For Debian and its derivatives, use the APT repository at https://deb.frrouting.org/.

Instructions on building and installing from source for supported platforms may be found in the developer docs.

Once installed, please refer to the user guide for instructions on use.

Community

The FRRouting email list server is located here and offers the following public lists:

Topic List
Development dev@lists.frrouting.org
Users & Operators frog@lists.frrouting.org
Announcements announce@lists.frrouting.org

For chat, we currently use Slack. You can join by clicking the "Slack" link under the Participate section of our website.

Contributing

FRR maintains developer's documentation which contains the project workflow and expectations for contributors. Some technical documentation on project internals is also available.

We welcome and appreciate all contributions, no matter how small!

Security

To report security issues, please use our security mailing list:

security [at] lists.frrouting.org