mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-31 22:40:14 +03:00
Netmiko's `ssh_dispatcher` calculates platform lists at module import time. When custom device types (like Huawei CE) are registered dynamically, these cached lists become stale and do not include the new platforms. This change imports `netmiko.ssh_dispatcher` and recalculates the `platforms`, `platforms_base`, and `telnet_platforms` attributes to ensure Netmiko recognizes the custom device types.