After dpdk finishes install, br-phy needs to be brought up and ovs-agent
needs to be restarted. This cannot happen in tripleO because
os-collect-config will try to ping from dpdk interfaces to the
controller to validate network connectivity. This doesn't work with
dpdk, so we leave br-phy down until end of deployment.
JIRA: APEX-119
Change-Id: I3d36d02b773fcbb3c5527b85fd00a2fa1b3cc25d
Signed-off-by: Tim Rozet <trozet@redhat.com>
done
EOI
+ if [ "${deploy_options_array['dataplane']}" == 'ovs_dpdk' ]; then
+ echo -e "${blue}INFO: Bringing up br-phy and ovs-agent for dpdk compute nodes...${reset}"
+ compute_nodes=$(undercloud_connect stack "source stackrc; nova list | grep compute | wc -l")
+ i=0
+ while [ "$i" -lt "$compute_nodes" ]; do
+ overcloud_connect compute${i} "sudo ifup br-phy; sudo systemctl restart neutron-openvswitch-agent"
+ i=$((i + 1))
+ done
+ fi
+
ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI
source overcloudrc
set -o errexit