environment_check
Checks if the eNSP environment is ready for a topology by detecting VirtualBox and Hyper-V issues, verifying host-only adapters, and confirming required device images are present.
Instructions
只读检查 eNSP、VirtualBox、模板机和设备镜像,不启动或修改任何虚拟机。
检查结果的 readyForTopology=true 才表示这份拓扑的已知前置条件 已满足。检查会识别 VirtualBox 版本、Hyper-V/VBS 冲突、Host-Only 网卡、 AR/WLAN 基机、SVRP 镜像和 USG6000V 镜像/注册状态。
Args: path: 可选的 .topo。给出后按其中实际型号判断 readyForTopology。 models: 可选的计划型号列表;还没创建拓扑时可先检查,例如 ["AR2220", "USG5500"]。与 path 同时给出时合并检查。 ensp_home: 可选的 eNSP 安装目录;省略时从环境、注册表和常见目录查找。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| models | No | ||
| ensp_home | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |