From 1af43fc31fe9ebfbec873b4969237bff76f6248a Mon Sep 17 00:00:00 2001 From: tierno Date: Fri, 8 Mar 2019 08:54:58 +0000 Subject: [PATCH] minor changes to allow modern RO versions Change-Id: Ia55974d9bbb1ae69b37914c6ed3812d74ae8d9e0 Signed-off-by: tierno --- osm_lcm/ROclient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osm_lcm/ROclient.py b/osm_lcm/ROclient.py index d79a88bb..058472f4 100644 --- a/osm_lcm/ROclient.py +++ b/osm_lcm/ROclient.py @@ -319,7 +319,7 @@ class ROClient: other_done = 0 for vim_action_set in action_descriptor["actions"]: - for vim_action in vim_action_set["vim_actions"]: + for vim_action in vim_action_set["vim_wim_actions"]: if vim_action["item"] == "instance_vms": vm_total += 1 elif vim_action["item"] == "instance_nets": @@ -328,7 +328,7 @@ class ROClient: other_total += 1 if vim_action["status"] == "FAILED": return "ERROR", vim_action["error_msg"] - elif vim_action["status"] in ("DONE", "SUPERSEDED"): + elif vim_action["status"] in ("DONE", "SUPERSEDED", "FINISHED"): if vim_action["item"] == "instance_vms": vm_done += 1 elif vim_action["item"] == "instance_nets": -- 2.25.1