summaryrefslogtreecommitdiffstats
path: root/test/policy-local-files
AgeCommit message (Collapse)AuthorFilesLines
2019-05-21Merge "Fixed TD policies"Shankaranarayanan Puzhavakath Narayanan4-9/+24
2019-05-10Update the policy scope to 'OSDF_DUBLIN'Ruoyu Ying19-19/+19
Update the policy scope for default, vfw, vcpe and td. Update the policy names for local policies Change-Id: I8e51201a88209fc612de2a58a766abdc8b70fbd6 Issue-ID: OPTFRA-498 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2019-05-09Fixed TD policiesLukasz Rajewski4-9/+24
Fixed TD policies after result of pair-wise testing Change-Id: I47eb4fb4bef4fac42989770dfab8361d33ccdc5c Issue-ID: OPTFRA-443 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2019-04-18Traffic Distributtion support addedLukasz Rajewski5-0/+132
* New local polcies for vFW TD use case * Fixed encoding for conductor_request template and parameters section modified to accept all requestParameters * Conductor request can have many attributes in the 'attributes' section - all that are defined in the vnf policy file * Conductor request can have many request parameters in the 'requestParameters' section. The parameters come from QueryPolicies. Before list of suppoted parameters was hardcoded * Optional 'unique' parameter added to the placementDemand section. It is already supported by conductor for all inventory types * Improved debug logs for local policies * Unit tests added for expanded request format Change-Id: I41f219c366a3a77881c7096e64a6272edbada23b Issue-ID: OPTFRA-443 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2018-11-02Changes for PWT testing with HAS and SOChayal, Avteet (ac229e)9-5/+371
Fixed tosca model for optimization policy Updated polices as pdp apis are case sensitive Added polices for PWT and IT for casablanca Removed extra spaces in vnf policy Issue-ID: OPTFRA-384 Change-Id: I17997e962939ff27e38b182134d7c25df77169d8 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-11-01Fixed tosca models and updated policiesChayal, Avteet (ac229e)3-190/+211
Fixed tosca models and updated policies for vFW Issue-ID: OPTFRA-384 Change-Id: If84cd3117f3c7b3d91a22e379b38c567ed3804e2 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-11-01Fixed tosca models, updated code and policiesChayal, Avteet (ac229e)18-43/+341
Fixed tosca models, updated policies and code for conductor payload changes for vFW and vCPE Change-Id: Ia98c632fc2fd564efa3b96e8a7888bc97d1c5448 Issue-ID: OPTFRA-384 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-10-01Dockerize osdf simulators for csitvrvarma1-3/+2
Dockerfile modifications Adding intellectual property headers Fixing simulators for policy, add policy name, etc. Fix the hpa policy files based on the comments Change-Id: I337e3200cc92fc1f205bb6e6151620968fc59c7e Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-286
2018-09-20Update sample response and resolve directivesRuoyu Ying2-6/+100
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-19Add Optimization policy for hpa_scoreDileep Ranganathan1-0/+6
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-05-22Updating the VNF policy translationAnkitkumar Patel2-3/+3
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 Patel11-87/+77
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-03-28Functest scripts, simulators, and payloadsSastry Isukapalli1-14/+0
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 Patel2-0/+24
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 Patel5-6/+20
Updated the conductor adaptor code. Issue-ID: OPTFRA-207 Change-Id: I41bd6f2e39bc5ca6d2d27539772175363590416f Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-27Updates to address new HPA policiesAnkitkumar Patel26-717/+149
Issue-ID: OPTFRA-100 Change-Id: Iaff7b50dc5394546cc46591bef9b054cd6cde792 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-26Inserted policy tosca models and examplesAnkitkumar Patel13-0/+578
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-17New policies and required code changesSastry Isukapalli26-333/+539
Issue-ID: OPTFRA-146 Change-Id: I2261ae69f52b184cd7dcb7b86d5905538666a411 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-02-11Re-org folders, onboard test folder, test configAnkitkumar Patel12-0/+363
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>