TSG-21670 策略验证支持Library查询

This commit is contained in:
fengweihao
2024-07-15 14:21:33 +08:00
parent ab623ffa63
commit 5b25651ff6
6 changed files with 431 additions and 68 deletions

View File

@@ -1195,5 +1195,29 @@
"table_name":"ATTR_TUNNEL_IP_IN_IP_ENDPOINT",
"table_type":"virtual",
"physical_table": "TSG_OBJ_IP"
},
{
"table_id":125,
"table_name":"FQDN_ENTRY",
"table_type":"fqdn_plugin",
"valid_column":5,
"custom": {
"item_id":1,
"suffix_match_method":4,
"fqdn":3
}
},
{
"table_id":126,
"table_name":"IP_ADDR_ENTRY",
"table_type":"ip_plugin",
"valid_column":8,
"custom": {
"item_id":1,
"ip_type":3,
"start_ip":5,
"end_ip":6,
"addr_format":4
}
}
]

View File

@@ -1119,5 +1119,29 @@
"table_name":"ATTR_TUNNEL_IP_IN_IP_ENDPOINT",
"table_type":"virtual",
"physical_table": "TSG_OBJ_IP"
},
{
"table_id":125,
"table_name":"FQDN_ENTRY",
"table_type":"fqdn_plugin",
"valid_column":5,
"custom": {
"item_id":1,
"suffix_match_method":4,
"fqdn":3
}
},
{
"table_id":126,
"table_name":"IP_ADDR_ENTRY",
"table_type":"ip_plugin",
"valid_column":8,
"custom": {
"item_id":1,
"ip_type":3,
"start_ip":5,
"end_ip":6,
"addr_format":4
}
}
]

View File

@@ -45,8 +45,8 @@
"virtual_table": "ATTR_SOURCE_IP",
"regions": [
{
"table_type": "ip_plus",
"table_name": "TSG_OBJ_IP_ADDR",
"table_type": "ip",
"table_name": "TSG_IP_ADDR",
"table_content": {
"addr_type": "ipv4",
"addr_format": "range",
@@ -322,6 +322,20 @@
"0\t3\t126.com\t1\t701\t1",
"1\t4\tbaidu.com\t1\t702\t1"
]
},
{
"table_name": "FQDN_ENTRY",
"table_content": [
"1\t2,4,5\twww.126.com\t1\t1",
"2\t6,7,8\twww.baidu.com\t1\t1"
]
},
{
"table_name": "IP_ADDR_ENTRY",
"table_content": [
"1\t2,4,5\t4\tsingle\t192.168.55.4\t192.168.55.4\t0\t1",
"1\t2,4,5\t4\tsingle\t192.168.55.4\t192.168.55.4\t0\t1"
]
}
]
}