summaryrefslogtreecommitdiffstats
path: root/test/functest
AgeCommit message (Collapse)AuthorFilesLines
2020-03-04Adding the generic solver codevrvarma1-0/+25
Add docker file for optim engine Run pods as a non-root user Fix docker tag script Change-Id: If25fe66b839a70e83e35292031a2da012e81fe47 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-712
2020-01-24Add passthrough attributesvrvarma1-0/+1
Added passthrough attributes in placement request. Current attributes HAS request section changed to filtering_attributes and new passthrough attributes added in HAS request - this one is read from vnf policy passthroughAttributes section. Change-Id: Ic1e9dcafb0aa0ce5c1b4ddcf35d034d457ac7d48 Signed-off-by: vrvarma <vv8305@att.com> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Issue-ID: OPTFRA-611
2019-12-13osdf rearchitecture into apps and libsvrvarma13-38/+147
Change-Id: I2db2f8e252bd5e60807b2ffabf5a5b193a789f7a Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-637
2019-05-24Fix the oof-osdf to configdb interface bugs1.3.1vrvarma8-68/+105
Change-Id: I41ce7210f108195a83a35db46094e27a88f239fb Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-508
2019-04-12Updating code for pci-anr optimization callsvrvarma6-0/+39
Include pci-anr minizinc model Refactor the code to handle pci & pci-anr optimizations Fix pytest unit test cases Change-Id: I59eba39850a90e5aaf45f0e2de1881ebb5a9d5d8 Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-416 Signed-off-by: vrvarma <vv8305@att.com>
2019-03-27Fix CSIT automated test jobs for osdfvrvarma4-1/+7
Change-Id: Ief9fd977e1b443f65cc00c3168fae6f7c4764bd1 Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-464
2018-11-01Merge "oof changes for the new sdnr-configdb changes"Dileep Ranganathan1-6/+6
2018-11-01oof changes for the new sdnr-configdb changesvrvarma1-6/+6
OSDF changes required for the latest configdb api specs. Improve performance building the minizinc request Change-Id: I5558c96c13f3cac25d50aed61ded3ffa079df3f7 Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-388
2018-11-01Fixed tosca models and updated policiesChayal, Avteet (ac229e)1-1/+1
Fixed tosca models and updated policies for vFW Issue-ID: OPTFRA-384 Change-Id: If84cd3117f3c7b3d91a22e379b38c567ed3804e2 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-10-19Enable SMS in OSDFDileep Ranganathan1-0/+13
Load secrets from SMS in OSDF. Removed secrets from osdf_config.yaml. Unit tests to use the test/config/osdf_config.yaml. Helm charts uses a Job to load secrets. CSIT needs to load it using the preload tool provided by SMS. Change-Id: I0f832033476c02958f6392abba74e4d5a36cc902 Issue-ID: OPTFRA-343 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-15Enabled CVS for the OSDF placement APIChayal, Avteet (ac229e)1-0/+14
Enabled ONAP Common Versioning Strategy (CVS) for OSDF API Change-Id: I14ea90385b11c307b9e4f2fb7d245aff6e6d0978 Issue-ID: OPTFRA-376 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-10-01Dockerize osdf simulators for csitvrvarma5-25/+108
Dockerfile modifications Adding intellectual property headers Fixing simulators for policy, add policy name, etc. Fix the hpa policy files based on the comments Change-Id: I337e3200cc92fc1f205bb6e6151620968fc59c7e Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-286
2018-09-20Update sample response and resolve directivesRuoyu Ying2-7/+111
Update the sample conductor response and add name_map to resolve directives. Also updated functest payload and localpolicies with the new policy model. Change-Id: I5255c40fb714558261efffabbdf44da535171cbf Issue-ID: OPTFRA-322 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2018-09-19Add Optimization policy for hpa_scoreDileep Ranganathan1-0/+6
Added policy for hpa_score optimization function for vCPE with weights. Change-Id: Ic6f3081510cbe94c519bcb7b2a7a99137bc29e12 Issue-ID: OPTFRA-313 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-09-19Initial checkin for pci optimization codeVarma, Vikas6-1/+61
Change-Id: I6fe8ad471f8ad68a964664b910f02bd8a9766639 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-342
2018-08-27Fixing functional test casesVarma, Vikas (vv8305)4-6/+6
Change-Id: I752e465f8f8a83cf5e18d300ff7aeb2e1b8de3c5 Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com> Issue-ID: OPTFRA-321 Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
2018-08-23Enable logs when functest simulator is runVarma, Vikas (vv8305)1-1/+2
Issue-ID: OPTFRA-321 Change-Id: I74c80c6b406cf25ba1802314a2872fe47b11b60e Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
2018-08-21Increase sleep time for has simulatorVarma, Vikas (vv8305)1-1/+1
The functional tests are failing, because the simulators are not up and running when the test cases are running. Change-Id: I2a487cc05ae8e1b366640afbdcb40bce8fa5d89a Issue-ID: OPTFRA-321 Signed-off-by: Varma, Vikas (vv8305) <vv8305@att.com>
2018-05-29Fixed case sensitive resource matchingPatel, Ankitkumar1-0/+1
Fixed the case sensitive matching for resources between policy and request. Issue-ID: OPTFRA-247 Change-Id: Ic031f6c950b6c6b44bd2e4231a9ef672beea994b Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
2018-05-22Eliminating emply elements from HAS templatev1.1.1Ankitkumar Patel2-3/+3
Eliminating empty elements from HAS template Issue-ID: OPTFRA-243 Change-Id: Iec6acf95f6f0a98757e3d208f102998d197b2daa Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-05-19Fix the bug in translating a policyAnkitkumar Patel11-87/+77
Fix the bug in translating the VNF policy Issue-ID: OPTFRA-239 Change-Id: I0c9f678f22fec4eb3f5e190ea0080c899fb95445 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-05-04EELF logging is addedAnkitkumar Patel1-0/+58
EELF logging is added. Issue-ID: OPTFRA-227 Change-Id: I2ec7ab4c13f93736acee82a36b9420480d78b50c Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-28Functest scripts, simulators, and payloadsSastry Isukapalli32-0/+1098
osdf/adapters/policy/utils.py: Removed duplicated code (group_policies and group_policies_gen are very similar, and group_policies seems to be not used osdf/optimizers/placementopt/conductor/api_builder.py: changed param name from "grouped_policies" to "flat_policies" tox.ini added starup and shutdown of simulators (flask app with mock payloads) in tox tests rest all files/changes in "test/" folder quite a few payload files Patch set 2: removed a "print()" statement from simulator code Issue-ID: OPTFRA-22 Change-Id: I0006c577fc459c7c884b55e8316c689afd151780 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>