summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2024-10-15 16:23:50 +0800
committerluwenpeng <[email protected]>2024-10-15 16:23:50 +0800
commit431ac5f67ddcd64c761928c53454c2d49621e091 (patch)
tree321e3c7f748c653700bd7d73fdc7345229beac09 /platform
parent5799de529955798ed0727c088ffa25f1e4e51445 (diff)
Adapting table name changesv1.3.7-20241025v1.3.6-20241018
Diffstat (limited to 'platform')
-rw-r--r--platform/src/policy.cpp4
-rw-r--r--platform/test/test_resource/sce.json4
2 files changed, 4 insertions, 4 deletions
diff --git a/platform/src/policy.cpp b/platform/src/policy.cpp
index 2298241..eb66fcc 100644
--- a/platform/src/policy.cpp
+++ b/platform/src/policy.cpp
@@ -15,8 +15,8 @@
#include "utarray.h"
#define TABLE_NAME_SC "SERVICE_CHAINING_RULE"
-#define TABLE_NAME_SFF "SERVICE_FUNCTION_FORWARDER_PROFILE"
-#define TABLE_NAME_SF "SERVICE_FUNCTION_PROFILE"
+#define TABLE_NAME_SFF "SERVICE_FUNCTION_FORWARDER"
+#define TABLE_NAME_SF "SERVICE_FUNCTION"
/******************************************************************************
* Struct policy_enforcer
diff --git a/platform/test/test_resource/sce.json b/platform/test/test_resource/sce.json
index 2bff1b4..ce85f75 100644
--- a/platform/test/test_resource/sce.json
+++ b/platform/test/test_resource/sce.json
@@ -1,7 +1,7 @@
{
"plugin_table": [
{
- "table_name": "SERVICE_FUNCTION_PROFILE",
+ "table_name": "SERVICE_FUNCTION",
"table_content": [
{
"uuid": "00000000-0000-0000-3333-000000000001",
@@ -157,7 +157,7 @@
]
},
{
- "table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE",
+ "table_name": "SERVICE_FUNCTION_FORWARDER",
"table_content": [
{
"uuid": "00000000-0000-0000-2222-000000000001",