Support different format of fuel task info 11/22511/1
authorMichal Skalski <mskalski@mirantis.com>
Tue, 27 Sep 2016 21:31:52 +0000 (23:31 +0200)
committerMichal Skalski <mskalski@mirantis.com>
Tue, 27 Sep 2016 21:37:19 +0000 (23:37 +0200)
commitb2a63bfe5746729b4731a14d98c50fb7f59d875e
treec867462114b7fa7d907588bc9b8246b150c6efc9
parentf2fde8258dedfbbeae52d0c9b1d3a634fd290877
Support different format of fuel task info

As described in this bug: https://bugs.launchpad.net/fuel/+bug/1625518
json output of the task can be in different format: single dict or list
of dicts. During tests of https://gerrit.opnfv.org/gerrit/21807 only the
later one was visible, try to support both types of output.

Change-Id: I7d3e12270c8246b03bdc6c73d3be77a039df469f
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
deploy/cloud/deployment.py