]> git.puffer.fish Git - mirror/frr.git/commit
staticd: Backend cofiguration code to fix table-id problem 7844/head
authorvdhingra <vdhingra@vmware.com>
Sun, 10 Jan 2021 08:04:45 +0000 (00:04 -0800)
committervdhingra <vdhingra@vmware.com>
Tue, 12 Jan 2021 15:55:16 +0000 (07:55 -0800)
commitef4b6b22305c3234e38e8c75657e7d14009f91ba
treee41a8daba34843785126c554a3a3a91735f51dbc
parentd787163cedf5266bf2b8126012e23291385c394d
staticd: Backend cofiguration code to fix table-id problem

problem: table-id gets overwritten for a given route.

RCA: table-id was getting overwritten from the NB layer,
     So route was getting installed with the latest table-id.

Fix: make the table-id as the key in the NB layer.
     This will program the route in zebra correctly.

- Removed the table-id modify callbacks.
- Moved the validate and apply table-id changes to path-list creation

issue #7347

Signed-off-by: vishaldhingra <vdhingra@vmware.com>
staticd/static_nb.h
staticd/static_nb_config.c
staticd/static_routes.c
staticd/static_routes.h
staticd/static_vty.c