aboutsummaryrefslogtreecommitdiffstats
path: root/osdf
AgeCommit message (Collapse)AuthorFilesLines
2018-10-08Retrieve secrets using Secret Management ServiceDileep Ranganathan1-4/+34
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-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 Ranganathan2-19/+31
2018-09-25Fix get route operationsubhash kumar singh2-32/+67
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, Vikas2-19/+31
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 Ying1-1/+1
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 Ranganathan1-1/+1
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 Ranganathan1-2/+2
2018-09-19Changes while processing optimation policyChayal, Avteet (ac229e)1-2/+3
Generalize the logic that fetches the "parameter" and "resource" fields while processing optimization policy Issue-ID: OPTFRA-354 Change-Id: Ic84f837b63d430a9adabf4a17d0b396ff1e8ac54 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-09-19CVS changes for osdf placment apiChayal, Avteet (ac229e)3-237/+325
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-2/+2
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, Vikas11-3/+542
Change-Id: I6fe8ad471f8ad68a964664b910f02bd8a9766639 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-342
2018-09-17Merge "Secret Management Service feature"Shankaranarayanan Puzhavakath Narayanan1-0/+97
2018-09-14Add unit test cases for aaf auth apiVarma, Vikas1-1/+1
Change-Id: I611f3fc8dcfe9570d3202bb1473f163168d22d7c Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-339
2018-09-14Secret Management Service featureDileep Ranganathan1-0/+97
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-14Merge "Update policy model for HPA policies"Shankaranarayanan Puzhavakath Narayanan1-1/+30
2018-09-13Update policy model for HPA policiesRuoyu Ying1-1/+30
Remove 'flavorLabel' attribute inside policy model. Add 'id', 'type' and 'directives' inside the structure. Also add 'directives' structure under flavorProperties Change-Id: I9c947481b2307553fadc716811d4ed9756a46182 Issue-ID: OPTFRA-340 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2018-09-10Python implementation of the aaf cadi clientVarma, Vikas3-0/+111
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-03Fix return message formatseshukm1-39/+26
Change-Id: Ia52cf0675449fdabdaba33928daa0cbcd99df781 Issue-ID: OPTFRA-334 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-09-01fix IP with AAI DNSseshukm1-1/+3
Change-Id: I85a78cc14dd3b5528c2aac03efc81f1c60647d2f Issue-ID: OPTFRA-316 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-08-31fix the route issue in same domainseshukm1-4/+73
Issue-ID: OPTFRA-333 Change-Id: Ic77f71d3abdab8244bdae85a11856aea24543a54 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-08-21Fixing the typo of application/jsonseshukm1-12/+12
Issue-ID: OPTFRA-310 Change-Id: I74a50f1e19d2f6f3e10b31c4c2b89d6dc32f5421 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-08-20New route optimiser file added for the timebeingseshukm1-0/+74
Issue-ID: OPTFRA-310 Change-Id: I0dcec69974e6d8c6f865dad31e91746451a4f528 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-05-30Fixed the config dir and default policy scope2.0.0-ONAP2.0.0-ONAPPatel, Ankitkumar1-1/+2
Fixed the config dir and default policy scope Issue-ID: OPTFRA-247 Change-Id: Ie15aaaa7ac6357ddc9fc0dc262591e844001d927 Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
2018-05-29Fixed the HAS response attribute namesPatel, Ankitkumar1-1/+1
Fixed the HAS response attribute names Issue-ID: OPTFRA-247 Change-Id: Id6afeafcb9fb094710ef7b624f2111e3608973dc Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
2018-05-29Fixed the distance policy typePatel, Ankitkumar1-1/+1
Fixed the distance_to_location policy type Issue-ID: OPTFRA-247 Change-Id: I5b63407fcf7c46dffc841b080b721e5c8203a3da Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
2018-05-29Fix to remove resources with no policiesPatel, Ankitkumar1-2/+3
Fix to remove resources with no policies from the HAS template Issue-ID: OPTFRA-247 Change-Id: I8762a5ac13038406d74ee2806a52f78b6df697a2 Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
2018-05-29Fixed case sensitive resource matchingPatel, Ankitkumar4-8/+12
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 Patel3-17/+12
Eliminating empty elements from HAS template Issue-ID: OPTFRA-243 Change-Id: Iec6acf95f6f0a98757e3d208f102998d197b2daa Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-05-22Updating the VNF policy translationAnkitkumar Patel1-1/+1
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-11/+23
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 Patel7-7/+1378
EELF logging is added. Issue-ID: OPTFRA-227 Change-Id: I2ec7ab4c13f93736acee82a36b9420480d78b50c Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-04-18[OPTFRA-217] Fix identifier value in placementSolChayal, Avteet (ac229e) ac229e@att.com1-1/+1
Identifier should be "serviceInstanceId" or "cloudRegionId" Issue-ID: OPTFRA-217 Change-Id: I1ddab070922f43ac65f54a3fcc6f36986d04de3a Signed-off-by: Chayal, Avteet (ac229e) ac229e@att.com <ac229e@att.com>
2018-04-05Fix for placement call check and sync responseChayal, Avteet (ac229e) ac229e@att.com1-2/+2
Fixed the condition to make placement call & sync response to client Issue-ID: OPTFRA-215 and OPTFRA-216 Change-Id: I0f996160e8cd339c663611ba53bd590271ea3b3a Signed-off-by: Chayal, Avteet (ac229e) ac229e@att.com <ac229e@att.com>
2018-04-04OPTFRA-214-requestState should be requestStatusChayal, Avteet (ac229e) ac229e@att.com2-4/+4
Fixed async response for placementDemand only scenario. Issue-ID: OPTFRA-214 Change-Id: Ia9bdced85a874fd19e74b53e52702d45b3c67052 Signed-off-by: Chayal, Avteet (ac229e) ac229e@att.com <ac229e@att.com>
2018-04-01Updated the policy adaptor for scope filteringAnkitkumar Patel1-23/+22
Updated the policy adaptor to support scope-based filtering. Issue-ID: OPTFRA-27 Change-Id: I908c1ee16c6f21982d8bfc1e3d6156d54555fdd3 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-28Added optimization query processing module.Ankitkumar Patel3-3/+25
Added optimization query processing module. Issue-ID: OPTFRA-177 Change-Id: I4dd395b77bfe4bc392b90bc7087338f050fa622d Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-28Functest scripts, simulators, and payloadsSastry Isukapalli3-35/+5
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>
2018-03-28Update the SO sync and async responses.Ankitkumar Patel6-24/+21
Updated the sync and async responses and addes testcases related to policy adaptors. Issue-ID: OPTFRA-208 Change-Id: Ia0f88df1b897b6158674f3c3a7ef239f2328dcfc Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-28Adding an autostart in DockerSastry Isukapalli1-1/+1
Issue-ID: OPTFRA-22 Change-Id: I6b5e072d48d312e86cd681908e62b71059774093 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-27SO response build module updatedAnkitkumar Patel1-11/+17
SO response build module is updated based on the HAS API. Issue-ID: OPTFRA-208 Change-Id: I57ed198967d2dc9a58f1221eb57fda56fcb5fd2d Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-27Updated the conductor adaptorAnkitkumar Patel5-30/+28
Updated the conductor adaptor code. Issue-ID: OPTFRA-207 Change-Id: I41bd6f2e39bc5ca6d2d27539772175363590416f Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-27Merge "Updates to address new HPA policies"Sastry Isukapalli4-87/+76
2018-03-27Updates to address new HPA policiesAnkitkumar Patel4-87/+76
Issue-ID: OPTFRA-100 Change-Id: Iaff7b50dc5394546cc46591bef9b054cd6cde792 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-26Remove code smell from DMaaP adapterSastry Isukapalli1-24/+15
Issue-ID: OPTFRA-195 Change-Id: I67f2f5c6f9190bb91f34b371c0bc3ea1aa2367b0 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-26Updated the schematics models of the HAS APIAnkitkumar Patel1-3/+3
Updated the validation models and related testcases. Issue-ID: OPTFRA-203 Change-Id: I02219e64543eb7a9a7933322bf19f21e070496f4 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>