'build_image' => 'True',
'pull_docker_image' => 'True',
'odl_version' => '0.5.3-Boron-SR3',
+ 'clone_repo' => 'True',
'compile_repo' => 'False',
'enable_oparent' => 'True'
}
install_hadoop
install_haproxy
- clone_all_aai_repos
- compile_aai_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_aai_repos
+ if [[ "$compile_repo" == "True" ]]; then
+ compile_aai_repos
+ fi
+ fi
setup_titan
#start_aai_microservices
# init_appc() - Function that initialize APPC services
function init_appc {
- clone_all_appc_repos
- if [[ "$compile_repo" == "True" ]]; then
- compile_all_appc_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_appc_repos
+ if [[ "$compile_repo" == "True" ]]; then
+ compile_all_appc_repos
+ fi
fi
get_appc_images
local RELEASE=$docker_version
NEXUS_DOCKER_PORT=$(echo $nexus_docker_repo | cut -d':' -f2)
- clone_all_sdc_repos
- if [[ "$compile_repo" == "True" ]]; then
- compile_all_sdc_repos
- fi
-
if [[ "$build_image" == "True" ]]; then
compile_src $src_folder
build_docker_image $src_folder/sdc-os-chef docker
mount_external_partition
init_data_folders
setup_docker_aliases
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_sdc_repos
+ if [[ "$compile_repo" == "True" ]]; then
+ compile_all_sdc_repos
+ fi
+ fi
install_sdc
}
# init_dcae() - Function that initialize DCAE Controller services
function init_dcae {
- clone_all_dcae_repos
- if [[ "$compile_repo" == "True" ]]; then
- compile_all_dcae_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_dcae_repos
+ if [[ "$compile_repo" == "True" ]]; then
+ compile_all_dcae_repos
+ fi
fi
_create_config_file
# init_mr() - Function that initialize Message Router services
function init_mr {
- clone_mr_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_mr_repos
+ fi
get_mr_images
install_message_router
}
# init_mso() - Function that initialize MSO services
function init_mso {
- clone_all_mso_repos
- if [[ "$compile_repo" == "True" ]]; then
- compile_all_mso_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_mso_repos
+ if [[ "$compile_repo" == "True" ]]; then
+ compile_all_mso_repos
+ fi
fi
install_mso
# init_policy() - Function that initialize Policy services
function init_policy {
- clone_all_policy_repos
- if [[ "$compile_repo" == "True" ]]; then
- compile_all_policy_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_policy_repos
+ if [[ "$compile_repo" == "True" ]]; then
+ compile_all_policy_repos
+ fi
fi
get_policy_images
# init_sdnc() - Function that initialize SDNC services
function init_sdnc {
start_ODL
- clone_all_sdnc_repos
- if [[ "$compile_repo" == "True" ]]; then
- compile_all_sdnc_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_sdnc_repos
+ if [[ "$compile_repo" == "True" ]]; then
+ compile_all_sdnc_repos
+ fi
fi
get_sdnc_images
install_sdnc
function init_vfc {
install_package libmysqlclient-dev
- clone_all_vfc_repos
- if [[ "$compile_repo" == "False" ]]; then
- compile_all_vfc_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_vfc_repos
+ if [[ "$compile_repo" == "False" ]]; then
+ compile_all_vfc_repos
+ fi
fi
install_vfc
# init_vid() - Function that initialize Vid services
function init_vid {
- clone_all_vid_repos
- if [[ "$compile_repo" == "True" ]]; then
- compile_all_vid_repos
+ if [[ "$clone_repo" == "True" ]]; then
+ clone_all_vid_repos
+ if [[ "$compile_repo" == "True" ]]; then
+ compile_all_vid_repos
+ fi
fi
get_vid_images