mirror_frr/pbrd
Igor Ryzhov f5eef2d5a8 lib: remove vrf-interface config when removing the VRF
If we have the following configuration:
```
vrf red
 smth
 exit-vrf
!
interface red vrf red
 smth
```
And we delete the VRF using "no vrf red" command, we end up with:
```
interface red
 smth
```
Interface config is preserved but moved to the default VRF.

This is not an expected behavior. We should remove the interface config
when the VRF is deleted.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-06-21 18:04:46 +03: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 lib: remove vrf-interface config when removing the VRF 2021-06-21 18:04:46 +03:00
pbr_map.c *: require semicolon after DEFINE_QOBJ & co. 2021-03-17 06:18:37 +01:00
pbr_map.h *: require semicolon after DEFINE_QOBJ & co. 2021-03-17 06:18:37 +01:00
pbr_memory.c *: require semicolon after DEFINE_MTYPE & co 2021-03-17 06:18:17 +01:00
pbr_memory.h *: require semicolon after DEFINE_MTYPE & co 2021-03-17 06:18:17 +01:00
pbr_nht.c Merge pull request #8675 from wesleycoakley/pbr-table-range-core-fix 2021-05-25 14:09:41 -04:00
pbr_nht.h pbrd: use sparse table for allocated NHG table IDs 2021-05-16 17:33:03 -04:00
pbr_vrf.c *: require semicolon after DEFINE_MTYPE & co 2021-03-17 06:18:17 +01:00
pbr_vrf.h pbrd: Fix memory leak 2020-10-23 11:28:12 -04:00
pbr_vty.c lib: remove vrf-interface config when removing the VRF 2021-06-21 18:04:46 +03:00
pbr_vty.h pbrd, lib: move PBR_STR def. to lib 2018-06-13 16:22:01 +00:00
pbr_zebra.c *: remaining zassert => assert 2021-04-23 12:25:51 +02:00
pbr_zebra.h pbrd: Fix memory leak 2020-10-23 11:28:12 -04:00
subdir.am *: remove *.conf.sample files 2021-04-09 13:14:30 -04:00