summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-04-24Updated the configurationAnkitkumar Patel2-24/+32
Updated the configurations of policy, so, and conductor. Issue-ID: OPTFRA-222 Change-Id: I8500cd333d3bd24ebc8fc59db1c74a5b58b76854 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-04-23Merge "[OPTFRA-217] Fix identifier value in placementSol"Shankaranarayanan Puzhavakath Narayanan1-1/+1
2018-04-22Fixing the docker file to set default python execVarma, Vikas (vv8305)1-0/+2
Change-Id: I3bd6f16b85ada4111585818a3009de75f7294665 Issue-ID: OPTFRA-221 Signed-off-by: Varma, Vikas (vv8305) <vv8305@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.com4-7/+103
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 Patel6-55/+243
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-29Bring osdfapp into foregroundSastry Isukapalli1-1/+1
Issue-ID: OPTFRA-22 Change-Id: I0fb409460bd9a0e7a4485298865a29279b376e68 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-03-28Added optimization query processing module.Ankitkumar Patel4-3/+65
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 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>