summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib
AgeCommit message (Collapse)AuthorFilesLines
2017-11-06Add debug supportVictor Morales18-56/+27
This change allows to control the level of verbosity for the ONAP on vagrant execution. The new debug configuration value enables verbosity setting its value to *True* Change-Id: I29a3694ea3182a02cb585af5ae8ada1f8a415c8c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-323
2017-10-31Add missing vnfsdk in the Vagrant fileShashank Kumar Shankar1-9/+7
This patch adds missing VNFSDK settings in the Vagrant file and fixes a minor cloning issue in multicloud. Issue-Id: INT-290 Change-Id: I9406f252708cf708ea1e92d91d1965b889f3ded0 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com> Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-10-27Fix regex for coverage projects functionVictor Morales4-28/+31
The regular expresion that determines which repository is covered by the Unit test was wrong. This change modifies this regex to remove exact matches. Change-Id: Iffbd241c9463e57953b607d1f389d3be073d6b25 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-289
2017-10-25Add VVP support in Vagrant ONAPVictor Morales1-0/+59
This commit provides a capability to provision a VVP development environment. Change-Id: Ic8623095194ce13420c8dc71da1dd1d84ef010fc Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-303
2017-10-23Update UTs for VNFSDKVictor Morales1-8/+5
The Unit tests for VNF SDK component was skipping some compile validations. This change fixes those UT and the tox bash syntax. Change-Id: Ibaac790ac3096b44e7ba99986aee2ea526345562 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-290
2017-10-21Merge "Add VNFSDK install scripts in Vagrant ONAP"Gary Wu2-1/+70
2017-10-20Add VNFSDK install scripts in Vagrant ONAPShashank Kumar Shankar2-1/+70
This patch adds the VNFSDK installation scripts and other minor fixed in the Vagrant ONAP project. Issue-Id: INT-290 Change-Id: I6402a1ffad4e373eb701945beabd5e95f091ff5b Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-10-20Create a upstream repos validatorVictor Morales7-53/+62
This Unit Test helps to validate the usage of the official repositrories and fails in case that a minimum are not used. Change-Id: Id5a922163a8a0d16de5460aee92e5cced3f285a3 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-289
2017-10-18Fix proxy usage for docker externalVictor Morales3-10/+17
The process that retrieves Docker images hosted externally was missing a step in its configuration. This change fix the configuration and unblock the pending Unit Tests. Change-Id: I5a6b39086eb806bab5bb2667092a154e230d33ef Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-227
2017-10-12Update AAI repos listVictor Morales1-1/+4
This change includes the latest repos required for AAI module. It was also updated the Unit tests as well. Change-Id: I4b57e5a3c1116b8d8b9fa9d0e2d19c5f64645055 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-274
2017-10-05Implement skip_install case exceptionVictor Morales1-4/+8
The Skip install can be implemented differently for SDC module to allow specific scenarios where it's necessary to skip the get images process but install the services. Change-Id: I491bc6846b25030798e3613d01ec7d14dd08381d Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-236
2017-09-28Add support to configuration valuesVictor Morales14-60/+103
In order to make more flexible the execution workflow of this project, a new mechanism has been implemented to override the default configuration values. Change-Id: Ie6c5aeeb35b7f0de47379ea764ccc8dc21e4bff7 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-236
2017-09-27vagrant-onap sdc script improvementsIdan Amit1-11/+17
Fixed compile_repo mistake Added use in pull_dokcer_image is sdc script Added docker_login and docker_clean scripts to the copied scripts Change-Id: Iccd8a3084c5321754fce9cda14c3e0c4afb377c1 Issue-Id: INT-214 Signed-off-by: Idan Amit <ia096e@intl.att.com>
2017-09-25Recheck VFC UTsVictor Morales1-41/+20
It was reviewed the Unit Tests for VFC component which results in refactoring and updating some portions of the code Change-Id: I0d3f09a5a24e2e96bd733346eaf4b9cd988f98c3 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-105
2017-09-24Fix identation formatVictor Morales1-6/+6
Change-Id: Id31362326c84353b6370dd1d3b65241e9fe30dda Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-227
2017-09-22Adding support for connecting via socks proxyKiran1-0/+9
Issue-ID: INT-227 Change-Id: I90a4fd2d85591b5ab2226ab7648189328eb1336d Signed-off-by: Kiran <kiran.k.kamineni@intel.com>
2017-09-21Update SDNC UTsVictor Morales1-1/+1
This change updates the Unit tests of SDNC scripts as well as the repositories of the project. Change-Id: I83d9d92f23b35857371e533d51c44a67a260a9ad Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-24
2017-09-20Update SDC lib and test scriptsVictor Morales2-7/+7
The SDC project has updated its compilation output files, as result the Unit Test needs to be changed. Change-Id: I31c7773a2de1ac865ce8b45a5c10e5995ee960d0 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-16
2017-09-18Rename variable for portal scriptVictor Morales1-14/+12
The name of the variables of the portal script was using policy names which could result in conflicts with policy scripts. This change fixes that name convention. Change-Id: Ic3838a2e9292f23923c0b0c20dbd7726a83b3aee Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-21
2017-09-14Revert compilation and clone order for CCSDKVictor Morales1-1/+1
This functions were implemented in reverse order. This change fixes that. Change-Id: I88a8f8016d45415c6987a17a1f3989e60db18cb2 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-196
2017-09-14Merge "Rename SDNC Docker Images"Gary Wu1-0/+2
2017-09-14Rename SDNC Docker ImagesVictor Morales1-0/+2
The SDNC docker images where renamed to use ONAP repository. This change fixes that. Change-Id: I74371c9a796aa5ade68d3799b2366f60e6a10e07 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: SDNC-50
2017-09-14Update VFC docker image builds in Vagrant ONAPShashank Kumar Shankar1-21/+65
Add/update VFC docker image builds in Vagrant ONAP. Change-Id: I714c3b846576cab8af1c0632853ba7e3aca35127 Issue-Id: INT-136 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-12Add CCSDK supportVictor Morales3-8/+77
This changes add support to Common Controller SDK project, which it's extracting some code from SDNC. Change-Id: I0e7365fdc854c4c6357c5c3b4bc7608f0076d241 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-196
2017-09-06Merge "Add VFC LCM docker image build in Vagrant ONAP"Gary Wu1-3/+32
2017-09-05Add VFC LCM docker image build in Vagrant ONAPShashank Kumar Shankar1-3/+32
This patch adds support for building docker image for the VFC NFVO LCM repo. Change-Id: I5aa999a872bc727959180389ff354c029af513a0 Issue-Id: INT-136 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-05Add Robot UTsVictor Morales1-8/+41
This commit adds the required Unit Tests for covering Robot script functions and the refactoring process for adapting them. Change-Id: Id6b8be035461a37f6a399b6e04f8ce2d72d68cf4 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-19
2017-09-01Merge "Add MultCloud/MultiVIM support"Gary Wu1-0/+42
2017-08-31Add MultCloud/MultiVIM supportVictor Morales1-0/+42
These changes allows to provide MultiCloud support. Change-Id: Ic420817df1471077f71290a926fd7e509c052d75 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: MULTICLOUD-53
2017-08-31Fix SDC compile optionVictor Morales1-1/+1
The compile_all_sdc_repos function was cloning sdc repositories instead of compile it. This change fix that behavior. Change-Id: Icc9478bda6e64b2176817a22b6ba031f763459f4 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-16
2017-08-31Merge "Complete assertions of UTs for Policy"Gary Wu1-7/+7
2017-08-30Create UTs for SDCVictor Morales2-102/+35
This change create a script that contains Unit Tests that covers functionality of SDC component. Change-Id: Ie51dac0fe112319da3f9522cdb36ac7de49d523d Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-16
2017-08-30Complete assertions of UTs for PolicyVictor Morales1-7/+7
The asserts functions of the Policy Unit Tests was not checking files in specific. This change helps to check every file expected as an output. Change-Id: I0cd83ced7ddb600f203f0f97d13b7d5792797dfe Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-23
2017-08-30Merge "Replace src_folder for mr_src_folder"Gary Wu1-3/+3
2017-08-30Replace src_folder for mr_src_folderVictor Morales1-3/+3
Change-Id: Ie48521aafc503fd961e5286be8fbc425d46fdb36 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-104
2017-08-30Changed asdc script back to sdcIdan Amit1-4/+4
The I2eb9ff087d3cfd61c0c1347d085dd02da64c2d89 change allows to revert this change Change-Id: Iafb1d2455f7f1b06b218b4bc1509177823d89dc2 Issue-Id: INT-101 Signed-off-by: Idan Amit <ia096e@intl.att.com> Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-08-29Add UTs for Portal scriptShashank Kumar Shankar1-34/+62
This patch adds Unit Test for checking Portal installation. Issue-Id: INT-21 Change-Id: I8cb93db08134e9cc96400476a7d1f19d4c789e0c Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-08-29Add the option to clone the source code repoIdan Amit10-29/+50
Change-Id: Iba5f7e5a1c6586a1a8c158854f95904944ba62c0 Issue-Id: INT-101 Signed-off-by: Idan Amit <ia096e@intl.att.com> Co-Authored-By: Victor Morales <victor.morales@intel.com>
2017-08-23Create UTs for VID scriptsVictor Morales1-25/+26
This change includes the creation of Unit tests for VID module. This also refactors the source code of the provisioning script. Change-Id: I81fdd69e685a55c0b77ee02d138c7870f586f1d1 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-20
2017-08-23Merge "Use the pull_docker_image function"Gary Wu1-2/+1
2017-08-23Merge "Fix function documentation typo"Gary Wu1-1/+1
2017-08-23Use the pull_docker_image functionVictor Morales1-2/+1
The portal script was calling docker CLI to retrieve a mariadb docker image that is hosted in the public hub. This change uses the pull_docker_image functioUse the pull_docker_image function Change-Id: Ie9f40fc019bda3655075b09d46360cdade8df949 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-21
2017-08-23Fix function documentation typoVictor Morales1-1/+1
Change-Id: I24c505fe8317ccd389403effe7cdfc26596546f6 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-22
2017-08-22Documented the process to use provisining scriptsVictor Morales2-1/+2
It's possible to use these provisioning scripts to setup a development environment without installing vagrant on it. This commit specifies the steps and variables required for that process. Change-Id: Ica3e377f76b65c149d7ea7b805853b2e315e114c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-25
2017-08-22Fixed Setup Titan AAI processVictor Morales3-19/+46
The way to configure properties files was wrong causing problems during the DB creation. This change files that function as well as others related with that function. Change-Id: I5cc637e170b64e15fff5de4cb04bdcbd2506ea87 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-18
2017-08-22Merge "Add DCAE UTs"Gary Wu1-54/+56
2017-08-21Add DCAE UTsVictor Morales1-54/+56
This change adds the Unit Tests that verify the functionality of DCAE scripts and makes proper changes to refactor the lib/dcae source code. Change-Id: I0a6c000ddf1ff29bd094e8bc552e6bea5ef3e8ec Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-22
2017-08-21Merge "Refactor AAI source folder variable"Gary Wu1-12/+10
2017-08-21Refactor AAI source folder variableVictor Morales1-12/+10
Given that $src_folder variable name has conflict with other modules it was changed to something more specific Change-Id: I8106c3961cd4369b4c8e75cbe3d906c57869a50a Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-18
2017-08-21Merge "Update init_data_folders function"Gary Wu1-2/+1