Adapting table name changes

This commit is contained in:
luwenpeng
2024-10-15 16:23:50 +08:00
parent 5799de5299
commit 431ac5f67d
12 changed files with 24 additions and 24 deletions

View File

@@ -15,8 +15,8 @@
#include "utarray.h" #include "utarray.h"
#define TABLE_NAME_SC "SERVICE_CHAINING_RULE" #define TABLE_NAME_SC "SERVICE_CHAINING_RULE"
#define TABLE_NAME_SFF "SERVICE_FUNCTION_FORWARDER_PROFILE" #define TABLE_NAME_SFF "SERVICE_FUNCTION_FORWARDER"
#define TABLE_NAME_SF "SERVICE_FUNCTION_PROFILE" #define TABLE_NAME_SF "SERVICE_FUNCTION"
/****************************************************************************** /******************************************************************************
* Struct policy_enforcer * Struct policy_enforcer

View File

@@ -1,7 +1,7 @@
{ {
"plugin_table": [ "plugin_table": [
{ {
"table_name": "SERVICE_FUNCTION_PROFILE", "table_name": "SERVICE_FUNCTION",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-3333-000000000001", "uuid": "00000000-0000-0000-3333-000000000001",
@@ -157,7 +157,7 @@
] ]
}, },
{ {
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE", "table_name": "SERVICE_FUNCTION_FORWARDER",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-2222-000000000001", "uuid": "00000000-0000-0000-2222-000000000001",

View File

@@ -1,7 +1,7 @@
{ {
"plugin_table": [ "plugin_table": [
{ {
"table_name": "SERVICE_FUNCTION_PROFILE", "table_name": "SERVICE_FUNCTION",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-3333-000000000001", "uuid": "00000000-0000-0000-3333-000000000001",
@@ -155,7 +155,7 @@
] ]
}, },
{ {
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE", "table_name": "SERVICE_FUNCTION_FORWARDER",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-2222-000000000001", "uuid": "00000000-0000-0000-2222-000000000001",

View File

@@ -10,7 +10,7 @@
}, },
{ {
"table_id":1, "table_id":1,
"table_name":"SERVICE_FUNCTION_FORWARDER_PROFILE", "table_name":"SERVICE_FUNCTION_FORWARDER",
"table_type":"plugin", "table_type":"plugin",
"custom":{ "custom":{
"key_type":"pointer", "key_type":"pointer",
@@ -19,7 +19,7 @@
}, },
{ {
"table_id":2, "table_id":2,
"table_name":"SERVICE_FUNCTION_PROFILE", "table_name":"SERVICE_FUNCTION",
"table_type":"plugin", "table_type":"plugin",
"custom":{ "custom":{
"key_type":"pointer", "key_type":"pointer",

View File

@@ -1,7 +1,7 @@
{ {
"plugin_table": [ "plugin_table": [
{ {
"table_name": "SERVICE_FUNCTION_PROFILE", "table_name": "SERVICE_FUNCTION",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-3333-000000000001", "uuid": "00000000-0000-0000-3333-000000000001",
@@ -23,7 +23,7 @@
] ]
}, },
{ {
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE", "table_name": "SERVICE_FUNCTION_FORWARDER",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-2222-000000000001", "uuid": "00000000-0000-0000-2222-000000000001",

View File

@@ -1,7 +1,7 @@
{ {
"plugin_table": [ "plugin_table": [
{ {
"table_name": "SERVICE_FUNCTION_PROFILE", "table_name": "SERVICE_FUNCTION",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-3333-000000000001", "uuid": "00000000-0000-0000-3333-000000000001",
@@ -23,7 +23,7 @@
] ]
}, },
{ {
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE", "table_name": "SERVICE_FUNCTION_FORWARDER",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-2222-000000000001", "uuid": "00000000-0000-0000-2222-000000000001",

View File

@@ -1,7 +1,7 @@
{ {
"plugin_table": [ "plugin_table": [
{ {
"table_name": "SERVICE_FUNCTION_PROFILE", "table_name": "SERVICE_FUNCTION",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-3333-000000000001", "uuid": "00000000-0000-0000-3333-000000000001",
@@ -23,7 +23,7 @@
] ]
}, },
{ {
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE", "table_name": "SERVICE_FUNCTION_FORWARDER",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-2222-000000000001", "uuid": "00000000-0000-0000-2222-000000000001",

View File

@@ -1,7 +1,7 @@
{ {
"plugin_table": [ "plugin_table": [
{ {
"table_name": "SERVICE_FUNCTION_PROFILE", "table_name": "SERVICE_FUNCTION",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-3333-000000000001", "uuid": "00000000-0000-0000-3333-000000000001",
@@ -23,7 +23,7 @@
] ]
}, },
{ {
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE", "table_name": "SERVICE_FUNCTION_FORWARDER",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-2222-000000000001", "uuid": "00000000-0000-0000-2222-000000000001",

View File

@@ -1,7 +1,7 @@
{ {
"plugin_table": [ "plugin_table": [
{ {
"table_name": "SERVICE_FUNCTION_PROFILE", "table_name": "SERVICE_FUNCTION",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-3333-000000000001", "uuid": "00000000-0000-0000-3333-000000000001",
@@ -23,7 +23,7 @@
] ]
}, },
{ {
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE", "table_name": "SERVICE_FUNCTION_FORWARDER",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-2222-000000000001", "uuid": "00000000-0000-0000-2222-000000000001",

View File

@@ -1,7 +1,7 @@
{ {
"plugin_table": [ "plugin_table": [
{ {
"table_name": "SERVICE_FUNCTION_PROFILE", "table_name": "SERVICE_FUNCTION",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-3333-000000000001", "uuid": "00000000-0000-0000-3333-000000000001",
@@ -23,7 +23,7 @@
] ]
}, },
{ {
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE", "table_name": "SERVICE_FUNCTION_FORWARDER",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-2222-000000000001", "uuid": "00000000-0000-0000-2222-000000000001",

View File

@@ -1,7 +1,7 @@
{ {
"plugin_table": [ "plugin_table": [
{ {
"table_name": "SERVICE_FUNCTION_PROFILE", "table_name": "SERVICE_FUNCTION",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-3333-000000000001", "uuid": "00000000-0000-0000-3333-000000000001",
@@ -40,7 +40,7 @@
] ]
}, },
{ {
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE", "table_name": "SERVICE_FUNCTION_FORWARDER",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-2222-000000000001", "uuid": "00000000-0000-0000-2222-000000000001",

View File

@@ -1,7 +1,7 @@
{ {
"plugin_table": [ "plugin_table": [
{ {
"table_name": "SERVICE_FUNCTION_PROFILE", "table_name": "SERVICE_FUNCTION",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-3333-000000000001", "uuid": "00000000-0000-0000-3333-000000000001",
@@ -23,7 +23,7 @@
] ]
}, },
{ {
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE", "table_name": "SERVICE_FUNCTION_FORWARDER",
"table_content": [ "table_content": [
{ {
"uuid": "00000000-0000-0000-2222-000000000001", "uuid": "00000000-0000-0000-2222-000000000001",