Fix HAS CSIT bugs 57/69957/1
authorDileep Ranganathan <dileep.ranganathan@intel.com>
Sat, 6 Oct 2018 23:06:16 +0000 (16:06 -0700)
committerDileep Ranganathan <dileep.ranganathan@intel.com>
Sat, 6 Oct 2018 23:06:16 +0000 (16:06 -0700)
commit35542db90b214695f96331154f11fb9e2ac1420a
treef80f29a79557e4c0a4329530e567e83ab1de97e0
parentf6276f8953a5d1ad19e3ef771910209e5ba4b0b4
Fix HAS CSIT bugs

Homing template with no optimization is throwing List IndexOutofBound
exception. Intitialized triageSolver in RandomPick algorithm.
Used iterator to read K,V pair from flavor_maps.
Labels were wrongly initialized in the VNF_SCORE metric.

Change-Id: Icbf1b9aaa0bb7899980680a55754ea7282810adb
Issue-ID: OPTFRA-366
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
conductor/conductor/common/prometheus_metrics.py
conductor/conductor/solver/optimizer/random_pick.py
conductor/conductor/solver/service.py