Skip to content

Commit

Permalink
Merge "DPDK: startup script affects all of bond interfaces in system …
Browse files Browse the repository at this point in the history
…not just DPDK one" into R3.0.3.x
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Oct 25, 2016
2 parents 110187c + 2262b91 commit 8ab7418
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/control_files/vrouter-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,10 @@ vrouter_dpdk_if_unbind() {
rmmod igb_uio

echo "$(date): Re-initialize networking."
bond_name=$(echo ${DPDK_PHY} | cut -d. -f1)
for iface in $(ifquery --list);
do
if ifquery $iface | grep -i "bond";
if ifquery $iface | grep -i "$bond_name";
then
ifdown $iface
fi
Expand Down

0 comments on commit 8ab7418

Please sign in to comment.