summaryrefslogtreecommitdiffstats
path: root/osdfapp.py
AgeCommit message (Collapse)AuthorFilesLines
2020-08-14Inter Domain Route Calculation forMehreen Kaleem1-0/+11
the MDONS use case Change-Id: Ic831fd92028ef3c1ac86f5067d68c19a7af3e8d6 Issue-ID: OPTFRA-753 Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com>
2020-04-21Route optimization -take 2Sithara Nambiar1-1/+1
Issue-ID: OPTFRA-420 Signed-off-by: Sithara Nambiar <sitharav.aredath@huawei.com> Change-Id: I06624f5adee060ce220a82f2a05a17c0986ca904
2020-03-23Add functionality to support NSI selectionkrishnaa961-0/+12
Issue-ID: OPTFRA-677 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Ibc51e15fce4692a445df400053060d3a6977b4ce
2020-03-20fix csit, cleanup dockerfile for osdfvrvarma1-5/+1
Change-Id: Ie3d44592a382ba8e886c2a7544520cbed6971f84 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-722
2020-03-16Merge "take-1 for the NST selection function"Vikas Varma1-0/+9
2020-03-05changes in OSDF and optimizer for CCVPN get link requirement.Isaac Manuel Raj1-2/+15
Changed the model file location as suggested in comments. Issue-ID: OPTFRA-420 Signed-off-by: Isaac Manuel Raj <isaac.manuelraj@huawei.com> Change-Id: I1f4b9a01865a91da1518a250ded48f1b077bed4e
2020-03-05take-1 for the NST selection functionseshukm1-0/+9
Issue-ID: OPTFRA-675 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: Id48f33344c516f2711e24bce9f07adbd835eded0
2019-12-13osdf rearchitecture into apps and libsvrvarma1-138/+9
Change-Id: I2db2f8e252bd5e60807b2ffabf5a5b193a789f7a Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-637
2019-11-06Add onap log spec 1.2 for osdfvrvarma1-0/+19
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-04-10Implement osdf code to enable sslvrvarma1-1/+15
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 "Automate the process of policy model uploading"Vikas Varma1-0/+4
2019-04-05Automate the process of policy model uploadingRuoyu Ying1-0/+4
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-optvrvarma1-18/+16
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
2018-10-19Enable SMS in OSDFDileep Ranganathan1-2/+3
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-08Retrieve secrets using Secret Management ServiceDileep Ranganathan1-0/+2
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-26Merge "Disabling policy retrieval for pci opt"Dileep Ranganathan1-2/+4
2018-09-25Fix get route operationsubhash kumar singh1-30/+4
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, Vikas1-2/+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-1/+13
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/+19
Change-Id: I1ed1c2d6d73161eae86aefd22ea3819fa80b8b40 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-342
2018-09-03Fix return message formatseshukm1-5/+28
Change-Id: Ia52cf0675449fdabdaba33928daa0cbcd99df781 Issue-ID: OPTFRA-334 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-08-22call of the route app optmizer from osdfapp.pyseshukm1-1/+4
Issue-ID: OPTFRA-310 Change-Id: I2b8512d89a1ea78f829d934f83931adf287e7fa9 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-08-09Add the /route rest api in the osdfseshukm1-0/+10
placeholder for the /route as a start piont Issue-ID: OPTFRA-310 Change-Id: I3e9befda318a2c69426c50084cc8fb111480d653 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-05-04EELF logging is addedAnkitkumar Patel1-0/+1
EELF logging is added. Issue-ID: OPTFRA-227 Change-Id: I2ec7ab4c13f93736acee82a36b9420480d78b50c Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-04-05Fix for placement call check and sync responseChayal, Avteet (ac229e) ac229e@att.com1-5/+4
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-03-28Update the SO sync and async responses.Ankitkumar Patel1-2/+4
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-27Updated the conductor adaptorAnkitkumar Patel1-1/+1
Updated the conductor adaptor code. Issue-ID: OPTFRA-207 Change-Id: I41bd6f2e39bc5ca6d2d27539772175363590416f Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-26Adding the missing healthcheckDileep Ranganathan1-0/+6
Adding the missing healthcheck from previous commit. Change-Id: I443dff8a22ea641bcbdfc4e8aa73ba5557d3259f Issue-ID: OPTFRA-22 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-03-25Update the policy adaptor and related testcasesAnkitkumar Patel1-15/+2
Generalized the policy adaptor code by removing homing specific logic. Issue-ID: OPTFRA-27 Change-Id: I331030a2f3f5c0c17af1a72af9794131555a9217 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-25added healthcheckramkri1231-0/+6
Issue-ID: OPTFRA-22 Change-Id: I783a597b81abd0027819fff0c103250e1e003c10 Signed-off-by: ramkri123 <ramkri123@gmail.com>
2018-03-17New policies and required code changesSastry Isukapalli1-19/+25
Issue-ID: OPTFRA-146 Change-Id: I2261ae69f52b184cd7dcb7b86d5905538666a411 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-07getOptions renamed in osdfapp.py and testsSastry Isukapalli1-3/+3
Issue-ID: OPTFRA-102 Change-Id: Idf0a61ff837ecd26577febaca5f0538971759792 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-07Clean up code smells, added osdfapp.pySastry Isukapalli1-6/+5
Added osdfapp.py in inclusions. TODO: clean up this structure. Notes: 1) Do not use java-like naming (use get_options instead of getOptions). 2) Do not have commented out code in imports (it got flagged as red) Issue-ID: OPTFRA-102 Change-Id: Ie889b581dc8bf6683ff9bf60a6e14f254a26ef12 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-02-11Removed unused DB-adapters, test cases, 60+% coverSastry Isukapalli1-7/+4
We are not using OracleDB, PostgresDB, and VerticaDB, so there is no need to keep the "dead code" -- we can always add it back as needed. Added test cases so that all the files are at least minimally covered. Overall coverage on my local tox shows 66% coverage (I manually ensured all files are included in the coverage report). Issue-ID: OPTFRA-95 Change-Id: If1cab112236b4f32a96315308ce815088fa092d1 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-01-11OOF design framework seed codeSastry Isukapalli1-0/+168
Issue-ID: OPTFRA-18 Change-Id: Ib44b06f7184cb49f90d5936edd82cba44068b1c8 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>