mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-01 04:38:12 +00:00
New console port range 5000 to 10000.
This commit is contained in:
parent
c563dbba8a
commit
d243cb7d02
@ -42,8 +42,8 @@ class PortManager:
|
|||||||
server_config = Config.instance().get_section_config("Server")
|
server_config = Config.instance().get_section_config("Server")
|
||||||
remote_console_connections = server_config.getboolean("allow_remote_console")
|
remote_console_connections = server_config.getboolean("allow_remote_console")
|
||||||
|
|
||||||
console_start_port_range = server_config.getint("console_start_port_range", 2001)
|
console_start_port_range = server_config.getint("console_start_port_range", 5000)
|
||||||
console_end_port_range = server_config.getint("console_end_port_range", 7000)
|
console_end_port_range = server_config.getint("console_end_port_range", 10000)
|
||||||
self._console_port_range = (console_start_port_range, console_end_port_range)
|
self._console_port_range = (console_start_port_range, console_end_port_range)
|
||||||
log.debug("Console port range is {}-{}".format(console_start_port_range, console_end_port_range))
|
log.debug("Console port range is {}-{}".format(console_start_port_range, console_end_port_range))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user