TSG-22348 feature: adapt maat support UUID

This commit is contained in:
luwenpeng
2024-09-23 16:50:09 +08:00
parent 7ef8e44bca
commit 5799de5299
60 changed files with 2504 additions and 1043 deletions

View File

@@ -3,19 +3,57 @@
{
"table_name": "SERVICE_FUNCTION_PROFILE",
"table_content": [
"1\t{\"tag\":\"device_group\",\"value\":\"device_group_a\"}\t1\t{\"method\":\"vxlan_g\",\"dest_ip\":\"1.1.1.1\"}\t{\"method\":\"none\"}\t1\t1"
{
"uuid": "00000000-0000-0000-3333-000000000001",
"device_group": {
"tag": "device_group",
"value": "device_group_a"
},
"admin_status": 1,
"connectivity": {
"method": "vxlan_g",
"dest_ip": "1.1.1.1"
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE",
"table_content": [
"1\t2\thash-int-ip\tnearby\tblock\tnull\t[1]\t1"
{
"uuid": "00000000-0000-0000-2222-000000000001",
"type": 2,
"load_balance_method": "hash-int-ip",
"load_balance_localization": "nearby",
"failure_action": "block",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_CHAINING_COMPILE",
"table_name": "SERVICE_CHAINING_RULE",
"table_content": [
"995199\t0\t2\t1\t1\t{}\t{\"vsys_id\":1,\"targeted_traffic\":\"raw\",\"sff_profiles\":[1]}\t0\t1"
{
"uuid": "00000000-0000-0000-1111-000000000001",
"log_option": "all",
"effective_range": {},
"action_parameter": {
"vsys_id": 1,
"targeted_traffic": "raw",
"sff_profiles": [
"00000000-0000-0000-2222-000000000001"
]
},
"is_valid": 1
}
]
}
]

View File

@@ -3,19 +3,57 @@
{
"table_name": "SERVICE_FUNCTION_PROFILE",
"table_content": [
"1\t{\"tag\":\"device_group\",\"value\":\"device_group_a\"}\t1\t{\"method\":\"vxlan_g\",\"dest_ip\":\"1.1.1.1\"}\t{\"method\":\"none\"}\t1\t1"
{
"uuid": "00000000-0000-0000-3333-000000000001",
"device_group": {
"tag": "device_group",
"value": "device_group_a"
},
"admin_status": 1,
"connectivity": {
"method": "vxlan_g",
"dest_ip": "1.1.1.1"
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE",
"table_content": [
"1\t2\thash-int-ip\tnearby\tbypass\tnull\t[1]\t1"
{
"uuid": "00000000-0000-0000-2222-000000000001",
"type": 2,
"load_balance_method": "hash-int-ip",
"load_balance_localization": "nearby",
"failure_action": "bypass",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_CHAINING_COMPILE",
"table_name": "SERVICE_CHAINING_RULE",
"table_content": [
"995199\t0\t2\t1\t1\t{}\t{\"vsys_id\":1,\"targeted_traffic\":\"raw\",\"sff_profiles\":[1]}\t0\t1"
{
"uuid": "00000000-0000-0000-1111-000000000001",
"log_option": "all",
"effective_range": {},
"action_parameter": {
"vsys_id": 1,
"targeted_traffic": "raw",
"sff_profiles": [
"00000000-0000-0000-2222-000000000001"
]
},
"is_valid": 1
}
]
}
]

View File

@@ -3,19 +3,57 @@
{
"table_name": "SERVICE_FUNCTION_PROFILE",
"table_content": [
"1\t{\"tag\":\"device_group\",\"value\":\"device_group_a\"}\t1\t{\"method\":\"vxlan_g\",\"dest_ip\":\"1.1.1.1\"}\t{\"method\":\"none\"}\t1\t1"
{
"uuid": "00000000-0000-0000-3333-000000000001",
"device_group": {
"tag": "device_group",
"value": "device_group_a"
},
"admin_status": 1,
"connectivity": {
"method": "vxlan_g",
"dest_ip": "1.1.1.1"
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE",
"table_content": [
"1\t2\thash-int-ip\tglobal\tbypass\tnull\t[1]\t1"
{
"uuid": "00000000-0000-0000-2222-000000000001",
"type": 2,
"load_balance_method": "hash-int-ip",
"load_balance_localization": "global",
"failure_action": "bypass",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_CHAINING_COMPILE",
"table_name": "SERVICE_CHAINING_RULE",
"table_content": [
"995199\t0\t2\t1\t1\t{}\t{\"vsys_id\":1,\"targeted_traffic\":\"raw\",\"sff_profiles\":[1]}\t0\t1"
{
"uuid": "00000000-0000-0000-1111-000000000001",
"log_option": "all",
"effective_range": {},
"action_parameter": {
"vsys_id": 1,
"targeted_traffic": "raw",
"sff_profiles": [
"00000000-0000-0000-2222-000000000001"
]
},
"is_valid": 1
}
]
}
]

View File

@@ -3,19 +3,57 @@
{
"table_name": "SERVICE_FUNCTION_PROFILE",
"table_content": [
"1\t{\"tag\":\"device_group\",\"value\":\"device_group_a\"}\t1\t{\"method\":\"vxlan_g\",\"dest_ip\":\"1.1.1.1\"}\t{\"method\":\"none\"}\t1\t1"
{
"uuid": "00000000-0000-0000-3333-000000000001",
"device_group": {
"tag": "device_group",
"value": "device_group_a"
},
"admin_status": 1,
"connectivity": {
"method": "vxlan_g",
"dest_ip": "1.1.1.1"
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE",
"table_content": [
"1\t1\thash-int-ip\tnearby\tblock\tnull\t[1]\t1"
{
"uuid": "00000000-0000-0000-2222-000000000001",
"type": 1,
"load_balance_method": "hash-int-ip",
"load_balance_localization": "nearby",
"failure_action": "block",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_CHAINING_COMPILE",
"table_name": "SERVICE_CHAINING_RULE",
"table_content": [
"995199\t0\t2\t1\t1\t{}\t{\"vsys_id\":1,\"targeted_traffic\":\"raw\",\"sff_profiles\":[1]}\t0\t1"
{
"uuid": "00000000-0000-0000-1111-000000000001",
"log_option": "all",
"effective_range": {},
"action_parameter": {
"vsys_id": 1,
"targeted_traffic": "raw",
"sff_profiles": [
"00000000-0000-0000-2222-000000000001"
]
},
"is_valid": 1
}
]
}
]

View File

@@ -3,19 +3,57 @@
{
"table_name": "SERVICE_FUNCTION_PROFILE",
"table_content": [
"1\t{\"tag\":\"device_group\",\"value\":\"device_group_a\"}\t1\t{\"method\":\"vxlan_g\",\"dest_ip\":\"1.1.1.1\"}\t{\"method\":\"none\"}\t1\t1"
{
"uuid": "00000000-0000-0000-3333-000000000001",
"device_group": {
"tag": "device_group",
"value": "device_group_a"
},
"admin_status": 1,
"connectivity": {
"method": "vxlan_g",
"dest_ip": "1.1.1.1"
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE",
"table_content": [
"1\t1\thash-int-ip\tnearby\tbypass\tnull\t[1]\t1"
{
"uuid": "00000000-0000-0000-2222-000000000001",
"type": 1,
"load_balance_method": "hash-int-ip",
"load_balance_localization": "nearby",
"failure_action": "bypass",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_CHAINING_COMPILE",
"table_name": "SERVICE_CHAINING_RULE",
"table_content": [
"995199\t0\t2\t1\t1\t{}\t{\"vsys_id\":1,\"targeted_traffic\":\"raw\",\"sff_profiles\":[1]}\t0\t1"
{
"uuid": "00000000-0000-0000-1111-000000000001",
"log_option": "all",
"effective_range": {},
"action_parameter": {
"vsys_id": 1,
"targeted_traffic": "raw",
"sff_profiles": [
"00000000-0000-0000-2222-000000000001"
]
},
"is_valid": 1
}
]
}
]

View File

@@ -3,19 +3,57 @@
{
"table_name": "SERVICE_FUNCTION_PROFILE",
"table_content": [
"1\t{\"tag\":\"device_group\",\"value\":\"device_group_a\"}\t1\t{\"method\":\"vxlan_g\",\"dest_ip\":\"1.1.1.1\"}\t{\"method\":\"none\"}\t1\t1"
{
"uuid": "00000000-0000-0000-3333-000000000001",
"device_group": {
"tag": "device_group",
"value": "device_group_a"
},
"admin_status": 1,
"connectivity": {
"method": "vxlan_g",
"dest_ip": "1.1.1.1"
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE",
"table_content": [
"1\t1\thash-int-ip\tglobal\tbypass\tnull\t[1]\t1"
{
"uuid": "00000000-0000-0000-2222-000000000001",
"type": 1,
"load_balance_method": "hash-int-ip",
"load_balance_localization": "global",
"failure_action": "bypass",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_CHAINING_COMPILE",
"table_name": "SERVICE_CHAINING_RULE",
"table_content": [
"995199\t0\t2\t1\t1\t{}\t{\"vsys_id\":1,\"targeted_traffic\":\"raw\",\"sff_profiles\":[1]}\t0\t1"
{
"uuid": "00000000-0000-0000-1111-000000000001",
"log_option": "all",
"effective_range": {},
"action_parameter": {
"vsys_id": 1,
"targeted_traffic": "raw",
"sff_profiles": [
"00000000-0000-0000-2222-000000000001"
]
},
"is_valid": 1
}
]
}
]

View File

@@ -3,22 +3,98 @@
{
"table_name": "SERVICE_FUNCTION_PROFILE",
"table_content": [
"1\t{\"tag\":\"device_group\",\"value\":\"device_group_a\"}\t1\t{\"method\":\"vxlan_g\",\"dest_ip\":\"1.1.1.1\"}\t{\"method\":\"none\"}\t1\t1",
"2\t{\"tag\":\"device_group\",\"value\":\"device_group_a\"}\t1\t{\"method\":\"vxlan_g\",\"dest_ip\":\"2.2.2.2\"}\t{\"method\":\"none\"}\t1\t1"
{
"uuid": "00000000-0000-0000-3333-000000000001",
"device_group": {
"tag": "device_group",
"value": "device_group_a"
},
"admin_status": 1,
"connectivity": {
"method": "vxlan_g",
"dest_ip": "1.1.1.1"
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-3333-000000000002",
"device_group": {
"tag": "device_group",
"value": "device_group_a"
},
"admin_status": 1,
"connectivity": {
"method": "vxlan_g",
"dest_ip": "2.2.2.2"
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE",
"table_content": [
"1\t1\thash-int-ip\tglobal\tbypass\tnull\t[1]\t1",
"2\t1\thash-ext-ip\tglobal\tbypass\tnull\t[1]\t1"
{
"uuid": "00000000-0000-0000-2222-000000000001",
"type": 1,
"load_balance_method": "hash-int-ip",
"load_balance_localization": "global",
"failure_action": "bypass",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-2222-000000000002",
"type": 1,
"load_balance_method": "hash-ext-ip",
"load_balance_localization": "global",
"failure_action": "bypass",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_CHAINING_COMPILE",
"table_name": "SERVICE_CHAINING_RULE",
"table_content": [
"995199\t0\t2\t1\t1\t{}\t{\"vsys_id\":1,\"targeted_traffic\":\"raw\",\"sff_profiles\":[1]}\t0\t1",
"995200\t0\t2\t1\t1\t{}\t{\"vsys_id\":1,\"targeted_traffic\":\"decrypted\",\"sff_profiles\":[2]}\t0\t1"
{
"uuid": "00000000-0000-0000-1111-000000000001",
"log_option": "all",
"effective_range": {},
"action_parameter": {
"vsys_id": 1,
"targeted_traffic": "raw",
"sff_profiles": [
"00000000-0000-0000-2222-000000000001"
]
},
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-1111-000000000002",
"log_option": "all",
"effective_range": {},
"action_parameter": {
"vsys_id": 1,
"targeted_traffic": "decrypted",
"sff_profiles": [
"00000000-0000-0000-2222-000000000002"
]
},
"is_valid": 1
}
]
}
]

View File

@@ -3,19 +3,57 @@
{
"table_name": "SERVICE_FUNCTION_PROFILE",
"table_content": [
"1\t{\"tag\":\"device_group\",\"value\":\"device_group_a\"}\t1\t{\"method\":\"vxlan_g\",\"dest_ip\":\"1.1.1.1\"}\t{\"method\":\"none\"}\t1\t1"
{
"uuid": "00000000-0000-0000-3333-000000000001",
"device_group": {
"tag": "device_group",
"value": "device_group_a"
},
"admin_status": 1,
"connectivity": {
"method": "vxlan_g",
"dest_ip": "1.1.1.1"
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_FUNCTION_FORWARDER_PROFILE",
"table_content": [
"1\t1\thash-int-ip\tglobal\tbypass\tnull\t[1]\t1"
{
"uuid": "00000000-0000-0000-2222-000000000001",
"type": 1,
"load_balance_method": "hash-int-ip",
"load_balance_localization": "global",
"failure_action": "bypass",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_CHAINING_COMPILE",
"table_name": "SERVICE_CHAINING_RULE",
"table_content": [
"995199\t0\t2\t1\t1\t{}\t{\"vsys_id\":1,\"targeted_traffic\":\"raw\",\"sff_profiles\":[1]}\t0\t1"
{
"uuid": "00000000-0000-0000-1111-000000000001",
"log_option": "all",
"effective_range": {},
"action_parameter": {
"vsys_id": 1,
"targeted_traffic": "raw",
"sff_profiles": [
"00000000-0000-0000-2222-000000000001"
]
},
"is_valid": 1
}
]
}
]