aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/functions
AgeCommit message (Collapse)AuthorFilesLines
2017-11-08Add OpenStack supportVictor Morales1-5/+13
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 Morales1-10/+37
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 Morales1-0/+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 Morales1-7/+14
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-18Fix proxy usage for docker externalVictor Morales1-6/+14
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-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-08-22Fixed Setup Titan AAI processVictor Morales1-9/+9
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-17Merge "Implement test_install_policy UT"Gary Wu1-7/+4
2017-08-16Add further configuration for the docker engineIdan Amit1-3/+6
In order to allow local deployment of dockers and permissions for user vagrant to run docker commands Change-Id: I64d73f419efb897facd0af1b2ade9d44a165c106 Issue-Id: INT-101 Signed-off-by: Idan Amit <ia096e@intl.att.com>
2017-08-16Implement test_install_policy UTVictor Morales1-7/+4
It was missed the Unit test that verifies the installation of policy services. This commit creates that method and also refactors some policy code Change-Id: I58f3f416efc096fc6199fd831bb63293b95157d2 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-23
2017-08-10Externalize IP_ADDRESS variableVictor Morales1-0/+1
Several places were using this variable, therefore it was placed in a common place. Change-Id: I481a62482cd2bb55b4a76623309d0977ddb67fe7 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-08-08Add validation in install_java functionVictor Morales1-3/+4
The install_java function didn't have a validation that checks if the java package was already installed. This change adds the verification as part of the installation process. Change-Id: I1aafb60a3f2f8137c810da3afcac7b0d6f86ed63 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-08-06Add AAI Unit TestsVictor Morales1-1/+3
This change includes the addition of Unit Tests for A&AI component and the required refactor process in their functions Change-Id: Ib3b1109e7e80d5ef51e682445b7ecbf600bf3e62 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-07-31Update AAI setupVictor Morales1-2/+2
This change includes instructions to setup a development environment for a AAI project provided in the wiki entry: * https://wiki.onap.org/pages/viewpage.action?pageId=10782088 Change-Id: I1e60d6cc1d2fd12c56990aded6f385f11dca5b9c Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-07-31Refactor install_python functionVictor Morales1-3/+17
It was extract the installation of pip packages from the install_python function, this change allows to install python packages isolated. This also includes the manual configuration of java certificates required for maven execution. Change-Id: Iac60d7521101d5c4997f95c16f4decd857cc5c3c Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-07-26Sync latest changes for vagrant-onapVictor Morales1-88/+116
Given some internal procedures was not possible to submit all the changes. In the meantime, those changes were placed into an non-official project. This change syncronizes the latest changes into the official repository. Issue-id: INT-17 Change-Id: Ia4125f4b70273401e4ed3cc1908d2e2ad7d1c2e9 Signed-off-by: Victor Morales <victor.morales@intel.com>
2017-06-20Add vagrant-onap projectVictor Morales1-0/+204
This commit contains the current state of the files and folders imported from github repository[1]. Fixes and features are expected to be implemented in this project. [1] https://github.com/electrocucaracha/vagrant-onap Change-Id: Ib1e8d264e9566c5e44454f5475b5da4638879cb7 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-id: CIMAN-28