ensp_apply_experiment
Deploy experiment configurations across multiple devices in sequence, verify targets, and generate a structured report. Automates command sending and saving for eNSP lab setups.
Instructions
一站式下发实验配置:按设备规划的命令序列逐台下发 + 校验 + 报告。
参数:
plan:{ "设备名": ["system-view", "interface GE0/0/0", "ip address ...", ...], ... }verify_targets:可选校验项,元素为{"device": str, "kind": "ospf"|"vlan"|"routes"|"interfaces"|"ping", "args": {...}}auto_save:下发完成后自动 save
工作流:
对 plan 中每台设备调用
ensp_send_commands(自动进 system-view 后再下发)跑 verify_targets
auto_save=True 时全部 save
返回结构化报告 + Markdown
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| auto_save | No | ||
| verify_targets | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||