6 Commits

Author SHA1 Message Date
YueGuobin
7e8c515a3c
api: expose installed netmiko device types for the web UI
New GET /v3/netmiko/device_types endpoint returns the device types
supported by the netmiko library installed on the server, including
the gns3-copilot custom drivers, so the web UI can populate the
netmiko_device_type dropdown on templates and nodes.

The list is read at runtime from netmiko's ssh_dispatcher.CLASS_MAPPER
registry (the same table ConnectHandler dispatches on), filtered to
drop the '_ssh' aliases and the 'autodetect' pseudo type, and cached
for the process lifetime. Returns 501 when netmiko is not installed
(ai-features extra).
2026-08-21 21:41:42 +08:00
grossmj
b2d81609be Publish API documentation 2020-10-24 16:32:09 +10:30
grossmj
ee6c70e243 Publish API documentation 2020-10-24 16:16:29 +10:30
github-actions
7d72b5e8b9 Publish API documentation 2020-10-23 09:13:49 +00:00
github-actions
3a55337d3f Publish API documentation 2020-10-23 08:52:41 +00:00
grossmj
3185ebaa3d Publish API documentation generated by FastAPI. 2020-10-23 18:01:58 +10:30