From: Tim Rozet Date: Tue, 12 Jan 2016 17:40:44 +0000 (-0500) Subject: Adds post install configuration X-Git-Tag: brahmaputra.1.rc0~6 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F15%2F6415%2F1;p=apex.git Adds post install configuration Changes include: - Neutron external network now configured post deployment - IP addresses assigned to admin and public OVS bridges if missing Change-Id: I7a3e8822b43640578db809c3f4d55f399383c1f1 Signed-off-by: Tim Rozet --- diff --git a/ci/deploy.sh b/ci/deploy.sh index 9200256b..bcc9c4b0 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -26,6 +26,7 @@ ha_enabled="TRUE" ping_site="8.8.8.8" ntp_server="pool.ntp.org" net_isolation_enabled="TRUE" +post_config="TRUE" declare -i CNT declare UNDERCLOUD @@ -370,7 +371,7 @@ function configure_deps { elif [ "$virtual" == "FALSE" ]; then virsh_enabled_networks="admin_network public_network" else - virsh_enabled_neworks=$enabled_network_list + virsh_enabled_networks=$enabled_network_list fi for network in ${OPNFV_NETWORK_TYPES}; do @@ -773,6 +774,47 @@ EOI } +##Post configuration after install +##params: none +function configure_post_install { + local opnfv_attach_networks ovs_ip ip_range net_cidr tmp_ip + opnfv_attach_networks="admin_network public_network" + + echo -e "${blue}INFO: Post Install Configuration Running...${reset}" + + ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <