mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-09-29 07:10:13 +03:00
Merge branch '3.0' into feature/extended-statistics
This commit is contained in:
commit
02dc2b9a41
@ -107,9 +107,15 @@ def get_device_ports_from_topology(
|
|||||||
# Return error if device_type not found in tags
|
# Return error if device_type not found in tags
|
||||||
# Using a default would cause command execution errors
|
# Using a default would cause command execution errors
|
||||||
if device_type is None:
|
if device_type is None:
|
||||||
|
tested_device_types = (
|
||||||
|
"cisco_ios_telnet (Netmiko built-in), gns3_huawei_telnet_ce (custom Huawei), "
|
||||||
|
"gns3_ruijie_telnet (custom Ruijie)"
|
||||||
|
)
|
||||||
error_msg = (
|
error_msg = (
|
||||||
f"Device '{device_name}': device_type tag not found. "
|
f"Device '{device_name}': device_type tag not found. "
|
||||||
f"Please add 'device_type:<type>' tag to this device in GNS3. "
|
f"Please add 'device_type:<type>' tag to this device in GNS3. "
|
||||||
|
f"To configure via Web UI: right-click the device -> Configure -> Tags -> add 'device_type:<type>'. "
|
||||||
|
f"Tested types: {tested_device_types}. "
|
||||||
f"Current tags: {tags}"
|
f"Current tags: {tags}"
|
||||||
)
|
)
|
||||||
logger.error(error_msg)
|
logger.error(error_msg)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user