{
    "path": "$OET_PATH/testcases/function_test/pkg_test/firewalld/firewalld",
    "machine num": 1,
    "cases": [
        {
            "name": "test_firewalld_uninstall",
            "desc": "测试firewalld软件包的卸载功能，验证其能否正确卸载。",
            "machine num": 1
        },
        {
            "name": "test_firewalld_rollback",
            "desc": "测试firewalld软件包的回滚功能，验证其能否正确回滚到上一个版本。",
            "machine num": 1
        },
        {
            "name": "test_firewalld_service_stop",
            "desc": "测试firewalld服务的停止功能，验证其能否正确停止服务。",
            "machine num": 1
        },
        {
            "name": "test_firewalld_firewall-cmd_complete-reload",
            "desc": "测试firewall-cmd --complete-reload命令是否能完全重载防火墙配置"
        },
        {
            "name": "test_firewalld_firewall-cmd_get-default-zone",
            "desc": "测试firewall-cmd --get-default-zone命令是否能正确获取默认区域"
        },
        {
            "name": "test_firewalld_firewall-cmd_set-default-zone",
            "desc": "测试firewall-cmd --set-default-zone=<zone>命令是否能正确设置默认区域"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd_version",
            "desc": "测试firewall-offline-cmd的版本信息查询功能"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd_get_zones",
            "desc": "测试firewall-offline-cmd获取预定义区域列表的功能"
        },
        {
            "name": "test_firewalld_firewall-offine_cmd_remove_port",
            "desc": "测试firewall-offine_cmd从默认区域移除端口的功能"
        },
        {
            "name": "test_firewalld_firewall-cmd_runtime_to_permanent",
            "desc": "测试将运行时配置写入永久配置"
        },
        {
            "name": "test_firewalld_firewall-cmd_get_services",
            "desc": "测试获取预定义服务（永久配置）"
        },
        {
            "name": "test_firewalld_firewall-cmd_add_service",
            "desc": "测试向区域添加服务"
        },
        {
            "name": "test_firewalld_firewall-cmd_list_ports",
            "desc": "测试列出区域内添加的端口"
        },
        {
            "name": "test_firewalld_firewall-cmd_add_port",
            "desc": "测试向区域添加端口"
        },
        {
            "name": "test_firewalld_firewall-cmd_remove_interface",
            "desc": "测试从区域移除接口的绑定（永久配置）"
        },
        {
            "name": "test_firewalld_firewall-cmd_add_source",
            "desc": "测试将源绑定到区域（永久配置）"
        },
        {
            "name": "test_firewalld_firewall-cmd_query_source",
            "desc": "测试查询源是否绑定到区域"
        },
        {
            "name": "test_firewalld_firewall-cmd_remove_source",
            "desc": "从区域移除源的绑定（永久配置）"
        },
        {
            "name": "test_firewalld_firewall-cmd_set_log_denied",
            "desc": "测试设置日志拒绝级别"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd_get-zones",
            "desc": "测试获取所有预定义区域"
        },
        {
            "name": "test_firewall-offline-cmd_remove-interface_eth0",
            "desc": "测试从默认区域移除eth0接口绑定"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd_get-log-denied",
            "desc": "测试获取当前日志拒绝级别"
        },
        {
            "name": "test_firewalld_function_service_start",
            "desc": "测试firewalld服务能够正常启动并进入运行状态。"
        },
        {
            "name": "test_firewalld_function_service_restart",
            "desc": "测试firewalld服务能够正常重启并保持配置。"
        },
        {
            "name": "test_firewalld_function_get_active_zones",
            "desc": "测试获取当前活动的防火墙区域及接口绑定情况。"
        },
        {
            "name": "test_firewalld_function_add_service",
            "desc": "测试向防火墙区域添加一个预定义服务（如ssh）。"
        },
        {
            "name": "test_firewalld_function_add_port",
            "desc": "测试向防火墙区域添加一个自定义端口。"
        },
        {
            "name": "test_firewalld_function_runtime_to_permanent",
            "desc": "测试将当前运行的防火墙配置保存为永久配置。"
        },
        {
            "name": "test_firewalld_function_set_log_denied",
            "desc": "测试设置被拒绝连接的日志级别。"
        },
        {
            "name": "test_firewalld_function_remove_service",
            "desc": "测试从防火墙区域移除一个已添加的服务。"
        },
        {
            "name": "test_firewalld_function_remove_port",
            "desc": "测试从防火墙区域移除一个已添加的端口。"
        },
        {
            "name": "test_firewalld_function_uninstall",
            "desc": "测试firewalld软件包的卸载功能，验证其能否正确卸载。"
        },
        {
            "name": "test_firewalld_function_service_status",
            "desc": "测试查看firewalld服务的运行状态。"
        },
        {
            "name": "test_firewalld_function_service_stop",
            "desc": "测试firewalld服务能够正常停止。"
        },
        {
            "name": "test_firewalld_function_get_state",
            "desc": "测试获取防火墙的整体运行状态。"
        },
        {
            "name": "test_firewalld_firewall-cmd_h",
            "desc": "测试打印帮助文本"
        },
        {
            "name": "test_firewalld_firewall-cmd_reload",
            "desc": "测试重新加载防火墙并保持状态信息"
        },
        {
            "name": "test_firewalld_firewall-cmd_get_log_denied",
            "desc": "测试获取日志拒绝值"
        },
        {
            "name": "test_firewalld_firewall-cmd_get_zones",
            "desc": "测试打印预定义区域"
        },
        {
            "name": "test_firewalld_firewall-cmd_get_icmptypes",
            "desc": "测试打印预定义的ICMP类型"
        },
        {
            "name": "test_firewalld_firewall-cmd_list_all",
            "desc": "测试列出所有添加或启用的内容"
        },
        {
            "name": "test_firewalld_firewall-cmd_list_services",
            "desc": "测试列出已添加的服务"
        },
        {
            "name": "test_firewalld_firewall-cmd_remove_service",
            "desc": "测试移除一个服务"
        },
        {
            "name": "test_firewalld_firewall-cmd_query_port",
            "desc": "测试查询端口是否已添加"
        },
        {
            "name": "test_firewalld_firewall-cmd_list_protocols",
            "desc": "测试列出已添加的协议"
        },
        {
            "name": "test_firewalld_firewall-cmd_remove_protocol",
            "desc": "测试移除协议"
        },
        {
            "name": "test_firewalld_firewall-cmd_list_source_ports",
            "desc": "测试列出已添加的源端口"
        },
        {
            "name": "test_firewalld_firewall-cmd_query_source_port",
            "desc": "测试查询源端口是否已添加"
        },
        {
            "name": "test_firewalld_firewall-cmd_list_icmp_blocks",
            "desc": "测试列出已添加的ICMP类型块"
        },
        {
            "name": "test_firewalld_firewall-cmd_add_icmp_block",
            "desc": "测试添加一个ICMP块"
        },
        {
            "name": "test_firewalld_firewall-cmd_remove_icmp_block",
            "desc": "测试移除ICMP块"
        },
        {
            "name": "test_firewalld_firewall-cmd_list_forward_ports",
            "desc": "测试列出已添加的IPv4转发端口"
        },
        {
            "name": "test_firewalld_firewall-cmd_add_forward_port",
            "desc": "测试添加IPv4转发端口"
        },
        {
            "name": "test_firewalld_firewall-cmd_remove_forward_port",
            "desc": "测试移除IPv4转发端口"
        },
        {
            "name": "test_firewalld_firewall-cmd_add_masquerade",
            "desc": "测试启用IPv4伪装"
        },
        {
            "name": "test_firewalld_firewall-cmd_remove_masquerade",
            "desc": "测试禁用IPv4伪装"
        },
        {
            "name": "test_firewalld_firewall-cmd_list_rich_rules",
            "desc": "测试列出已添加的富语言规则"
        },
        {
            "name": "test_firewalld_firewall-cmd_query_rich_rule",
            "desc": "测试查询富语言规则是否已添加"
        },
        {
            "name": "test_firewalld_firewall-cmd_add_interface",
            "desc": "测试将接口绑定到区域"
        },
        {
            "name": "test_firewalld_firewall-cmd_list_sources",
            "desc": "测试列出绑定到区域的源"
        },
        {
            "name": "test_firewalld_firewall-cmd_change_source",
            "desc": "测试更改源绑定的区域"
        },
        {
            "name": "test_firewalld_firewall-cmd_lockdown_off",
            "desc": "测试禁用锁定"
        },
        {
            "name": "test_firewalld_firewall-cmd_panic_off",
            "desc": "测试禁用紧急模式"
        },
        {
            "name": "test_firewalld_firewall-cmd_query_panic",
            "desc": "测试查询紧急模式是否启用"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd__h",
            "desc": "测试firewall-offline-cmd的-h参数，打印帮助文本"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd__upper_v",
            "desc": "测试firewall-offline-cmd的-V参数，打印版本信息"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd__check_config",
            "desc": "测试firewall-offline-cmd的--check-config参数，检查系统和默认配置"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd__enabled",
            "desc": "测试firewall-offline-cmd的--enabled参数，启用防火墙（默认）"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd__p_22_tcp",
            "desc": "测试firewall-offline-cmd的-p 22:tcp参数，在默认区域启用TCP端口22"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd__t_eth0",
            "desc": "测试firewall-offline-cmd的-t eth0参数，将eth0接口绑定到trusted区域"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd__get_zones",
            "desc": "测试firewall-offline-cmd的--get-zones参数，打印预定义区域"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd__get_icmptypes",
            "desc": "测试firewall-offline-cmd的--get-icmptypes参数，打印预定义ICMP类型"
        },
        {
            "name": "test_firewalld_function_set_default_zone",
            "desc": "测试设置系统的默认防火墙区域。"
        },
        {
            "name": "test_firewalld_function_reload",
            "desc": "测试重新加载防火墙配置。"
        },
        {
            "name": "test_firewalld_firewall-cmd_zone_public_list-all",
            "desc": "测试列出public区域的所有配置"
        },
        {
            "name": "test_firewalld_firewall-cmd_panic-on",
            "desc": "测试启用紧急模式"
        },
        {
            "name": "test_firewalld_firewall-cmd_get-log-denied",
            "desc": "测试获取日志拒绝设置"
        },
        {
            "name": "test_firewalld_firewall-cmd_get-policies",
            "desc": "测试获取预定义策略"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd_h",
            "desc": "测试帮助选项，打印帮助文本"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd_upper_v",
            "desc": "测试版本选项，打印版本字符串"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd_get-icmptypes",
            "desc": "测试获取预定义ICMP类型列表"
        },
        {
            "name": "test_firewalld_firewall-cmd_state",
            "desc": "测试获取firewalld服务的运行状态"
        },
        {
            "name": "test_firewalld_firewall-cmd_complete_reload",
            "desc": "测试完全重新加载防火墙配置（丢失连接状态）"
        },
        {
            "name": "test_firewalld_firewall-cmd_set_default_zone",
            "desc": "测试设置默认的防火墙区域"
        },
        {
            "name": "test_firewalld_firewall-cmd_get_active_zones",
            "desc": "测试获取当前所有活跃的防火墙区域"
        },
        {
            "name": "test_firewalld_firewall-cmd_zone",
            "desc": "测试在命令中使用--zone参数来指定操作区域"
        },
        {
            "name": "test_firewalld_firewall-cmd_timeout",
            "desc": "测试为规则设置临时生效的超时时间"
        },
        {
            "name": "test_firewalld_firewall-cmd_remove_port",
            "desc": "测试从区域中移除一个端口"
        },
        {
            "name": "test_firewalld_firewall-cmd_add_protocol",
            "desc": "测试向区域中添加一个协议"
        },
        {
            "name": "test_firewalld_firewall-cmd_query_protocol",
            "desc": "测试查询协议是否已添加到区域中"
        },
        {
            "name": "test_firewalld_firewall-cmd_list_interfaces",
            "desc": "测试列出绑定到区域的网络接口"
        },
        {
            "name": "test_firewalld_firewall-cmd_query_interface",
            "desc": "测试查询网络接口是否绑定到区域"
        },
        {
            "name": "test_firewalld_firewall-cmd_lockdown_on",
            "desc": "测试启用防火墙锁定模式"
        },
        {
            "name": "test_firewalld_firewall-cmd_panic_on",
            "desc": "测试启用防火墙应急模式（阻断所有流量）"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd_check-config",
            "desc": "测试firewall-offline-cmd的--check-config参数，检查系统和默认配置"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd_get-services",
            "desc": "测试firewall-offline-cmd的--get-services参数，打印预定义服务"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd_list-all",
            "desc": "测试firewall-offline-cmd的--list-all参数，列出默认区域的所有配置"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd_list-all-zones",
            "desc": "测试firewall-offline-cmd的--list-all-zones参数，列出所有区域的完整配置"
        },
        {
            "name": "test_firewalld_function_start",
            "desc": "测试firewalld服务能够正常启动并进入运行状态。"
        },
        {
            "name": "test_firewalld_function_stop",
            "desc": "测试firewalld服务能够正常停止。"
        },
        {
            "name": "test_firewalld_function_restart",
            "desc": "测试firewalld服务能够正常重启并保持配置。"
        },
        {
            "name": "test_firewalld_firewall-cmd__h",
            "desc": "测试firewall-cmd的-h参数，打印帮助信息"
        },
        {
            "name": "test_firewalld_firewall-cmd__q",
            "desc": "测试firewall-cmd的-q参数，静默模式不打印状态信息"
        },
        {
            "name": "test_firewalld_firewall-cmd__reload",
            "desc": "测试firewall-cmd的--reload参数，重载防火墙并保持状态信息"
        },
        {
            "name": "test_firewalld_firewall-cmd__runtime_to_permanent",
            "desc": "测试firewall-cmd的--runtime-to-permanent参数，从运行时配置创建永久配置"
        },
        {
            "name": "test_firewalld_firewall-cmd__get_log_denied",
            "desc": "测试firewall-cmd的--get-log-denied参数，打印日志拒绝值"
        },
        {
            "name": "test_firewalld_firewall-cmd__set_log_denied",
            "desc": "测试firewall-cmd的--set-log-denied参数，设置日志拒绝值"
        },
        {
            "name": "test_firewalld_firewall-cmd__permanent",
            "desc": "测试firewall-cmd的--permanent参数，设置永久选项"
        },
        {
            "name": "test_firewalld_firewall-cmd__set_default_zone",
            "desc": "测试firewall-cmd的--set-default-zone参数，设置默认区域"
        },
        {
            "name": "test_firewalld_firewall-cmd__get_active_zones",
            "desc": "测试firewall-cmd的--get-active-zones参数，打印当前活动区域"
        },
        {
            "name": "test_firewalld_firewall-cmd__get_icmptypes",
            "desc": "测试firewall-cmd的--get-icmptypes参数，打印预定义ICMP类型"
        },
        {
            "name": "test_firewalld_firewall-cmd__list_all",
            "desc": "测试firewall-cmd的--list-all参数，列出所有已添加或启用的内容"
        },
        {
            "name": "test_firewalld_firewall-cmd__zone__list_all",
            "desc": "测试firewall-cmd的--zone参数与--list-all组合，列出指定区域的所有内容"
        },
        {
            "name": "test_firewalld_firewall-cmd__remove_service",
            "desc": "测试firewall-cmd的--remove-service参数，从区域移除服务"
        },
        {
            "name": "test_firewalld_firewall-cmd__add_port",
            "desc": "测试firewall-cmd的--add-port参数，向区域添加端口"
        },
        {
            "name": "test_firewalld_firewall-cmd__query_port",
            "desc": "测试firewall-cmd的--query-port参数，查询端口是否已添加到区域"
        },
        {
            "name": "test_firewalld_firewall-cmd__add_icmp_block",
            "desc": "测试firewall-cmd的--add-icmp-block参数，向区域添加ICMP阻塞"
        },
        {
            "name": "test_firewalld_firewall-cmd__remove_icmp_block",
            "desc": "测试firewall-cmd的--remove-icmp-block参数，从区域移除ICMP阻塞"
        },
        {
            "name": "test_firewalld_firewall-cmd__list_interfaces",
            "desc": "测试firewall-cmd的--list-interfaces参数，列出绑定到区域的接口"
        },
        {
            "name": "test_firewalld_firewall-cmd__remove_interface",
            "desc": "测试firewall-cmd的--remove-interface参数，从区域移除接口绑定"
        },
        {
            "name": "test_firewalld_firewall-cmd__panic_off",
            "desc": "测试firewall-cmd的--panic-off参数，禁用紧急模式"
        },
        {
            "name": "test_firewalld_firewall-cmd__query_panic",
            "desc": "测试firewall-cmd的--query-panic参数，查询紧急模式是否启用"
        },
        {
            "name": "test_firewalld_firewall-offline-cmd_set-log-denied",
            "desc": "测试firewall-offline-cmd的设置日志拒绝设置选项"
        },
        {
            "name": "test_firewalld_function_panic_mode",
            "desc": "测试启用和禁用防火墙应急模式（阻断所有流量）。"
        }
    ]
}