This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-tsg-service-chaining-…/platform/test/test_resource/sce.json
2024-10-15 16:23:50 +08:00

368 lines
15 KiB
JSON

{
"plugin_table": [
{
"table_name": "SERVICE_FUNCTION",
"table_content": [
{
"uuid": "00000000-0000-0000-3333-000000000001",
"device_group": {
"tag": "data_center",
"value": "data_center_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": "data_center",
"value": "data_center_a"
},
"admin_status": 1,
"connectivity": {
"method": "vxlan_g",
"dest_ip": "1.1.1.1"
},
"health_check": {
"method": "bfd",
"address": "1.2.3.4",
"port": "10000",
"interval_ms": 100,
"retires": 5
},
"vsys_id": 1,
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-3333-000000000003",
"device_group": {
"tag": "data_center",
"value": "data_center_a"
},
"admin_status": 1,
"connectivity": {
"method": "vxlan_g",
"dest_ip": "1.1.1.1"
},
"health_check": {
"method": "in_band_bfd",
"address": "1.2.3.4",
"port": "10000",
"interval_ms": 100,
"retires": 5
},
"vsys_id": 1,
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-3333-000000000004",
"device_group": {
"tag": "data_center",
"value": "data_center_a"
},
"admin_status": 1,
"connectivity": {
"method": "vxlan_g",
"dest_ip": "1.1.1.1"
},
"health_check": {
"method": "http",
"url": "http://192.168.100.1:8080/health_check.index",
"interval_ms": 100,
"retires": 5
},
"vsys_id": 1,
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-3333-000000000005",
"device_group": {
"tag": "data_center",
"value": "data_center_a"
},
"admin_status": 1,
"connectivity": {
"method": "layer2_switch",
"int_vlan_tag": 10,
"ext_vlan_tag": 5
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-3333-000000000006",
"device_group": {
"tag": "data_center",
"value": "data_center_a"
},
"admin_status": 1,
"connectivity": {
"method": "layer3_switch",
"int_vlan_tag": 10,
"ext_vlan_tag": 5
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-3333-000000000007",
"device_group": {
"tag": "data_center",
"value": "data_center_a"
},
"admin_status": 0,
"connectivity": {
"method": "layer3_switch",
"int_vlan_tag": 10,
"ext_vlan_tag": 5
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-3333-000000000008",
"device_group": {
"tag": "data_center",
"value": "data_center_b"
},
"admin_status": 0,
"connectivity": {
"method": "layer3_switch",
"int_vlan_tag": 10,
"ext_vlan_tag": 5
},
"health_check": {
"method": "none"
},
"vsys_id": 1,
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_FUNCTION_FORWARDER",
"table_content": [
{
"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
},
{
"uuid": "00000000-0000-0000-2222-000000000002",
"type": 1,
"load_balance_method": "hash-int-ip",
"load_balance_localization": "nearby",
"failure_action": "bypass",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001",
"00000000-0000-0000-3333-000000000002",
"00000000-0000-0000-3333-000000000003",
"00000000-0000-0000-3333-000000000004",
"00000000-0000-0000-3333-000000000005",
"00000000-0000-0000-3333-000000000006",
"00000000-0000-0000-3333-000000000007",
"00000000-0000-0000-3333-000000000008"
],
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-2222-000000000003",
"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
},
{
"uuid": "00000000-0000-0000-2222-000000000004",
"type": 1,
"load_balance_method": "hash-int-ip",
"load_balance_localization": "nearby",
"failure_action": "re-dispatch",
"unavailability_action": {
"action": "bypass",
"health_service_func_lt": 2
},
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001",
"00000000-0000-0000-3333-000000000002",
"00000000-0000-0000-3333-000000000003"
],
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-2222-000000000005",
"type": 1,
"load_balance_method": "hash-int-ip",
"load_balance_localization": "nearby",
"failure_action": "re-dispatch",
"unavailability_action": {
"action": "block"
},
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001",
"00000000-0000-0000-3333-000000000002",
"00000000-0000-0000-3333-000000000003"
],
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-2222-000000000006",
"type": 1,
"load_balance_method": "hash-int-ip",
"load_balance_localization": "global",
"failure_action": "block",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-2222-000000000007",
"type": 1,
"load_balance_method": "hash-ext-ip",
"load_balance_localization": "global",
"failure_action": "block",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-2222-000000000008",
"type": 1,
"load_balance_method": "hash-int-ip-and-ext-ip",
"load_balance_localization": "global",
"failure_action": "block",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-2222-000000000009",
"type": 1,
"load_balance_method": "hash-innermost-int-ip",
"load_balance_localization": "global",
"failure_action": "block",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-2222-000000000010",
"type": 2,
"load_balance_method": "hash-innermost-int-ip",
"load_balance_localization": "global",
"failure_action": "block",
"service_func_profiles": [
"00000000-0000-0000-3333-000000000001"
],
"is_valid": 1
}
]
},
{
"table_name": "SERVICE_CHAINING_RULE",
"table_content": [
{
"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": "raw",
"sff_profiles": [
"00000000-0000-0000-2222-000000000001",
"00000000-0000-0000-2222-000000000002",
"00000000-0000-0000-2222-000000000003",
"00000000-0000-0000-2222-000000000004",
"00000000-0000-0000-2222-000000000005",
"00000000-0000-0000-2222-000000000006",
"00000000-0000-0000-2222-000000000007",
"00000000-0000-0000-2222-000000000008",
"00000000-0000-0000-2222-000000000009",
"00000000-0000-0000-2222-000000000010"
]
},
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-1111-000000000011",
"log_option": "all",
"effective_range": {},
"action_parameter": {
"vsys_id": 1,
"targeted_traffic": "decrypted",
"sff_profiles": [
"00000000-0000-0000-2222-000000000001"
]
},
"is_valid": 1
},
{
"uuid": "00000000-0000-0000-1111-000000000012",
"log_option": "all",
"effective_range": {},
"action_parameter": {
"vsys_id": 1,
"targeted_traffic": "decrypted",
"sff_profiles": [
"00000000-0000-0000-2222-000000000001",
"00000000-0000-0000-2222-000000000002",
"00000000-0000-0000-2222-000000000003",
"00000000-0000-0000-2222-000000000004",
"00000000-0000-0000-2222-000000000005",
"00000000-0000-0000-2222-000000000006",
"00000000-0000-0000-2222-000000000007",
"00000000-0000-0000-2222-000000000008",
"00000000-0000-0000-2222-000000000009",
"00000000-0000-0000-2222-000000000010"
]
},
"is_valid": 1
}
]
}
]
}