HPA Constraint solver plugin 71/36071/6
authorDileep Ranganathan <dileep.ranganathan@intel.com>
Wed, 14 Mar 2018 22:17:06 +0000 (15:17 -0700)
committerDileep Ranganathan <dileep.ranganathan@intel.com>
Sun, 25 Mar 2018 12:53:06 +0000 (05:53 -0700)
commitac91747b8819d23fd2e56d9e1dd170b83498a2bf
treebdd9a64e13fb3b15bc35b0830dbd2dd2ea0937ba
parent1c4a9f7f0d7ca61df2f0955f60aea9670e399d45
HPA Constraint solver plugin

Implement hpa constraint plugin and implement solve method
Initialize HPA constraint per solver request
Reordered constraint ranking
Implemented RPC invocation to data plugin for matching hpa

Change-Id: I5d63464b6bff6abc10599e000b2b56f926f146f9
Issue-ID: OPTFRA-178
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
conductor/conductor/solver/optimizer/constraints/hpa.py [new file with mode: 0644]
conductor/conductor/solver/request/parser.py
conductor/conductor/solver/utils/constraint_engine_interface.py
conductor/conductor/tests/unit/solver/__init__.py [new file with mode: 0644]
conductor/conductor/tests/unit/solver/candidate_list.json [new file with mode: 0644]
conductor/conductor/tests/unit/solver/hpa_constraints.json [new file with mode: 0644]
conductor/conductor/tests/unit/solver/test_hpa.py [new file with mode: 0644]