summaryrefslogtreecommitdiffstats
path: root/config
AgeCommit message (Collapse)AuthorFilesLines
2020-09-18Add support to process NSI selection requestdhebeha3-9/+106
Issue-ID: OPTFRA-802 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com> Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I85d951061abc697714425bd223b89102d4f2ede9
2020-09-18Merge "Add ML based optimization to PCI opt"Vikas Varma2-0/+18
2020-09-17Add ML based optimization to PCI optkrishnaa962-0/+18
Add DCAE DES adapter to the adapters Add a simple ML model in PCI opt app Issue-ID: OPTFRA-769 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I144887e1be1ac6be4d27eeec22f9669c71f2c2bb
2020-09-17Fix osdf code after upgrading to py38vrvarma1-30/+35
Fix osdf logging to work with 3.8 Fix osdf code that broke after migration Fix test cases after migration Fixing pep8 violations Change-Id: I11ca33959882c8b9010f00ff744d59c7eeb3c2f2 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-796
2020-09-02Add Nxi-Termination featurehariharan971-0/+1
Issue-ID: OPTFRA-825 Signed-off-by: hariharan97 <rh20085046@wipro.com> Change-Id: I0d768e36708e9f26e5bcdf661b2bcb5772ed48c2
2020-08-14Inter Domain Route Calculation forMehreen Kaleem1-0/+4
the MDONS use case Change-Id: Ic831fd92028ef3c1ac86f5067d68c19a7af3e8d6 Issue-ID: OPTFRA-753 Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com>
2020-05-11Fix for remote policy filteringLukasz Rajewski1-1/+1
Changed a way of processing policies by scope. Before filtering was resulting with None type access exception. Change-Id: Ide6515b4b18a2dc7344e92b32a76d00ba48d4301 Issue-ID: OPTFRA-755 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2020-04-22Merge "add aggregation policy for NSI selection"Vikas Varma1-3/+3
2020-04-21Route optimization -take 2Sithara Nambiar1-0/+4
Issue-ID: OPTFRA-420 Signed-off-by: Sithara Nambiar <sitharav.aredath@huawei.com> Change-Id: I06624f5adee060ce220a82f2a05a17c0986ca904
2020-04-17add aggregation policy for NSI selectiondhebeha1-3/+3
made changes for other policy updates Issue-ID: OPTFRA-730 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com> Change-Id: I3fb4ae184cdae9181037fb059ac144070228c29f
2020-04-14Remove encryption of passwords for osdf2.0.3vrvarma1-1/+1
Change-Id: I1815e798b29b21278353fbf4ea6cb5cd6475dbf5 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-732
2020-04-09Fix minor issues in policy interfacekrishnaa961-2/+2
Issue-ID: OPTFRA-731 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I65e12da03b3f3881abda2dd3d1313ebe163fc3ff
2020-04-10Fix bugs in policy retrevialRuoyu Ying1-2/+2
Fix bugs in the payload sent to policy query Issue-ID: OPTFRA-731 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> Change-Id: I7ed833e4daf2eb08c6bf4b998fd61d4182246677 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2020-03-23Add functionality to support NSI selectionkrishnaa961-0/+18
Issue-ID: OPTFRA-677 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Ibc51e15fce4692a445df400053060d3a6977b4ce
2020-03-20Improvements to the OSDF changes for new PEF APIsChayal, Avteet (ac229e)1-3/+3
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-19OSDF migration to new Policy APIChayal, Avteet (ac229e)2-3/+8
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 Narayanan1-13/+17
2020-03-10[WIP]Migration to new policy apiRuoyu Ying1-13/+17
*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 codevrvarma2-0/+29
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-02-27encryption/decryption utilitydhebeha2-49/+52
Change-Id: I1f7d2c6fe66b1ff4341660063203662b507a669a Issue-ID: OPTFRA-700 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com>
2020-01-24Add passthrough attributesvrvarma1-1/+2
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-11-07Merge "Add onap log spec 1.2 for osdf"Shankaranarayanan Puzhavakath Narayanan2-0/+98
2019-11-06Add onap log spec 1.2 for osdfvrvarma2-0/+98
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-30Update Policy config url and passRuoyu Ying2-9/+4
Update the config retrieval uri and authorization keys Issue-ID: OPTFRA-520 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> Change-Id: I694930fcbf2ac2b17c048d0341571a027552576c
2019-05-10Update the policy scope to 'OSDF_DUBLIN'Ruoyu Ying1-2/+3
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-04-22Merge "Insert tosca models for policy model uploading"Vikas Varma1-1/+2
2019-04-21Insert tosca models for policy model uploadingRuoyu Ying1-1/+2
- 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 Narayanan2-18/+27
2019-04-18Traffic Distributtion support addedLukasz Rajewski2-18/+27
* 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-10Implement osdf code to enable sslvrvarma1-4/+2
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 Narayanan1-1/+4
2019-04-09Reduce AAF auth permission cache time to 5 minsvrvarma1-1/+4
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 Ying1-0/+2
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-02-12Fix to populate missing fields in request to HASChayal, Avteet (ac229e)1-3/+3
Populate requiredCandidates and excludedCandidates for HAS Issue-ID: OPTFRA-438 Change-Id: I23702a572ce3645aa52d27e7a8d58f775349cbb8 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-11-01Fixed tosca models, updated code and policiesChayal, Avteet (ac229e)1-5/+17
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 Ranganathan1-43/+4
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-1/+1
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-08Retrieve secrets using Secret Management ServiceDileep Ranganathan2-4/+16
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-09-20Disabling policy retrieval for pci optVarma, Vikas1-0/+4
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-19CVS changes for osdf placment apiChayal, Avteet (ac229e)1-0/+14
Implemented ONAP Common Versioning Strategy Issue-ID: OPTFRA-285 Change-Id: I31df699afddbeb8962b2ca0fa501eff45f70ed5d Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-09-19Initial checkin for pci optimization codeVarma, Vikas1-0/+11
Change-Id: I6fe8ad471f8ad68a964664b910f02bd8a9766639 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-342
2018-09-14Secret Management Service featureDileep Ranganathan2-0/+49
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-09-10Python implementation of the aaf cadi clientVarma, Vikas1-1/+7
Change-Id: I0cae202775361f221a7d8774254febfaf0a4bbac Python implementation of the aaf cadi client Change-Id: Icd31276a908eaf72ab30fc04e1d2a4715817a5b6 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-339
2018-09-07Add credentials for VFC placement requestVarma, Vikas1-0/+4
Change-Id: I74ae1c1821ca4fabdf82a55c74f91f56d88d3703 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-338
2018-05-29Fixed case sensitive resource matchingPatel, Ankitkumar1-1/+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-22Updating the VNF policy translationAnkitkumar Patel2-5/+5
Updating the VNF policy translation Issue-ID: OPTFRA-239 Change-Id: Iadce865b35ec94613502063d718a317aba798bc4 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-05-19Fix the bug in translating a policyAnkitkumar Patel2-4/+5
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-16updating config fileAnkitkumar Patel1-4/+4
updating the config file Issue-ID: OPTFRA-237 Change-Id: Ic63eb5e3921bba35afb44c5d34ddb38cfde8ee75 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-05-16Updating the config fileAnkitkumar Patel1-1/+1
Updating the config file as workaround Issue-ID: OPTFRA-237 Change-Id: Iacdb4e8ab0f38d0809c4881b3faca0b4f3164d0c Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-05-07disabling SSL certificate checkAnkitkumar Patel1-1/+1
Disabling SSL certificate check Issue-ID: OPTFRA-223 Change-Id: Ibec0165290a8d22cf480871d6c556cd39007b6b6 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>