3 source /var/onap/functions
5 openstack_release="newton"
7 # _build_images() - Function that builds docker images from source code
8 function _build_images {
10 install_python_requirements $multicloud_src_folder/openstack/$openstack_release
11 pushd $multicloud_src_folder/openstack/$openstack_release
16 # get_multicloud_images() -
17 function get_multicloud_images {
18 if [[ "$build_image" == "True" ]]; then
21 pull_onap_image multicloud/openstack-$openstack_release
25 # install_multicloud() -
26 function install_multicloud {
27 pushd $multicloud_src_folder/openstack/$openstack_release
28 /opt/docker/docker-compose up -d
32 # init_multicloud() - Function that initialize Multi Cloud services
33 function init_multicloud {
34 if [[ "$clone_repo" == "True" ]]; then
35 clone_repos "multicloud"
36 if [[ "$compile_repo" == "True" ]]; then
37 compile_repos "multicloud"
40 if [[ "$skip_get_images" == "False" ]]; then
42 if [[ "$skip_install" == "False" ]]; then