X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2FROclient.py;h=058472f49b16aec20c7caa0183b76995870f23e5;hb=refs%2Fchanges%2F86%2F7286%2F1;hp=d79a88bbcc14c6d9a2c11880e7739d95d51d9434;hpb=12650ecdd976edea3b425603398fa1661a455a24;p=osm%2FLCM.git diff --git a/osm_lcm/ROclient.py b/osm_lcm/ROclient.py index d79a88b..058472f 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":