summaryrefslogtreecommitdiff
path: root/test/resource/VerifyPolicyManipulation.json
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2024-08-16 10:32:02 +0800
committerfengweihao <[email protected]>2024-08-16 10:32:02 +0800
commitbe7368a0cce09adaf66f3697a8c2efb05f79fcff (patch)
treeaeb2afe5c49481450272784c941fcdfbd695ed48 /test/resource/VerifyPolicyManipulation.json
parent6dc39cc9223d809340ec9b99668dea79dd67baf8 (diff)
TSG-22199 修复tunnel调用no_logic情况下命中路径记录问题,优化Fqdn命中路径构建v4.0.26-20240816develop-3.0
Diffstat (limited to 'test/resource/VerifyPolicyManipulation.json')
-rw-r--r--test/resource/VerifyPolicyManipulation.json175
1 files changed, 175 insertions, 0 deletions
diff --git a/test/resource/VerifyPolicyManipulation.json b/test/resource/VerifyPolicyManipulation.json
index fa7dd51..c51c220 100644
--- a/test/resource/VerifyPolicyManipulation.json
+++ b/test/resource/VerifyPolicyManipulation.json
@@ -175,6 +175,181 @@
"virtual_table":"ATTR_SSL_SAN"
}
]
+ },
+ {
+ "compile_id": 3021,
+ "service": 13,
+ "action": 1,
+ "do_blacklist": 0,
+ "do_log": 1,
+ "tags": "{}",
+ "user_region": "anything",
+ "evaluation_order": "0.0",
+ "compile_table_name": "TUNNEL_COMPILE",
+ "is_valid": "yes",
+ "groups": [
+ {
+ "not_flag": 0,
+ "group_id": 248,
+ "group_name": "TunnelIpv4TCPSoureVeiryPolicy01",
+ "virtual_table": "ATTR_TUNNEL_GTP_ENDPOINT",
+ "g2c_table_name": "GROUP_TUNNEL_COMPILE_RELATION",
+ "regions": [
+ {
+ "table_name": "TSG_OBJ_IP_ADDR",
+ "table_type": "ip",
+ "table_content": {
+ "addr_type": "ipv4",
+ "addr_format": "range",
+ "ip1": "192.168.0.4",
+ "ip2": "192.168.0.4"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "compile_id": 3022,
+ "service": 13,
+ "action": 1,
+ "do_blacklist": 0,
+ "do_log": 1,
+ "tags": "{}",
+ "user_region": "anything",
+ "evaluation_order": "0.0",
+ "compile_table_name": "TUNNEL_COMPILE",
+ "is_valid": "yes",
+ "groups": [
+ {
+ "not_flag": 0,
+ "group_id": 2,
+ "group_name": "TunnelIpv4TCPSoureVeiryPolicy02",
+ "virtual_table": "ATTR_TUNNEL_GTP_ENDPOINT",
+ "g2c_table_name": "GROUP_TUNNEL_COMPILE_RELATION",
+ "regions": [
+ {
+ "table_name": "TSG_OBJ_IP_ADDR",
+ "table_type": "ip",
+ "table_content": {
+ "addr_type": "ipv4",
+ "addr_format": "range",
+ "ip1": "192.168.0.5",
+ "ip2": "192.168.0.5"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "compile_id": 3023,
+ "service": 13,
+ "action": 1,
+ "do_blacklist": 0,
+ "do_log": 1,
+ "tags": "{}",
+ "user_region": "anything",
+ "evaluation_order": "0.0",
+ "compile_table_name": "TUNNEL_COMPILE",
+ "is_valid": "yes",
+ "groups": [
+ {
+ "not_flag": 0,
+ "group_id": 3,
+ "group_name": "TunnelIpv4TCPSoureVeiryPolicy03",
+ "virtual_table": "ATTR_TUNNEL_GTP_ENDPOINT",
+ "g2c_table_name": "GROUP_TUNNEL_COMPILE_RELATION",
+ "regions": [
+ {
+ "table_name": "TSG_OBJ_IP_ADDR",
+ "table_type": "ip",
+ "table_content": {
+ "addr_type": "ipv4",
+ "addr_format": "range",
+ "ip1": "192.168.0.5",
+ "ip2": "192.168.0.5"
+ }
+ }
+ ]
+ },
+ {
+ "not_flag": 0,
+ "group_id": 4,
+ "group_name": "TunnelIpv4TCPSoureVeiryPolicy04",
+ "virtual_table": "ATTR_TUNNEL_GTP_ENDPOINT",
+ "g2c_table_name": "GROUP_TUNNEL_COMPILE_RELATION",
+ "regions": [
+ {
+ "table_name": "TSG_OBJ_IP_ADDR",
+ "table_type": "ip",
+ "table_content": {
+ "addr_type": "ipv4",
+ "addr_format": "range",
+ "ip1": "192.168.0.6",
+ "ip2": "192.168.0.6"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "compile_id": 1025,
+ "service": 1,
+ "action": 48,
+ "do_blacklist": 1,
+ "do_log": 1,
+ "effective_range": 0,
+ "tags":"anything",
+ "user_region": "anything",
+ "is_valid": "yes",
+ "groups": [
+ {
+ "not_flag":0,
+ "group_id": 3023,
+ "group_name":"TunnelEndpointVeiryPolicy01",
+ "virtual_table":"ATTR_TUNNEL"
+ }
+ ]
+ },
+ {
+ "compile_id": 1026,
+ "service": 1,
+ "action": 48,
+ "do_blacklist": 1,
+ "do_log": 1,
+ "effective_range": 0,
+ "tags":"anything",
+ "user_region": "anything",
+ "is_valid": "yes",
+ "groups": [
+ {
+ "not_flag":0,
+ "group_id": 3022,
+ "group_name":"TunnelEndpointVeiryPolicy03",
+ "virtual_table":"ATTR_TUNNEL"
+ }
+ ]
+ },
+ {
+ "compile_id": 1027,
+ "service": 1,
+ "action": 48,
+ "do_blacklist": 1,
+ "do_log": 1,
+ "effective_range": 0,
+ "tags":"anything",
+ "user_region": "anything",
+ "is_valid": "yes",
+ "groups": [
+ {
+ "not_flag":1,
+ "group_id": 3022,
+ "group_name":"TunnelEndpointVeiryPolicy03",
+ "virtual_table":"ATTR_TUNNEL"
+ }
+ ]
}
],
"plugin_table": [