Raise an error if uBridge is not installed

This commit is contained in:
Julien Duponchelle committed 2016-07-12 17:38:13 +02:00
1 parent ee533943c8
commit 3d52e18fa5
2 files changed
+7 -1

No files matched your search

+3
View File
@@ -216,6 +216,9 @@ def _convert_1_3_later(topo):
node["node_type"] = "virtualbox"
if node["symbol"] is None:
node["symbol"] = ":/symbols/vbox_guest.svg"
elif old_node["type"] == "Cloud":
node["node_type"] = "cloud"
node["symbol"] = ":/symbols/cloud.svg"
else:
raise NotImplementedError("Conversion of {} is not supported".format(old_node["type"]))