summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap
AgeCommit message (Collapse)AuthorFilesLines
2018-03-15Deprecate vagrant-onap toolVictor Morales77-7351/+2
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 Morales5-14/+41
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-02Merge "Remove customize src_folder variables"Gary Wu13-70/+56
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-28Update default vagrant provider.Manjeet Singh Bhatia1-0/+2
Default vagrant provider was showing error for ubuntu/trusty64 or ubuntu/xenial64 not found. This patch updates the default to https://vagrantcloud.com which have recently been changed. Change-Id: I069eae9370ecdf1483098528cee57d9b3e81a41b Signed-off-by: Manjeet Singh Bhatia<manjeet.s.bhatia@intel.com> Issue-ID: INT-434
2018-02-26Update sdc test and vagrant confJimmy Forsyth1-1/+1
Change-Id: I632b6b8c8c32fe5fd3cab0e7bf6aaf5cb2026cd0 Issue-ID: SDC-821 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-02-17Improve setup_libvirt.sh scriptVictor Morales2-21/+133
The scope of the setup_libvirt.sh script was limited to cover only the installation of libvirt dependencies, this change pretends to cover the installation of vagrant and virtualbox and/or libvirt for different distros. Change-Id: I1ffd4478046cb64ad164f88d9bab078f246f0677 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-370
2018-02-12Forward port for SDC simulatorVictor Morales2-2/+9
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-08Trivial documentation fix.Manjeet Singh Bhatia2-4/+3
Signed-off-by: Manjeet Singh Bhatia<manjeet.s.bhatia@intel.com> Issue-ID: INT-416 Change-Id: Idd88e2c4fed40cd082d467e9e96570334c09f491
2018-02-05Update SDC instructionsVictor Morales4-34/+46
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 Morales6-125/+76
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 Potter4-1/+37
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 Morales2-11/+23
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 Morales13-57/+393
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 Morales37-407/+393
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 Morales5-25/+26
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 Morales14-67/+192
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-12-01Fix vagrant-libvirtd network adapter infoVictor Morales2-18/+30
This patch removes the network adapter info for libvirt vagrant provider, which was causing conflicts provisioning environments with this provider. Change-Id: Ib84a66227a96e4adbcf5febbe81ec5c15b83636b Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-357
2017-11-20Refactor clone and compile functionsVictor Morales35-425/+265
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 Morales4-3/+45
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-15Add Windows Networking known issueVictor Morales1-0/+13
Apparently there are some issues in the way that VirtualBox is installed in a Windows Host machine. This commit provides a workaround for that. Change-Id: Ia1142d2980ec9189e2a4ff982fa51e336fa6061b Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-98
2017-11-08Add OpenStack supportVictor Morales8-10/+94
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 Morales4-27/+12
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 Morales4-1/+6
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 Morales22-59/+35
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-11-03Fix configuration sample valuesVictor Morales2-2/+2
Change-Id: Ia64f6a98d0007fb4a08497f1055a53d39089359c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-236
2017-10-31Add missing vnfsdk in the Vagrant fileShashank Kumar Shankar3-11/+24
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-31Fix VVP info from README.md fileVictor Morales1-1/+1
Change-Id: Icbb45bd6ec6160c1721fc8691581e9f60cb6d01c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-303
2017-10-27Fix regex for coverage projects functionVictor Morales7-46/+41
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 Morales6-5/+130
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 Morales4-20/+27
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 Wu6-5/+136
2017-10-20Add VNFSDK install scripts in Vagrant ONAPShashank Kumar Shankar6-5/+136
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 Morales13-58/+310
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 Morales8-32/+36
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 Morales2-8/+15
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-10-02Add docs for Vagrant ONAP example usagesShashank Kumar Shankar2-0/+139
This patch adds documentation on example usages of Vagrant ONAP. Change-Id: I434d3b9f43d83d845c11627c10b00362ec4b1ea7 Issue-Id: INT-238 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
2017-09-28Add support to configuration valuesVictor Morales24-87/+252
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-28Replace Networking settingsAreli Fuss1-5/+12
Replace the networking seettings to support ports access without port forwarding Change-Id: I3781aa65dc5604192ceecc3a7bb83b7b9e6b43c4 Issue-Id: INT-214 Signed-off-by: Areli Fuss <af732p@att.com>
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-26Remove nonexisting VFC UTsVictor Morales1-4/+1
There are some Unit Tests that haven't been defined for VFC component. This change removes them from the list. Change-Id: I21f5370bd677640eda08eceae88bea859389dd98 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-105
2017-09-25Recheck VFC UTsVictor Morales2-58/+49
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 Morales2-31/+22
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 Morales4-53/+46
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