diff options
author | Victor Morales <victor.morales@intel.com> | 2018-03-13 12:36:55 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-03-15 16:58:22 +0000 |
commit | df17a7ff9ba569227e8a2b5b1863800bbb8e1806 (patch) | |
tree | 749011aaf1b514e17c31edd9c12252a95f0aec18 /bootstrap/vagrant-onap/lib/multicloud | |
parent | 1393fc2533cae1271126498f1661dec893922dae (diff) |
Deprecate vagrant-onap tool
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
Diffstat (limited to 'bootstrap/vagrant-onap/lib/multicloud')
-rwxr-xr-x | bootstrap/vagrant-onap/lib/multicloud | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/bootstrap/vagrant-onap/lib/multicloud b/bootstrap/vagrant-onap/lib/multicloud deleted file mode 100755 index ff6f9708c..000000000 --- a/bootstrap/vagrant-onap/lib/multicloud +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash - -source /var/onap/functions - -openstack_release="newton" - -# _build_multicloud_images() - Function that builds docker images from source code -function _build_multicloud_images { - install_docker - pushd ${src_folders[multicloud]}/openstack/$openstack_release - install_python_requirements . - python setup.py develop - #bash build_image.sh - popd -} - -# get_multicloud_images() - -function get_multicloud_images { - if [[ "$build_image" == "True" ]]; then - _build_multicloud_images - else - pull_onap_image multicloud/openstack-$openstack_release - fi -} - -# install_multicloud() - -function install_multicloud { - #run_docker_compose ${src_folders[multicloud]}/openstack/$openstack_release - if [[ "$build_image" == "True" ]]; then - multicloud-api --port 9003 --host 0.0.0.0 & - else - docker_id=`docker images | grep onap/multicloud/openstack-$openstack_release | grep latest | awk '{print $3; exit}'` - docker run -d -p 0.0.0.0:9003:9003 $docker_id - fi -} - -# init_multicloud() - Function that initialize Multi Cloud services -function init_multicloud { - if [[ "$clone_repo" == "True" ]]; then - clone_repos "multicloud" - if [[ "$compile_repo" == "True" ]]; then - compile_repos "multicloud" - fi - fi - if [[ "$skip_get_images" == "False" ]]; then - get_multicloud_images - if [[ "$skip_install" == "False" ]]; then - install_multicloud - fi - fi -} |