mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Support for console type "none".
This commit is contained in:
1 parent
54661c50b2
commit
e52775fa3a
28 files changed
+213
-85
No files matched your search
@@ -376,8 +376,8 @@ class Node:
|
||||
|
||||
self._list_ports()
|
||||
# We send notif only if object has changed
|
||||
if old_json != self.__json__():
|
||||
self.project.controller.notification.emit("node.updated", self.__json__())
|
||||
#if old_json != self.__json__():
|
||||
# self.project.controller.notification.emit("node.updated", self.__json__())
|
||||
if update_compute:
|
||||
data = self._node_data(properties=compute_properties)
|
||||
response = yield from self.put(None, data=data)
|
||||
@@ -389,6 +389,7 @@ class Node:
|
||||
"""
|
||||
Update the object with the remote node object
|
||||
"""
|
||||
|
||||
for key, value in response.items():
|
||||
if key == "console":
|
||||
self._console = value
|
||||
|
||||
Reference in new issue
Block a user