summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-05-19Fix the bug in translating a policyAnkitkumar Patel26-189/+182
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 Patel2-12/+12
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 Patel2-2/+2
Updating the config file as workaround Issue-ID: OPTFRA-237 Change-Id: Iacdb4e8ab0f38d0809c4881b3faca0b4f3164d0c Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-05-16Updated DockerFile to set environment variableAnkitkumar Patel1-1/+1
Updated docker file to set the environment variable Issue-ID: OPTFRA-237 Change-Id: I97275c9c7b3963b6282a8d59f4177dc8b94e53fe Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-05-09Bump oparent-python versionGary Wu1-1/+1
Bump oparent-python version to 1.1.1 to resolve a license issue in an old version of lombok. Change-Id: I09a3c0b3745ebbeeedb400638e16047971329e43 Issue-ID: INT-493 Signed-off-by: Gary Wu <gary.i.wu@huawei.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>
2018-05-07Updated docker fileAnkitkumar Patel1-1/+1
Updated docker file Issue-ID: OPTFRA-200 Change-Id: Iac689582a86a73e36048b93daf656d162aa5a3af Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-05-04EELF logging is addedAnkitkumar Patel16-9/+1613
EELF logging is added. Issue-ID: OPTFRA-227 Change-Id: I2ec7ab4c13f93736acee82a36b9420480d78b50c Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-05-01add sectionsfsandoval13-0/+487
Issue-ID: OPTFRA-41 Change-Id: Iba3f0c98b5c691ef89796991f7133c122a9bb792 Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
2018-05-01Beijing RC2 documentationfsandoval4-355/+15
Issue-ID: OPTFRA-41 Change-Id: If505dfc6c79666436d3c1aab8d163707bc1d1d9f Signed-off-by: fsandoval <frank.sandoval@oamtechnologies.com>
2018-04-28Merge "Add INFO.yaml file"Shankaranarayanan Puzhavakath Narayanan1-0/+56
2018-04-25Add INFO.yaml fileJessica Wagantall1-0/+56
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: I05502215968f1ea5ace3e9f5cb74272d93535db9 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
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>