summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-23Fix for required/excluded candidatesLukasz Rajewski2-2/+5
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-22Merge "Insert tosca models for policy model uploading"Vikas Varma11-4/+654
2019-04-21Insert tosca models for policy model uploadingRuoyu Ying11-4/+654
- Insert the tosca models that can be recognized by Policy Framework inside another new folder. - Add the path for models inside the osdf config in order to avoid changes in future in case there's a change of path. Change-Id: Ifff83a630bc48b7a3fff4aa17323910e6adedb0d Issue-ID: OPTFRA-415 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2019-04-20Merge "Traffic Distributtion support added"Shankaranarayanan Puzhavakath Narayanan22-120/+744
2019-04-18Traffic Distributtion support addedLukasz Rajewski22-120/+744
* 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 callsvrvarma12-20/+376
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 sslvrvarma4-9/+22
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-09Merge "Reduce AAF auth permission cache time to 5 mins"Shankaranarayanan Puzhavakath Narayanan4-17/+31
2019-04-09Merge "Automate the process of policy model uploading"Vikas Varma3-0/+36
2019-04-09Reduce AAF auth permission cache time to 5 minsvrvarma4-17/+31
Refactor code smell issues found in sonar Change-Id: I819a91e374609224561afa7ddb6878fab37feaf2 Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-471
2019-04-05Automate the process of policy model uploadingRuoyu Ying3-0/+36
Add one more step after doing the healthcheck to upload all the models under /osdf/models/policy/placement/tosca Change-Id: I140efba27d603f43f6ae3f73b73b860dc8b10b42 Issue-ID: OPTFRA-415 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2019-04-03Initial model changes and api changes for pci-optvrvarma5-519/+842
PCI-OPT model changes for ANR optimization PCI-OPT swagger document changes for pci/anr optimization Change-Id: I2eb9447db7b3b73bc6cfd9b3e0aba7fed0aaabd6 Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-416
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
2019-03-20Update INFO.yaml fileJessica Wagantall1-8/+21
Update missing information blocks and indentation to pass verify job. Change-Id: I8b24a99bb5afcd487cd51ed3dcdd9df94a48ad26 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-02-21Fix code-coverage reporting for osdfvrvarma1-1/+1
Change-Id: I94450620cbdeb6e43fee344cab51b607c3c60b74 Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-442
2019-02-12Fix to populate missing fields in request to HASChayal, Avteet (ac229e)2-4/+4
Populate requiredCandidates and excludedCandidates for HAS Issue-ID: OPTFRA-438 Change-Id: I23702a572ce3645aa52d27e7a8d58f775349cbb8 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2019-02-06Update the Casablanca Maintenance release notesShankar Narayanan1-2/+20
Issue-ID: OPTFRA-401 Change-Id: I64ae213c9314048cc87a411a8bb8481b8c65574c Signed-off-by: Shankar Narayanan <snarayanan@research.att.com>
2018-11-29Fix the osdf release notes based on reviewvrvarma1-1/+61
Change-Id: I008cce3e5ab3453bd4dd2dc8decff5fc804700f7 Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-407
2018-11-29Update release-notes for casablancavrvarma1-34/+39
Change-Id: I2728ff81735efd4ede04c4f43facf8efff95a8fd Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-407 Signed-off-by: vrvarma <vv8305@att.com>
2018-11-27osdf pci-opt response will have only the updatesvrvarma3-15/+26
Change the pci-optimization responses to only have the updates Return Error message in case of failures or no solutions Change-Id: Ia2efc7dc1e5cbcdc2c9425a3f58b840130d759ed Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-404
2018-11-02Populate serviceResourceId in homing solution3.0.0-ONAP1.2.4Chayal, Avteet (ac229e)3-3/+4
Fix to populate serviceResourceId in solution to SO Updated code to pass service_resource_id in HAS payload Issue-ID: OPTFRA-249 Change-Id: I00415d84c096faccfad86989812ee485bf8f97c1 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-11-02Changes for PWT testing with HAS and SOChayal, Avteet (ac229e)10-6/+372
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 Ranganathan6-85/+91
2018-11-01Updated tosca models as per review commentsChayal, Avteet (ac229e)3-5/+5
Updated tosca models as per review comments Issue-ID: OPTFRA-384 Change-Id: I081f512fc1472836aa5599aa062db8a8b4baef14 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-11-01oof changes for the new sdnr-configdb changesvrvarma6-85/+91
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)8-197/+218
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)26-61/+377
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-23Update version to 1.2.31.2.3Dileep Ranganathan2-2/+2
Update version to 1.2.3 Change-Id: I8a08fb55f5a234aebf58fbcf60598ed2a925a538 Issue-ID: OPTFRA-370 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-22add aaf root ca certificates for osdfVarma, Vikas1-0/+13
Make the certificate updates during runtime. change tab to spaces. Change-Id: I51eb726a49d69c429d83c02e8287430a54062af4 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-379
2018-10-19Enable SMS in OSDFDileep Ranganathan7-48/+45
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)3-2/+30
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-12Changed modelCustomizationName to optionalChayal, Avteet (ac229e)1-1/+1
Changed modelCustomizationName from mandatory to optional Issue-ID: OPTFRA-375 Change-Id: Id1d31acc747816efdae0cf73905cfc7af964bf5f Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-10-09Merge "Update : Spelling Mistakes"Shankaranarayanan Puzhavakath Narayanan1-2/+2
2018-10-09Update : Spelling Mistakesankatare1-2/+2
Issue-ID: OPTFRA-325 Change-Id: I330c4d7077e1a61c45cf7d463ad63335ebd0a230 Signed-off-by: ankatare <ankatare@hotmail.com>
2018-10-08Update version to 1.2.21.2.2Dileep Ranganathan2-3/+3
Update maven artifact verion to 1.2.2-SNAPSHOT Update docker image version to 1.2.2 Update oparent-python to 1.2.1 release version Change-Id: I804737ba09481a4704656101b8361482b5e0553f Issue-ID: OPTFRA-370 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-10-08Retrieve secrets using Secret Management ServiceDileep Ranganathan7-20/+59
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-02Merge "Dockerize osdf simulators for csit"Dileep Ranganathan6-28/+110
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-28Merge "Fix string to refer external AAI network"Dileep Ranganathan1-1/+1
2018-09-28Merge "Policy model for PCI optimization"Dileep Ranganathan1-0/+54
2018-09-27Fix string to refer external AAI networksubhash kumar singh1-1/+1
Fix string to refer external AAI network to "ext-aai-network". Change-Id: I2c3325131c0470f33c426012e99d2150d626ee67 Issue-ID: OPTFRA-334 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-09-26Merge "Disabling policy retrieval for pci opt"Dileep Ranganathan5-24/+40
2018-09-25Fix get route operationsubhash kumar singh3-62/+71
Fix get route operatiaon for CCVPN use case. Change-Id: I57784a611744d3112e48f41ff742b01d557a4644 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Issue-ID: OPTFRA-334
2018-09-20Disabling policy retrieval for pci optVarma, Vikas5-24/+40
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 Ying7-45/+369
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-20Policy model for PCI optimizationChayal, Avteet (ac229e)1-0/+54
Initial version of tosca model for pciPolicy Issue-ID: OPTFRA-342 Change-Id: Iaa935ef1801768eec049f694826ee34446fe4f6f Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-09-19Add Optimization policy for hpa_scoreDileep Ranganathan3-1/+13
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 "Changes while processing optimation policy"Dileep Ranganathan1-2/+3
2018-09-19Merge "fixing a bug for aaf authentication"Dileep Ranganathan2-2/+19