mirror_frr/pbrd
Stephen Worley 0dcff6f463 pbrd: don't silently fail on atomic match IP change attempts
Currently pbrd does not support the abilitity to make atomic
changes to a config.

ex)
`match src-ip 1.1.1.1/32`
`match src-ip 1.1.1.0/24`

We would overwrite the first one but never actually install it.

In the `set nexthop commands` we explicitly fail if there is
already a `set nexthop` config present. This patch extends the
match src/dest-ip configs to do the same.

In the future we should make all these commands atomic but for
now its better to not fail silently at the very least.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
2019-12-03 15:56:00 -05:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
Makefile pbrd: Add PBR to FRR 2018-04-06 13:22:43 -04:00
pbr_debug.c pbrd: Fix unused function 2018-04-17 18:43:47 -04:00
pbr_debug.h pbrd: move debug vty into pbr_vty.c 2018-04-17 18:43:47 -04:00
pbr_main.c *: make frr_yang_module_info const 2019-11-30 00:38:32 +01:00
pbr_map.c *: generously apply const 2019-12-02 15:01:29 +01:00
pbr_map.h pbrd: Add set vrf NAME and set vrf unchanged 2019-11-21 16:59:42 -05:00
pbr_memory.c pbrd: Add PBR to FRR 2018-04-06 13:22:43 -04:00
pbr_memory.h pbrd: Add PBR to FRR 2018-04-06 13:22:43 -04:00
pbr_nht.c pbrd: Add set vrf NAME and set vrf unchanged 2019-11-21 16:59:42 -05:00
pbr_nht.h pbrd: add support for interface nexthops 2019-02-14 22:57:39 -02:00
pbr_vrf.c pbrd: Add set vrf NAME and set vrf unchanged 2019-11-21 16:59:42 -05:00
pbr_vrf.h pbrd: Add set vrf NAME and set vrf unchanged 2019-11-21 16:59:42 -05:00
pbr_vty.c pbrd: don't silently fail on atomic match IP change attempts 2019-12-03 15:56:00 -05:00
pbr_vty.h pbrd, lib: move PBR_STR def. to lib 2018-06-13 16:22:01 +00:00
pbr_zebra.c pbrd: don't set rule removed on fail 2019-12-03 15:56:00 -05:00
pbr_zebra.h *: Add infrastructure to support zapi interface callbacks 2019-09-19 13:34:06 -04:00
pbrd.conf.sample pbrd, sharpd, staticd: Add some color to sample configuration files 2019-08-19 10:36:53 -04:00
subdir.am pbrd: Add set vrf NAME and set vrf unchanged 2019-11-21 16:59:42 -05:00