topo_remove
Remove devices or links from a Huawei eNSP topology file by specifying the file path and optionally a list of device names or link endpoints (from, to).
Instructions
删设备或删连线。
Args: path: .topo 文件路径。 devices: 要删的设备名列表,删设备会连带删掉它身上所有的线。 links: 要断开的链路,每项 {"from": "A", "to": "B"}。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| links | No | ||
| devices | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |