aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib
AgeCommit message (Collapse)AuthorFilesLines
2018-03-15Deprecate vagrant-onap toolVictor Morales32-3635/+0
The vagrant-onap tool needs to be moved to its own repo to have better control of versions and autonomy. This change removes the project from integration repository. Change-Id: I90bd4505a9fc7376c31a780aa1b833ee2663af3e Signed-off-by: Victor Morales <victor.morales@intel.com> Depends-On: I79df8c35fccaa266a789217d441a6cf1183bd42a Issue-ID: INT-441
2018-03-05Move src_folderVictor Morales3-8/+31
The SDC simultator mentions[1] the usage of ChefDK as part of tools for installation/development. The installation process uses the /opt/ folder as destionation and it's affected by the sharing process. This patchset changes the destionation folder for all the ONAP projects. [1] https://git.onap.org/sdc/tree/utils/webseal-simulator/sdc-simulator/chef-solo/README.md#n4 Change-Id: Ib800c48864ce2cbe49e699a6d6e913be137af949 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-214
2018-03-02Refactor install_docker_compose functionVictor Morales6-21/+31
Usually this function is followed by a run command, this change ensure that docker-compose program is installed before its execution Change-Id: Ic68616a1db1e3c5bee516985c74f369a956d6775 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-436
2018-03-02Remove customize src_folder variablesVictor Morales13-70/+56
There were some leftovers of variables used for pointing to the project source code folder. This variables are not used anymore. Change-Id: I355930f8ce6acbc31a1adca61741d7221dee196c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-367
2018-02-12Forward port for SDC simulatorVictor Morales1-1/+5
The SDC simulator thru the port 8285, this change allows to accces it using localhost url. Change-Id: I008635047443c11e298e4d15c4d2314b514f8e2f Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: SDC-993
2018-02-05Update SDC instructionsVictor Morales3-29/+40
The variables and instructions of SDC script were out of date. This change includes the usage of "src_folders" variable besides the simplification of the process. Change-Id: I557b2a9a2a2ed567003230febfae56a043a2e9e2 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-16
2018-01-22Update AAI instructionsVictor Morales4-106/+69
The AAI instructions were using old variables resulting in some execution errors. This change removes that old variables and updates the methods required for the service. Change-Id: I14f8e598eb8a5fd915b63135c1145ea25f6bcad0 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-18
2018-01-18Add kolla internal vip to no_proxyNate Potter2-0/+18
The internal vip value is calculated at deploy time when bringing up the OpenStack VM, and isn't able to be included in the proxy values in the Vagrantfile. Because of this, we need to add it to no_proxy after it's calculated so that users and other services can access it in a proxy environment. Signed-off-by: Nathaniel Potter <nathaniel.potter@intel.com> Issue-ID: INT-383 Change-Id: Ifed792a4f7e6f4f5a227848486e8165be4a30fc7
2018-01-10Enable ODLVictor Morales6-36/+862
This patch enable the alternative to provision OpenDaylight as a SDN Controller for OpenStack using Kolla as an installer. Change-Id: I4837cc7600cad07600dd5202aa9695ca8b2a8c70 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-329
2018-01-04Fix multicloud build image processVictor Morales1-9/+16
The multicloud script was using old variables and scripts which haven't merged yet. So this commit commented out those invalid instructions and rename old variables. Change-Id: I5566b2fb773f7d7c92493162b0d9e10945382280 Signed-off-by: Victor Morales <victor.morales@intel.com>o Issue-ID: MULTICLOUD-53
2017-12-23Add OOM provisioning scriptVictor Morales6-28/+298
The instructions to provision a ONAP Operations Manager environment was included into the vagrant-onap tool. This script requires a specific docker version besides some tasks that wait for certain services. Change-Id: I39f0b7947e7c87d8aa44ffa93cdb414d700379bd Signed-off-by: Victor Morales <victor.morales@intel.com> Co-Authored-By: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com> Issue-ID: INT-370
2017-12-08Centralize src_folder and repos infoVictor Morales19-100/+92
The configuration values that determines where the source code will be cloned and the list of repos associated to specific project have been included in a new global configuration file, which pretends to facilitate their changes. Change-Id: I700bfe02e6b2f8bf8eef763e44b5e037357ec892 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-367
2017-12-07Fix Robot UTsVictor Morales2-10/+11
The way to clone robot source code repos was depending on the name of the project, but given that robot repos name has different name it was required to handle this exception. This change include Change-Id: If0f4b1cd7866944166b1e81ed417176049251370 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-19
2017-12-01Add MSB supportVictor Morales7-59/+109
The Microservices Bus project has been supported by this change Change-Id: Id86a0a300b2622ee4b0d362c798c9656cb41fa33 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-358
2017-11-20Refactor clone and compile functionsVictor Morales17-242/+74
The clone_all_* and compile_all_* functions share same instructions for performing their functionality. This change pretends to reduce the duplication of the code. Change-Id: Ief63a5a58c79af85c829602b0451637424659438 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-339
2017-11-16Implement steps for Multicloud ImagesVictor Morales2-3/+28
It was implemented the steps required for retrieving or building docker images as well as their execution. Change-Id: I20f79c5375377a9406f92f9e3e32a2cbec23a4f9 Signed-off-by: Victor Morales <victor.morales@intel.com> Depends-On: Idc876574ceee39b7cf389978d6a33eb7c66291a6 Issue-Id: MULTICLOUD-53
2017-11-08Add OpenStack supportVictor Morales3-6/+67
This change allows the provisioning of an All-in-One OpenStack deployment through ansible-kolla project. Given that it uses System D this adds an exception to use Ubuntu Xenial release. Change-Id: I57973a1b5cc331654fbabf7932ddcfef817afedf Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-329
2017-11-07Integrate install_dev_tools into install_dockerVictor Morales1-6/+1
The packages installed by the install_dev_tools are only required by the docker installation, therefore is not necessary to install them in other cases. According to the Docker official documentation the linux-image-extra-* packages are required. Change-Id: I96c5f556c9e5a74d52e012d7896786061299036e Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-328
2017-11-07Enable multidistro supportVictor Morales2-24/+110
This initial change allows the execution of scripts in multiple linux distributions. Change-Id: I2fe7afe2c4cae7923fedfa9756f6d59a2b85090d Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-327
2017-11-06Reduce the number of update_repo callsVictor Morales2-1/+3
The update_repo function allows to fetch repository metadata. This function can take some time during the initial provisioning time. This change reduce the number of calls to that function. Change-Id: I2a0b0f13f7a3e6b37f0c0316ae9730a3ed840238 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-324
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