Reset project auto start, auto close, auto open at project import

This commit is contained in:
Julien Duponchelle committed 2016-08-16 16:09:59 +02:00
1 parent ac085126fc
commit 9e81994adc
2 files changed
+8 -4

No files matched your search

+4
View File
@@ -76,6 +76,10 @@ def import_project(controller, project_id, stream, location=None, name=None, kee
topology = load_topology(os.path.join(path, "project.gns3"))
topology["name"] = project_name
# To avoid unexpected behavior (project start without manual operations just after import)
topology["auto_start"] = False
topology["auto_open"] = False
topology["auto_close"] = False
# Modify the compute id of the node depending of compute capacity
if not keep_compute_id: