]> git.puffer.fish Git - mirror/frr.git/commit
staticd: Backend cofiguration code to fix table-id problem 7877/head
authorvdhingra <vdhingra@vmware.com>
Fri, 15 Jan 2021 18:43:28 +0000 (10:43 -0800)
committervdhingra <vdhingra@vmware.com>
Fri, 15 Jan 2021 18:43:28 +0000 (10:43 -0800)
commita687b6b27bb2b5c785cdf5d897cd450412b1642d
tree33932451405c0977a1abefd54ff5a3500a76a10a
parent52370b49419c4f225680ffb4ee77f1a3bf121660
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