mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-20 21:25:14 +02:00
The pcname kwarg was added to VPCSTelnet but never passed by the only production instantiation path, so a node renamed away from PC<n> never matched the prompt pattern and every command stalled the full read timeout. Pass pcname via the netmiko connection extras (the host key is the node name). send_command now owns its read loop instead of delegating to netmiko's read_until_pattern: that helper raises ReadTimeout discarding accumulated output, so a command slower than the timeout returned an empty string that looked like success. The partial output is returned instead.