diff options
author | Stephen Worley <sworley@nvidia.com> | 2022-08-16 21:56:35 +0200 |
---|---|---|
committer | Stephen Worley <sworley@nvidia.com> | 2022-08-16 21:56:35 +0200 |
commit | 17e6ba28283e25f68098325ea8e9413bd5ef348d (patch) | |
tree | 51265db5a70589ca72191dba43d3bf3653b87fb6 /zebra/zebra_script.c | |
parent | Merge pull request #11816 from mobash-rasool/fixes2 (diff) | |
download | frr-17e6ba28283e25f68098325ea8e9413bd5ef348d.tar.xz frr-17e6ba28283e25f68098325ea8e9413bd5ef348d.zip |
zebra: add TC handlers in script code
Add TC handlers in script code and move non-handled
code together.
Signed-off-by: Stephen Worley <sworley@nvidia.com>
Diffstat (limited to '')
-rw-r--r-- | zebra/zebra_script.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/zebra/zebra_script.c b/zebra/zebra_script.c index d247f8770..2e2f4159c 100644 --- a/zebra/zebra_script.c +++ b/zebra/zebra_script.c @@ -329,14 +329,6 @@ void lua_pushzebra_dplane_ctx(lua_State *L, const struct zebra_dplane_ctx *ctx) lua_setfield(L, -2, "ipset"); break; } - case DPLANE_OP_ADDR_INSTALL: - case DPLANE_OP_ADDR_UNINSTALL: - case DPLANE_OP_INTF_ADDR_ADD: - case DPLANE_OP_INTF_ADDR_DEL: - case DPLANE_OP_INTF_INSTALL: - case DPLANE_OP_INTF_UPDATE: - case DPLANE_OP_INTF_DELETE: - break; case DPLANE_OP_NEIGH_INSTALL: case DPLANE_OP_NEIGH_UPDATE: case DPLANE_OP_NEIGH_DELETE: @@ -418,6 +410,17 @@ void lua_pushzebra_dplane_ctx(lua_State *L, const struct zebra_dplane_ctx *ctx) } lua_setfield(L, -2, "gre"); + case DPLANE_OP_ADDR_INSTALL: + case DPLANE_OP_ADDR_UNINSTALL: + case DPLANE_OP_INTF_ADDR_ADD: + case DPLANE_OP_INTF_ADDR_DEL: + case DPLANE_OP_INTF_INSTALL: + case DPLANE_OP_INTF_UPDATE: + case DPLANE_OP_INTF_DELETE: + case DPLANE_OP_TC_INSTALL: + case DPLANE_OP_TC_UPDATE: + case DPLANE_OP_TC_DELETE: + /* Not currently handled */ case DPLANE_OP_INTF_NETCONFIG: /*NYI*/ case DPLANE_OP_NONE: break; |