find_path
Finds the shortest network path between two devices using BFS on the LLDP-discovered topology.
Instructions
Find the shortest path between two devices in the topology.
Uses BFS on the LLDP-discovered topology to find the shortest path between two network devices.
Args: source: Source device name target: Target device name
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |