summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2022-11-23 15:53:50 -0500
committerGitHub <noreply@github.com>2022-11-23 15:53:50 -0500
commita86afb3e0e12a8f29b49e71e9aa9f23ea7de6d51 (patch)
tree1831e172e48b4bd67f50c881925e5275fccea3c2
parent7fa06393724f621bf893e076bdf46911be6b4d3b (diff)
parent2272627571681ba01585fc3f25a3ebfda1b7da30 (diff)
Merge pull request #12377 from opensourcerouting/fix/enable_scripting
zebra: Replace TC definitions for dplane
-rw-r--r--zebra/zebra_script.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/zebra/zebra_script.c b/zebra/zebra_script.c
index 2e2f4159cd..5c67ad4f16 100644
--- a/zebra/zebra_script.c
+++ b/zebra/zebra_script.c
@@ -417,9 +417,14 @@ void lua_pushzebra_dplane_ctx(lua_State *L, const struct zebra_dplane_ctx *ctx)
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:
+ case DPLANE_OP_TC_QDISC_INSTALL:
+ case DPLANE_OP_TC_QDISC_UNINSTALL:
+ case DPLANE_OP_TC_CLASS_ADD:
+ case DPLANE_OP_TC_CLASS_DELETE:
+ case DPLANE_OP_TC_CLASS_UPDATE:
+ case DPLANE_OP_TC_FILTER_ADD:
+ case DPLANE_OP_TC_FILTER_DELETE:
+ case DPLANE_OP_TC_FILTER_UPDATE:
/* Not currently handled */
case DPLANE_OP_INTF_NETCONFIG: /*NYI*/
case DPLANE_OP_NONE: