From b86512e598d5e59fe1f2048159e68dea4d229164 Mon Sep 17 00:00:00 2001 From: "r.kuralamudhan" Date: Fri, 22 Nov 2019 13:20:52 -0800 Subject: Adding SDWAN testing for KUD containerized installer script Please refer ICN SDWAN Module Design for architecture link:https://wiki.akraino.org/display/AK/SDWAN+Module+Design Issue-ID: MULTICLOUD-956 Co-authored-by: Huifeng Le Signed-off-by: r.kuralamudhan Change-Id: I4bc35bc62f6bab52a5d290829f7406424d72d5ae --- kud/hosting_providers/containerized/installer.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'kud/hosting_providers/containerized') diff --git a/kud/hosting_providers/containerized/installer.sh b/kud/hosting_providers/containerized/installer.sh index 713847ea..f1b95acb 100755 --- a/kud/hosting_providers/containerized/installer.sh +++ b/kud/hosting_providers/containerized/installer.sh @@ -149,6 +149,21 @@ function install_plugin { fi } +# install_controllers() - Install ONAP Multicloud Kubernetes controllers +function install_controllers { + echo "Installing multicloud/k8s onap4k8s controllers" + if [[ "${testing_enabled}" == "true" ]]; then + echo "Test controllers installation" + for controller_test in sdwan; do + pushd $kud_tests/$controller_test + ansible-playbook $verbose -i \ + $kud_inventory ${controller_test}.yml | \ + tee $cluster_log/test-${controller_test}.log + popd + done + fi +} + # _print_kubernetes_info() - Prints the login Kubernetes information function _print_kubernetes_info { if ! $(kubectl version &>/dev/null); then @@ -209,6 +224,8 @@ function install_cluster { if ${KUD_PLUGIN_ENABLED:-false}; then install_plugin echo "installed the install_plugin" + install_controllers + echo "installed controllers" fi _print_kubernetes_info } -- cgit 1.2.3-korg