topo_export
Export Huawei eNSP network topology to Mermaid, draw.io, or CSV formats for documentation and analysis.
Instructions
把拓扑导成写文档用得上的格式。
Args: path: .topo 文件路径。 format: mermaid(流程图源码)、drawio(可导入 draw.io)、 csv(设备表 + 接口连接表)。 out_path: 输出文件路径,省略则只把内容返回、不落盘。 csv 会写成两个文件,分别加 _devices / _links 后缀。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | No | mermaid | |
| out_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |