mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Remove generic controller settings API endpoint.
This commit is contained in:
1 parent
cebb56387a
commit
98f04365b7
15 files changed
+120
-118
No files matched your search
@@ -96,8 +96,11 @@ class Appliance:
|
||||
|
||||
def update(self, **kwargs):
|
||||
|
||||
#TODO: do not update appliance_id, builtin or appliance_type
|
||||
self._settings.update(kwargs)
|
||||
from gns3server.controller import Controller
|
||||
controller = Controller.instance()
|
||||
controller.notification.controller_emit("appliance.updated", self.__json__())
|
||||
controller.save()
|
||||
|
||||
def __json__(self):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user