summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2020-03-20Merge "fix csit, cleanup dockerfile for osdf"Shankaranarayanan Puzhavakath Narayanan4-3/+23
2020-03-20Improvements to the OSDF changes for new PEF APIsChayal, Avteet (ac229e)67-1203/+1554
Improvements to the OSDF changes for new PEF APIs Issue-ID: OPTFRA-723 Change-Id: Ie425bb302361489f4b5a47fbc7225fdc8060e9c3 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2020-03-20fix csit, cleanup dockerfile for osdfvrvarma4-3/+23
Change-Id: Ie3d44592a382ba8e886c2a7544520cbed6971f84 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-722
2020-03-19OSDF migration to new Policy APIChayal, Avteet (ac229e)4-1/+102
Map policy type with constraints type for HAS payload Added new attribute policies for Network Sliciing reference Fixed the logic to proccess Attribute policy translation Issue-ID: OPTFRA-721 Change-Id: I6b01815963b48b3df97c1a3109cc39b2a8bc2c3c Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2020-03-09Merge "[WIP]Migration to new policy api"Shankaranarayanan Puzhavakath Narayanan30-377/+2553
2020-03-10[WIP]Migration to new policy apiRuoyu Ying30-377/+2553
*Change retrieval payload send to policy *Change the configs inside common_config Issue-ID: OPTFRA-520 Change-Id: I27a63294cdec3def7d415ed2dcb96e3606d9e21f Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2020-03-04Adding the generic solver codevrvarma15-0/+381
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 attributesvrvarma6-130/+165
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 libsvrvarma27-84/+287
Change-Id: I2db2f8e252bd5e60807b2ffabf5a5b193a789f7a Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-637
2019-11-19Merge "Unique field moved to vnf policy"Shankaranarayanan Puzhavakath Narayanan3-2/+2
2019-11-06Add onap log spec 1.2 for osdfvrvarma1-12/+0
OPTFRA-319 OPTFRA-607 and OPTFRA-629 included in this fix Change-Id: Ieeeaa0417ffa41360d790c01b0ef1404960e6b6a Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-319
2019-10-21Unique field moved to vnf policyLukasz Rajewski3-2/+2
Unique req field was moved from OSDF request to VNF policy -> content -> vnfProperties Change-Id: I96b8a2bb881370cdb8d86b52ad4798e24e98425d Issue-ID: OPTFRA-482 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2019-07-29List of canidate identifiers supportLukasz Rajewski1-1/+1
List of candidate identifers in required and excluded candidates list now is supported only as a list Issue-ID: OPTFRA-486 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I2fdc11bc23239eeb1500c95925f8779da89dfcaf
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-05-21Merge "Fixed TD policies"Shankaranarayanan Puzhavakath Narayanan5-11/+30
2019-05-13Merge "Update the policy scope to 'OSDF_DUBLIN'"Vikas Varma19-19/+19
2019-05-13Fix to send num_solution as string to HASX1.3.0Chayal, Avteet (ac229e)1-1/+1
Fix to send num_solution as string to HAS Issue-ID: OPTFRA-497 Change-Id: I5fe509330ccb9e1c97b92ae44cec919ada0f8594 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2019-05-10Update the policy scope to 'OSDF_DUBLIN'Ruoyu Ying19-19/+19
Update the policy scope for default, vfw, vcpe and td. Update the policy names for local policies Change-Id: I8e51201a88209fc612de2a58a766abdc8b70fbd6 Issue-ID: OPTFRA-498 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2019-05-09Fixed TD policiesLukasz Rajewski5-11/+30
Fixed TD policies after result of pair-wise testing Change-Id: I47eb4fb4bef4fac42989770dfab8361d33ccdc5c Issue-ID: OPTFRA-443 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2019-05-07Fix OSDF input to HAS to use num_solutionChayal, Avteet (ac229e)1-2/+2
Fix OSDF input to HAS to use num_solution Issue-ID: OPTFRA-497 Change-Id: I339a9e09aac766ce918ce6fa6d4dffc9d7ae741b Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2019-04-23Fix for required/excluded candidatesLukasz Rajewski1-1/+1
The fix changes how required and excluded candiates list is generated for HAS request by OSDF. After the change it is now alligned with request format of HAS. Change-Id: I6c4a88c3672971e53b996d416caeda63771e08c1 Issue-ID: OPTFRA-483 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2019-04-20Merge "Traffic Distributtion support added"Shankaranarayanan Puzhavakath Narayanan14-52/+618
2019-04-18Traffic Distributtion support addedLukasz Rajewski14-52/+618
* New local polcies for vFW TD use case * Fixed encoding for conductor_request template and parameters section modified to accept all requestParameters * Conductor request can have many attributes in the 'attributes' section - all that are defined in the vnf policy file * Conductor request can have many request parameters in the 'requestParameters' section. The parameters come from QueryPolicies. Before list of suppoted parameters was hardcoded * Optional 'unique' parameter added to the placementDemand section. It is already supported by conductor for all inventory types * Improved debug logs for local policies * Unit tests added for expanded request format Change-Id: I41f219c366a3a77881c7096e64a6272edbada23b Issue-ID: OPTFRA-443 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2019-04-12Updating code for pci-anr optimization callsvrvarma9-1/+148
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-04-10Implement osdf code to enable sslvrvarma2-4/+5
Fix aaf related permissions Change-Id: Id458d7198d1ccef66e816d39bb7f8dce787c9a80 Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-223 Signed-off-by: vrvarma <vv8305@att.com>
2019-04-09Reduce AAF auth permission cache time to 5 minsvrvarma2-4/+5
Refactor code smell issues found in sonar Change-Id: I819a91e374609224561afa7ddb6878fab37feaf2 Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-471
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-02Changes for PWT testing with HAS and SOChayal, Avteet (ac229e)9-5/+371
Fixed tosca model for optimization policy Updated polices as pdp apis are case sensitive Added polices for PWT and IT for casablanca Removed extra spaces in vnf policy Issue-ID: OPTFRA-384 Change-Id: I17997e962939ff27e38b182134d7c25df77169d8 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
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)4-191/+212
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-11-01Fixed tosca models, updated code and policiesChayal, Avteet (ac229e)18-43/+341
Fixed tosca models, updated policies and code for conductor payload changes for vFW and vCPE Change-Id: Ia98c632fc2fd564efa3b96e8a7888bc97d1c5448 Issue-ID: OPTFRA-384 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-10-19Enable SMS in OSDFDileep Ranganathan2-0/+27
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)2-1/+29
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-15Temp unit test changes to fix build failureChayal, Avteet (ac229e)1-2/+2
Temp unit test changes to fix build failure Issue-ID: OPTFRA-376 Change-Id: I4b8ce1a3ed81c102eddea3f0d9c731ca124b792f Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-10-08Retrieve secrets using Secret Management ServiceDileep Ranganathan1-11/+5
Integrate with OSDF by retrieving stored secrets using SMS Application code remains in tact as the secrets are preloaded and stored in config. The configs in clear text will be deprecated eventually. OOM needs to load aaf-sms and preload secrets before oof deployment. Updated to use domain name instead of domain uuid. Change-Id: I88a3c3dd2ad87753cc056fb63c8bbabd546707ab Issue-ID: OPTFRA-343 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-01Dockerize osdf simulators for csitvrvarma6-28/+110
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-20Disabling policy retrieval for pci optVarma, Vikas1-3/+1
Fixing the pci optimization response. Disable policy retrieval until the policies are loaded. Fix merge issues with optfapp.py Change-Id: I2acb82aac1cd6d154abf37f58755016bc377e475 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-342
2018-09-20Update sample response and resolve directivesRuoyu Ying6-44/+368
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 Ranganathan2-0/+12
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-19Merge "fixing a bug for aaf authentication"Dileep Ranganathan1-0/+17
2018-09-19CVS changes for osdf placment apiChayal, Avteet (ac229e)1-0/+21
Implemented ONAP Common Versioning Strategy Issue-ID: OPTFRA-285 Change-Id: I31df699afddbeb8962b2ca0fa501eff45f70ed5d Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-09-19fixing a bug for aaf authenticationVarma, Vikas1-0/+17
Change-Id: Ic35f014a2bc9cf979dc533d496356c962e972bf4 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-339 Signed-off-by: Varma, Vikas <vv8305@att.com>
2018-09-19Initial checkin for pci optimization codeVarma, Vikas9-1/+208
Change-Id: I6fe8ad471f8ad68a964664b910f02bd8a9766639 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-342
2018-09-17Merge "Secret Management Service feature"Shankaranarayanan Puzhavakath Narayanan2-0/+90
2018-09-14Add unit test cases for aaf auth apiVarma, Vikas3-0/+168
Change-Id: I611f3fc8dcfe9570d3202bb1473f163168d22d7c Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-339
2018-09-14Secret Management Service featureDileep Ranganathan2-0/+90
Added supporting library required for enabling SMS integration. Added Unit tests and manual tests for store/retrieve/delete secrets. Added AAF cacert, preload_secrets config for testing. Integration with application NOT Done in this patch. Change-Id: Ic2be41f825b327064127fbf83f9e1057a68f19c2 Issue-ID: OPTFRA-343 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
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>