summaryrefslogtreecommitdiffstats
path: root/test/placement-tests
AgeCommit message (Collapse)AuthorFilesLines
2020-03-20Improvements to the OSDF changes for new PEF APIsChayal, Avteet (ac229e)3-0/+364
Improvements to the OSDF changes for new PEF APIs Issue-ID: OPTFRA-723 Change-Id: Ie425bb302361489f4b5a47fbc7225fdc8060e9c3 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2020-03-19OSDF migration to new Policy APIChayal, Avteet (ac229e)1-1/+1
Map policy type with constraints type for HAS payload Added new attribute policies for Network Sliciing reference Fixed the logic to proccess Attribute policy translation Issue-ID: OPTFRA-721 Change-Id: I6b01815963b48b3df97c1a3109cc39b2a8bc2c3c Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2020-03-10[WIP]Migration to new policy apiRuoyu Ying5-363/+1431
*Change retrieval payload send to policy *Change the configs inside common_config Issue-ID: OPTFRA-520 Change-Id: I27a63294cdec3def7d415ed2dcb96e3606d9e21f Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2020-01-24Add passthrough attributesvrvarma1-87/+108
Added passthrough attributes in placement request. Current attributes HAS request section changed to filtering_attributes and new passthrough attributes added in HAS request - this one is read from vnf policy passthroughAttributes section. Change-Id: Ic1e9dcafb0aa0ce5c1b4ddcf35d034d457ac7d48 Signed-off-by: vrvarma <vv8305@att.com> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Issue-ID: OPTFRA-611
2019-10-21Unique field moved to vnf policyLukasz Rajewski2-2/+1
Unique req field was moved from OSDF request to VNF policy -> content -> vnfProperties Change-Id: I96b8a2bb881370cdb8d86b52ad4798e24e98425d Issue-ID: OPTFRA-482 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2019-07-29List of canidate identifiers supportLukasz Rajewski1-1/+1
List of candidate identifers in required and excluded candidates list now is supported only as a list Issue-ID: OPTFRA-486 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I2fdc11bc23239eeb1500c95925f8779da89dfcaf
2019-05-21Merge "Fixed TD policies"Shankaranarayanan Puzhavakath Narayanan1-2/+6
2019-05-13Fix to send num_solution as string to HASX1.3.0Chayal, Avteet (ac229e)1-1/+1
Fix to send num_solution as string to HAS Issue-ID: OPTFRA-497 Change-Id: I5fe509330ccb9e1c97b92ae44cec919ada0f8594 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2019-05-09Fixed TD policiesLukasz Rajewski1-2/+6
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-05-07Fix OSDF input to HAS to use num_solutionChayal, Avteet (ac229e)1-2/+2
Fix OSDF input to HAS to use num_solution Issue-ID: OPTFRA-497 Change-Id: I339a9e09aac766ce918ce6fa6d4dffc9d7ae741b Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2019-04-23Fix for required/excluded candidatesLukasz Rajewski1-1/+1
The fix changes how required and excluded candiates list is generated for HAS request by OSDF. After the change it is now alligned with request format of HAS. Change-Id: I6c4a88c3672971e53b996d416caeda63771e08c1 Issue-ID: OPTFRA-483 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2019-04-18Traffic Distributtion support addedLukasz Rajewski3-0/+375
* 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-09-20Update sample response and resolve directivesRuoyu Ying2-31/+157
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-07-17[OPTFRA-304] code cleaningPatel, Ankitkumar1-7/+7
OSDF code cleaning Issue-ID: OPTFRA-304 Change-Id: Idc538318d28710f68efc5f169e3644840e7ea86f Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
2018-05-29Fixed case sensitive resource matchingPatel, Ankitkumar1-11/+11
Fixed the case sensitive matching for resources between policy and request. Issue-ID: OPTFRA-247 Change-Id: Ic031f6c950b6c6b44bd2e4231a9ef672beea994b Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
2018-04-05Fix for placement call check and sync responseChayal, Avteet (ac229e) ac229e@att.com1-0/+82
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-01Updated the policy adaptor for scope filteringAnkitkumar Patel4-21/+203
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-27SO response build module updatedAnkitkumar Patel1-0/+64
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-27Updates to address new HPA policiesAnkitkumar Patel1-3/+3
Issue-ID: OPTFRA-100 Change-Id: Iaff7b50dc5394546cc46591bef9b054cd6cde792 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
2018-03-26Updated the schematics models of the HAS APIAnkitkumar Patel1-1/+2
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-25Update the policy adaptor and related testcasesAnkitkumar Patel8-175/+746
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-17New policies and required code changesSastry Isukapalli2-86/+149
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 Patel11-0/+888
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>