124 lines
3.6 KiB
JSON
124 lines
3.6 KiB
JSON
{
|
|
"test_items": [
|
|
{
|
|
"id": 1,
|
|
"name": "串口连接建立",
|
|
"description": "建立与设备的串口连接",
|
|
"category": "communication",
|
|
"command": "",
|
|
"timeout": 30,
|
|
"is_required": true,
|
|
"sort_order": 1
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "读取硬件信息",
|
|
"description": "读取CPU、内存等硬件信息",
|
|
"category": "system",
|
|
"command": "cat /proc/cpuinfo | grep -i serial",
|
|
"timeout": 10,
|
|
"is_required": true,
|
|
"sort_order": 2
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "修改默认密码",
|
|
"description": "将默认密码torizon改为临时密码",
|
|
"category": "security",
|
|
"command": "",
|
|
"timeout": 30,
|
|
"is_required": true,
|
|
"sort_order": 3
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "设置系统时区",
|
|
"description": "设置时区为Asia/Shanghai",
|
|
"category": "system",
|
|
"command": "sudo timedatectl set-timezone Asia/Shanghai",
|
|
"timeout": 15,
|
|
"is_required": true,
|
|
"sort_order": 4
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "配置网络接口ETH-H1",
|
|
"description": "配置ethernet1为ETH-H1连接",
|
|
"category": "network",
|
|
"command": "",
|
|
"timeout": 60,
|
|
"is_required": true,
|
|
"sort_order": 5
|
|
},
|
|
{
|
|
"id": 6,
|
|
"name": "配置网络接口ETH-H0",
|
|
"description": "配置ethernet0为ETH-H0连接",
|
|
"category": "network",
|
|
"command": "",
|
|
"timeout": 60,
|
|
"is_required": true,
|
|
"sort_order": 6
|
|
},
|
|
{
|
|
"id": 7,
|
|
"name": "SSH连接测试",
|
|
"description": "通过SSH连接到设备",
|
|
"category": "network",
|
|
"command": "",
|
|
"timeout": 30,
|
|
"is_required": true,
|
|
"sort_order": 7
|
|
},
|
|
{
|
|
"id": 8,
|
|
"name": "文件传输测试",
|
|
"description": "传输测试文件到设备",
|
|
"category": "file",
|
|
"command": "",
|
|
"timeout": 60,
|
|
"is_required": true,
|
|
"sort_order": 8
|
|
},
|
|
{
|
|
"id": 9,
|
|
"name": "网络连通性测试",
|
|
"description": "测试设备网络连通性",
|
|
"category": "network",
|
|
"command": "ping -c 3 10.0.5.1",
|
|
"timeout": 20,
|
|
"is_required": true,
|
|
"sort_order": 9
|
|
},
|
|
{
|
|
"id": 10,
|
|
"name": "系统时间同步",
|
|
"description": "同步主机时间到设备",
|
|
"category": "system",
|
|
"command": "",
|
|
"timeout": 20,
|
|
"is_required": true,
|
|
"sort_order": 10
|
|
},
|
|
{
|
|
"id": 11,
|
|
"name": "设置最终强密码",
|
|
"description": "生成并设置高强度随机密码",
|
|
"category": "security",
|
|
"command": "",
|
|
"timeout": 30,
|
|
"is_required": true,
|
|
"sort_order": 11
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "生成设备标识文件",
|
|
"description": "写入序列号和硬件绑定信息",
|
|
"category": "system",
|
|
"command": "",
|
|
"timeout": 20,
|
|
"is_required": true,
|
|
"sort_order": 12
|
|
}
|
|
]
|
|
} |