summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-28Functest scripts, simulators, and payloadsSastry Isukapalli39-75/+1176
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 Patel13-29/+90
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 Isukapalli6-30/+125
Issue-ID: OPTFRA-22 Change-Id: I6b5e072d48d312e86cd681908e62b71059774093 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-27SO response build module updatedAnkitkumar Patel3-11/+120
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 Patel12-38/+50
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 Isukapalli39-857/+262
2018-03-27Updates to address new HPA policiesAnkitkumar Patel39-857/+262
Issue-ID: OPTFRA-100 Change-Id: Iaff7b50dc5394546cc46591bef9b054cd6cde792 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-26Remove code smell from DMaaP adapterSastry Isukapalli2-29/+19
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 Patel2-4/+5
Updated the validation models and related testcases. Issue-ID: OPTFRA-203 Change-Id: I02219e64543eb7a9a7933322bf19f21e070496f4 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-26Merge "Inserted policy tosca models and examples"Sastry Isukapalli21-0/+1105
2018-03-26Inserted policy tosca models and examplesAnkitkumar Patel21-0/+1105
Uploaded the policy tosca models and policy examples for HAS. Issue-ID: OPTFRA-27 Change-Id: I96ae70c5fe34ce7f40f461801e149d81afa52ea3 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 Patel14-352/+899
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-24fixing docker image tagramkri1231-1/+1
Issue-ID: OPTFRA-22 Change-Id: Iacd81643a3a317171aaa3af8e78b2c6a33c52348 Signed-off-by: ramkri123 <ramkri123@gmail.com>
2018-03-24fixing name of staging imageramkri1231-1/+1
Issue-ID: OPTFRA-22 Change-Id: Iea233cbebc5b277ee23e7e52edce3778a23308a0 Signed-off-by: ramkri123 <ramkri123@gmail.com>
2018-03-24Fix bug in docker build scriptSastry Isukapalli1-1/+1
Fixed a spurios typo in date command Issue-ID: OPTFRA-22 Change-Id: I4a9b02f52d07bba2091b95ab201c9fc0b252f971 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-22Merge "Fix "brain-overload" functions flagged by SONAR"Shankaranarayanan Puzhavakath Narayanan4-64/+76
2018-03-22Add docker components for CSITSastry Isukapalli4-2/+131
Added license to Dockerfile Added 8699 internal port and 8698 external port Issue-ID: OPTFRA-22 Change-Id: I232acc6cd417efda164ae825362dcc6d0be28a12 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-22Fix "brain-overload" functions flagged by SONARSastry Isukapalli4-64/+76
Refactored two brain-overload functions Moved a policy util function from conductor/api_builder.py to policy/utils.py Issue-ID: OPTFRA-195 Change-Id: I879e7f4f5d92cc530c66d3ed071bf5246397ba13 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-17New policies and required code changesSastry Isukapalli56-836/+1256
Issue-ID: OPTFRA-146 Change-Id: I2261ae69f52b184cd7dcb7b86d5905538666a411 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-15Merge "Update oparent-python version for optf/osdf"Sastry Isukapalli1-1/+1
2018-03-14Update oparent-python version for optf/osdfDileep Ranganathan1-1/+1
Change-Id: I8b63a0e2ea35fbaa28674e4edf7da54ddd6ce054 Issue-ID: OPTFRA-184 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-03-12Example Minizinc Placement Models for 5Gramkri1238-0/+771
Issue-ID: OPTFRA-173 Change-Id: I245e64764d8dd6e9e254a79a97a7d49e228b125a Signed-off-by: ramkri123 <ramkri123@gmail.com>
2018-03-10Dockerfile for OSDF Minizinc Placement Examplesramkri1231-0/+34
Issue-ID: OPTFRA-153 Change-Id: Ieba7c834e1fa028a00f64bdbf1994fd6703a8fa0 Signed-off-by: ramkri123 <ramkri123@gmail.com>
2018-03-07getOptions renamed in osdfapp.py and testsSastry Isukapalli2-5/+5
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 Isukapalli2-7/+6
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-03-08Exclude Tests from Sonar coverage reportDileep Ranganathan1-7/+9
Change-Id: I60bf015cdc4a3a7fad8babf146dd9e78470645d1 Issue-ID: OPTFRA-102 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-03-07Adding SONAR coverage report supportSastry Isukapalli3-4/+41
Issue-ID: OPTFRA-102 Change-Id: I67552599ff49dff29f99578b83592dd8d2ced193 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-02-27Minizinc Placement Model Ex. for vDNS+vFW use caseramkri12311-0/+860
Issue-ID: OPTFRA-153 Change-Id: I228e638e4c5bfb2cabd970c571077f3ebaf01ece Signed-off-by: ramkri123 <ramkri123@gmail.com>
2018-02-26update OOF_HAS_R2_Interface.rstmaopengzhang1-316/+317
update OOF_HAS_R2_Interface.rst according to the comments Change-Id: I85ef6b26fabe5ce0a19a119c3f126fc0fc39c5c8 Issue-ID: OPTFRA-146 Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
2018-02-19Adding/updating copyrights plus some unittestsSastry Isukapalli26-37/+628
Issue-ID: OPTFRA-96 Change-Id: Ica36e3cd90a87f97b6749500c00d7097c37abe39 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-02-18Minizinc data model for Silver CustomerRamki Krishnan1-0/+16
Issue-ID: OPTFRA-128 Change-Id: Ied194c53352a9ba61ae29c5aecda80f4ebcbcf3d Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
2018-02-18Minizinc data model - no edge DC hard constraintRamki Krishnan1-0/+16
Issue-ID: OPTFRA-127 Change-Id: Ic781135f1697623f245d98a32571a2f1e03d2438 Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
2018-02-18Minizinc data file for gold customerRamki Krishnan1-0/+16
Issue-ID: OPTFRA-126 Change-Id: I70ce27e11747d780ad4e851d685bdf0bdcf77bf8 Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
2018-02-18Minizinc model-driven example for vDNS placementRamki Krishnan1-0/+40
Issue-ID: OPTFRA-110 Change-Id: I3944c82e387cda15a427005f5eb6527346fc37d5 Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
2018-02-17Moved presentations to presentations folderRamki Krishnan1-0/+0
Issue-ID: OPTFRA-125 Change-Id: I14c94a26a64cd735501ee3667f7142c53e8982a4 Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
2018-02-17Preso on model-driven approach for vDNS placementRamki Krishnan1-0/+0
Issue-ID: OPTFRA-125 Change-Id: Iaa0ecb306c4a098369cb2cfecece0e2301b837de Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
2018-02-14Added the OOF-HAS API documentAnkitkumar Patel3-0/+359
Created the docs folder and added the OOF-HAS API document. Issue-ID: OPTFRA-62 Change-Id: Ic0eda71086f14ceed75cbbe48544b91b9df4c89c Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-02-13Merge "Commit .gitreview"Sastry Isukapalli1-0/+4
2018-02-12Commit .gitreviewDileep Ranganathan1-0/+4
Add .gitreview file to osdf Change-Id: Ia38c6af1483e751d5a6eb61bb325efab546fd7c0 Issue-ID: OPTFRA-9 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-02-12Restoring .gitignore after a mistake at mergeSastry Isukapalli1-0/+110
Issue-ID: OPTFRA-98 Change-Id: Idb8b53b30fa907ca1524558c512df0c6f54a9d81 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-02-12Added root pom.xml files for OSDFDileep Ranganathan3-110/+109
Added pom.xml, assembly.xml Modified .gitignore Change-Id: I8b8bd6c180d1738567be6e6fa4c94c57e15f5b77 Issue-ID: OPTFRA-72 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-02-11Removed unused DB-adapters, test cases, 60+% coverSastry Isukapalli15-222/+184
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-02-11Re-org folders, onboard test folder, test configAnkitkumar Patel95-10/+2420
Reorganized the folder structure. Onboarded testcases. Added test config. Issue-ID: OPTFRA-74 Change-Id: I97882a162a405a18ffd287495039e15ae9d0ad7b Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-01-12Merge "Push policy adapter code (adapted from ECOMP)"Shankaranarayanan Puzhavakath Narayanan5-0/+1707
2018-01-12Merge "Push license selection seed code"Shankaranarayanan Puzhavakath Narayanan5-0/+177
2018-01-12Merge "OOF design framework seed code"Shankaranarayanan Puzhavakath Narayanan18-0/+949
2018-01-12Merge "Seed code for OSDF placement adapter"Shankaranarayanan Puzhavakath Narayanan9-0/+836
2018-01-11Seed code for other adaptersSastry Isukapalli13-0/+336
Issue-ID: OPTFRA-47 Change-Id: I33595df23f077b2a9366c45b69afecdf80beaaf8 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>