{
    "path": "$OET_PATH/testcases/function_test/pkg_test/firewalld/python3-firewall",
    "machine num": 1,
    "cases": [
        {
            "name": "test_python3-firewall_firewall-cmd_--state",
            "desc": "测试firewall-cmd命令的--state选项，用于返回和打印firewalld状态"
        },
        {
            "name": "test_python3-firewall_firewall-cmd_--reload",
            "desc": "测试firewall-cmd命令的--reload选项，用于重新加载防火墙并保持状态信息"
        },
        {
            "name": "test_python3-firewall_firewall-cmd_--check-config",
            "desc": "测试firewall-cmd命令的--check-config选项，用于检查永久配置是否有错误"
        },
        {
            "name": "test_python3-firewall_install",
            "desc": "测试python3-firewall软件包是否能够成功安装"
        },
        {
            "name": "test_python3-firewall_zone_list",
            "desc": "测试firewall-cmd可以列出所有可用的区域"
        },
        {
            "name": "test_python3-firewall_default_zone",
            "desc": "测试可以获取和设置firewalld的默认区域"
        },
        {
            "name": "test_python3-firewall_add_service",
            "desc": "测试可以为默认区域添加一个服务（如http）"
        },
        {
            "name": "test_python3-firewall_port_open",
            "desc": "测试可以为默认区域开放一个TCP/UDP端口"
        },
        {
            "name": "test_python3-firewall_function_service_status",
            "desc": "测试firewalld服务的状态查询与管理"
        },
        {
            "name": "test_python3-firewall_function_service_management",
            "desc": "测试在区域中添加、移除和查询服务"
        },
        {
            "name": "test_python3-firewall_function_panic_mode",
            "desc": "测试防火墙紧急模式（panic mode）的启用与禁用"
        },
        {
            "name": "test_python3-firewall_function_service_start",
            "desc": "测试启动firewalld服务"
        },
        {
            "name": "test_python3-firewall_function_service_disable",
            "desc": "测试取消firewalld服务开机自启"
        },
        {
            "name": "test_python3-firewall_function_list_all_zones",
            "desc": "测试列出所有防火墙区域及其配置"
        },
        {
            "name": "test_python3-firewall_function_list_services",
            "desc": "测试列出区域中允许的服务"
        },
        {
            "name": "test_python3-firewall_function_list_ports",
            "desc": "测试列出区域中开放的端口"
        },
        {
            "name": "test_python3-firewall_function_service_restart",
            "desc": "测试重启firewalld服务"
        },
        {
            "name": "test_python3-firewall_function_rich_rule_add",
            "desc": "测试添加一条富规则"
        },
        {
            "name": "test_python3-firewall_function_direct_rule",
            "desc": "测试通过direct选项添加规则"
        },
        {
            "name": "test_python3-firewall_function_icmp_block",
            "desc": "测试在区域中阻塞ICMP类型"
        },
        {
            "name": "test_python3-firewall_function_masquerade",
            "desc": "测试区域IP地址伪装功能"
        },
        {
            "name": "test_python3-firewall_function_service_remove",
            "desc": "测试从区域中移除已添加的服务"
        },
        {
            "name": "test_python3-firewall_function_list_forward",
            "desc": "测试列出区域的端口转发规则"
        },
        {
            "name": "test_python3-firewall_uninstall",
            "desc": "测试python3-firewall软件包的卸载"
        },
        {
            "name": "test_python3-firewall_service_status",
            "desc": "测试firewalld服务运行状态"
        },
        {
            "name": "test_python3-firewall_open_port",
            "desc": "测试在区域中开放端口"
        },
        {
            "name": "test_python3-firewall_reload",
            "desc": "测试重新加载防火墙配置"
        },
        {
            "name": "test_python3-firewall_list_services",
            "desc": "测试列出区域允许的服务"
        },
        {
            "name": "test_python3-firewall_list_ports",
            "desc": "测试列出区域开放的端口"
        },
        {
            "name": "test_python3-firewall_rich_rule",
            "desc": "测试添加富规则"
        }
    ]
}