Add support to generic optimization structure 88/111488/4
authorkrishnaa96 <krishna.moorthy6@wipro.com>
Sat, 15 Aug 2020 16:59:23 +0000 (22:29 +0530)
committerkrishnaa96 <krishna.moorthy6@wipro.com>
Sun, 6 Sep 2020 16:05:14 +0000 (21:35 +0530)
commitf7a27497dd184da6259ea8bd87c3c704df519923
tree9facc131eaab53783e01cc7f0ec172c800914245
parent11f579c76967eec1c4959ba02dbdfc6f19575a84
Add support to generic optimization structure

Add a new template version to support the new
optmization model

Issue-ID: OPTFRA-730
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I286f7ae1bad0af1fac0da7e96f7274eb9518e031
26 files changed:
conductor.conf
conductor/conductor/controller/generic_objective_translator.py [new file with mode: 0644]
conductor/conductor/controller/translator.py
conductor/conductor/controller/translator_svc.py
conductor/conductor/controller/translator_utils.py [new file with mode: 0644]
conductor/conductor/solver/optimizer/best_first.py
conductor/conductor/solver/optimizer/fit_first.py
conductor/conductor/solver/optimizer/greedy.py
conductor/conductor/solver/request/functions/__init__.py
conductor/conductor/solver/request/functions/attribute.py [new file with mode: 0644]
conductor/conductor/solver/request/functions/distance_between.py
conductor/conductor/solver/request/functions/latency_between.py
conductor/conductor/solver/request/functions/location_function.py [new file with mode: 0644]
conductor/conductor/solver/request/generic_objective.py [new file with mode: 0644]
conductor/conductor/solver/request/parser.py
conductor/conductor/solver/utils/utils.py
conductor/conductor/tests/unit/controller/opt_schema.json [new file with mode: 0644]
conductor/conductor/tests/unit/controller/template_v2.json [new file with mode: 0644]
conductor/conductor/tests/unit/controller/test_generic_objective_translator.py [new file with mode: 0644]
conductor/conductor/tests/unit/controller/test_translator_svc.py
conductor/conductor/tests/unit/solver/request/functions/test_attribute.py [new file with mode: 0644]
conductor/conductor/tests/unit/solver/request/objective.json [new file with mode: 0644]
conductor/conductor/tests/unit/solver/request/test_generic_objective.py [new file with mode: 0644]
conductor/etc/conductor/opt_schema.json [new file with mode: 0644]
conductor/requirements.txt
conductor/tox.ini