Support for "usage" for "Cloud" nodes. Fixes https://github.com/GNS3/gns3-gui/issues/2887

Allow "usage" for all builtin nodes (not exposed in Ui).
This commit is contained in:
grossmj committed 2020-07-15 19:15:51 +09:30
1 parent d11897c1ec
commit dff035d957
26 files changed
+100 -35

No files matched your search

@@ -59,6 +59,7 @@ class ATMSwitch(Device):
mappings[source] = destination
return {"name": self.name,
"usage": self.usage,
"node_id": self.id,
"project_id": self.project.id,
"mappings": mappings,