Fix bug in VIM fit constraint 11/49211/1
authorDileep Ranganathan <dileep.ranganathan@intel.com>
Fri, 25 May 2018 12:14:10 +0000 (05:14 -0700)
committerDileep Ranganathan <dileep.ranganathan@intel.com>
Fri, 25 May 2018 12:14:10 +0000 (05:14 -0700)
commit6c300dad48a7e181ea7bb4b516c3ab61f041e701
tree217d37f7dfbbd29a1e8ef5757b73bb5dd77b6a43
parent4d7952a6082d3bad5c5a931c491b94fa563b44a6
Fix bug in VIM fit constraint

When the Multicloud returns empty list instead of None value
the system was throwing error. If empty list is returned from
multicloud the assumption is that there is no matching VIMs
with specified capacity so ultimately would result in solution
not found.

Change-Id: Ie7164a7cbaa41d7278b7391b56dde78318bc4509
Issue-ID: OPTFRA-245
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
conductor/conductor/data/plugins/vim_controller/multicloud.py
conductor/conductor/data/service.py
conductor/conductor/tests/unit/data/candidate_list.json
conductor/conductor/tests/unit/data/plugins/inventory_provider/test_multicloud.py
conductor/conductor/tests/unit/data/test_service.py