Find an alternative IOS or IOU image if one cannot be found when importing a topology.

This commit is contained in:
grossmj committed 2014-07-06 16:34:38 -06:00
1 parent 551b98880b
commit 9fc7650f3f
4 files changed
+19 -1

No files matched your search

@@ -138,6 +138,10 @@ class VM(object):
chassis = request.get("chassis")
router_id = request.get("router_id")
updated_image_path = os.path.join(self.images_directory, image)
if os.path.isfile(updated_image_path):
image = updated_image_path
try:
if platform not in PLATFORMS: