summaryrefslogtreecommitdiff
path: root/zebra/zebra_script.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-04-20 08:51:42 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-07-05 13:03:14 -0400
commita014450441aeb1bf3f335d98903eee41e955867e (patch)
tree614da6a95d0c9fc6be3c7dbd567707856b10accf /zebra/zebra_script.c
parent487a96a35f5428c205fe792f9bdded2c894bb5a0 (diff)
zebra: Add code to get/set interface to pass up from dplane
1) Add a bunch of get/set functions and associated data structure in zebra_dplane to allow the setting and retrieval of interface netlink data up into the master pthread. 2) Add a bit of code to breakup startup into stages. This is because FRR currently has a mix of dplane and non dplane interactions and the code needs to be paused before continuing on. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_script.c')
-rw-r--r--zebra/zebra_script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_script.c b/zebra/zebra_script.c
index 3f107cb48d..9f8490ac66 100644
--- a/zebra/zebra_script.c
+++ b/zebra/zebra_script.c
@@ -415,6 +415,7 @@ void lua_pushzebra_dplane_ctx(lua_State *L, const struct zebra_dplane_ctx *ctx)
/* Not currently handled */
case DPLANE_OP_INTF_NETCONFIG: /*NYI*/
case DPLANE_OP_NONE:
+ case DPLANE_OP_STARTUP_STAGE:
break;
} /* Dispatch by op code */
}