aboutsummaryrefslogtreecommitdiffstats
path: root/osdf/models
AgeCommit message (Collapse)AuthorFilesLines
2019-04-22Merge "Insert tosca models for policy model uploading"Vikas Varma9-0/+649
2019-04-21Insert tosca models for policy model uploadingRuoyu Ying9-0/+649
- Insert the tosca models that can be recognized by Policy Framework inside another new folder. - Add the path for models inside the osdf config in order to avoid changes in future in case there's a change of path. Change-Id: Ifff83a630bc48b7a3fff4aa17323910e6adedb0d Issue-ID: OPTFRA-415 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2019-04-18Traffic Distributtion support addedLukasz Rajewski1-1/+2
* 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>
2019-04-03Initial model changes and api changes for pci-optvrvarma2-0/+12
PCI-OPT model changes for ANR optimization PCI-OPT swagger document changes for pci/anr optimization Change-Id: I2eb9447db7b3b73bc6cfd9b3e0aba7fed0aaabd6 Signed-off-by: vrvarma <vv8305@att.com> Issue-ID: OPTFRA-416
2018-11-02Changes for PWT testing with HAS and SOChayal, Avteet (ac229e)1-1/+1
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-01Updated tosca models as per review commentsChayal, Avteet (ac229e)3-5/+5
Updated tosca models as per review comments Issue-ID: OPTFRA-384 Change-Id: I081f512fc1472836aa5599aa062db8a8b4baef14 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-11-01Fixed tosca models and updated policiesChayal, Avteet (ac229e)4-6/+6
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)5-8/+10
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-12Changed modelCustomizationName to optionalChayal, Avteet (ac229e)1-1/+1
Changed modelCustomizationName from mandatory to optional Issue-ID: OPTFRA-375 Change-Id: Id1d31acc747816efdae0cf73905cfc7af964bf5f Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-09-20Policy model for PCI optimizationChayal, Avteet (ac229e)1-0/+54
Initial version of tosca model for pciPolicy Issue-ID: OPTFRA-342 Change-Id: Iaa935ef1801768eec049f694826ee34446fe4f6f Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
2018-09-19Initial checkin for pci optimization codeVarma, Vikas2-0/+88
Change-Id: I6fe8ad471f8ad68a964664b910f02bd8a9766639 Signed-off-by: Varma, Vikas <vv8305@att.com> Issue-ID: OPTFRA-342
2018-09-13Update policy model for HPA policiesRuoyu Ying1-1/+30
Remove 'flavorLabel' attribute inside policy model. Add 'id', 'type' and 'directives' inside the structure. Also add 'directives' structure under flavorProperties Change-Id: I9c947481b2307553fadc716811d4ed9756a46182 Issue-ID: OPTFRA-340 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
2018-03-26Updated the schematics models of the HAS APIAnkitkumar Patel1-3/+3
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-26Inserted policy tosca models and examplesAnkitkumar Patel8-0/+527
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 Isukapalli2-59/+56
Issue-ID: OPTFRA-146 Change-Id: I2261ae69f52b184cd7dcb7b86d5905538666a411 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
2018-02-11Removed unused DB-adapters, test cases, 60+% coverSastry Isukapalli1-17/+8
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 Patel5-0/+1681
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>