mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 06:41:13 +02:00
Load/save GNS3 VM settings on controller side.
This commit is contained in:
1 parent
13deecea4e
commit
234f199558
2 files changed
+88
-1
No files matched your search
@@ -73,6 +73,7 @@ class GNS3VMHandler:
|
||||
for name, value in request.json.items():
|
||||
if hasattr(gns3_vm, name) and getattr(gns3_vm, name) != value:
|
||||
setattr(gns3_vm, name, value)
|
||||
gns3_vm.save()
|
||||
response.json(gns3_vm)
|
||||
|
||||
@Route.post(
|
||||
|
||||
Reference in new issue
Block a user