mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Support for sendings settings for the GNS3VM from the GUI
Ref https://github.com/GNS3/gns3-gui/issues/1441
This commit is contained in:
14 files changed
+301
-173
No files matched your search
@@ -31,7 +31,7 @@ log = logging.getLogger(__name__)
|
||||
from ..compute.error import NodeError, ImageMissingError
|
||||
from ..controller.controller_error import ControllerError
|
||||
from ..ubridge.ubridge_error import UbridgeError
|
||||
from ..controller.gns3_vm_error import GNS3VMError
|
||||
from ..controller.gns3vm.gns3_vm_error import GNS3VMError
|
||||
from .response import Response
|
||||
from ..crash_report import CrashReport
|
||||
from ..config import Config
|
||||
|
||||
@@ -97,7 +97,7 @@ class WebServer:
|
||||
self._handler = None
|
||||
|
||||
if Config.instance().get_section_config("Server").getboolean("controller"):
|
||||
yield from Controller.instance().close()
|
||||
yield from Controller.instance().stop()
|
||||
|
||||
for module in MODULES:
|
||||
log.debug("Unloading module {}".format(module.__name__))
|
||||
@@ -272,7 +272,7 @@ class WebServer:
|
||||
self._loop.set_debug(True)
|
||||
|
||||
if server_config.getboolean("controller"):
|
||||
asyncio.async(Controller.instance().load())
|
||||
asyncio.async(Controller.instance().start())
|
||||
|
||||
for key, val in os.environ.items():
|
||||
log.debug("ENV %s=%s", key, val)
|
||||
|
||||
Reference in new issue
Block a user