feat(Cli):1、策略状态更改测试用例补充策略类型,2、策略对象查询测试用例多次迭代,3、增加对各cli命令help参数返回值测试
This commit is contained in:
5
05-Other/cli_files/tsg_policy_help.txt
Normal file
5
05-Other/cli_files/tsg_policy_help.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Policy query
|
||||
tsg_policy [--query --policyType(tsg_security|pxy_manipulation|pxy_cache) --policyId --policyName --policyDesc --all] Query strategy: policyType is required, policyId, policyName, policyDesc is not.
|
||||
tsg_policy [--enable --policyId --policyType] Enable the strategy
|
||||
tsg_policy [--disable --policyId --policyType] Stop using strategy
|
||||
tsgcli >
|
||||
5
05-Other/cli_files/tsg_policy_object_help.txt
Normal file
5
05-Other/cli_files/tsg_policy_object_help.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Strategy object query
|
||||
tsg_policy_object [--query --objectType(ip|url|fqdn|keywords|subscriberid|fqdn_category|account|http_signature) --all --objectName] Query strategy object
|
||||
tsg_policy_object [--import --objectType --file --objectName] Import the policy object by file: enter objectType/file are required, objectName is optional
|
||||
tsg_policy_object [--export --objectType --file --exportFormat(txt|csv)] Export the policy object to a local file:export objectType/file are required, exportFormat is optional
|
||||
tsgcli >
|
||||
4
05-Other/cli_files/tsg_record_help.txt
Normal file
4
05-Other/cli_files/tsg_record_help.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Display the most recently run command history: you can view the command history of all users
|
||||
tsg_record [--username] Specifies the user's history is to be viewed
|
||||
tsg_record [--userlist] View all current CLI user names
|
||||
tsgcli >
|
||||
9
05-Other/cli_files/tsg_show_help.txt
Normal file
9
05-Other/cli_files/tsg_show_help.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Used to view the running status of devices and applications, network traffic, and related statistics
|
||||
tsg_show [--interface -- "where PhyRXBits > 60"] Display all available ports of the current device (network card name),where support, format : -- "where PhyRXBits > 60"
|
||||
tsg_show [--app -- "where RxBits > 3000"] Displays traffic information processed by the application,where support, format : -- "where RxBits > 3000"
|
||||
tsg_show [--protocol -- "where Ipv4_Bit > 3000"] Show Eth,Ipv4, and IPv6 statistics for each layer of network traffic,where support, format : -- "where Ipv4_Bit > 3000"
|
||||
tsg_show [--stream -- "where Tcp_Concurrent > 0"] TCP stream related information, including the number of concurrent streams, C2S, S2C, etc,where support, format : -- "where Tcp_Concurrent > 0"
|
||||
tsg_show [--chassis-ip] Output all board card IP information of TSG device
|
||||
tsg_show [--chassis-port] Output all board card port information of TSG device
|
||||
tsg_show [--intercept -- "where intcp_rdy_bits > 0"] Show intercept information,where support, format : -- "where intcp_rdy_bits > 0"
|
||||
tsgcli >
|
||||
Reference in New Issue
Block a user