summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib/flash-all-bridges.sh
blob: db9d50ddb29bbd5d3feb34e40d84fb6252241faf (plain)
1
2
3
4
5
#!/bin/bash
export bridges="admin|private|public|storage"
for br in $(ifconfig |grep -v br-external |grep "^br" |grep -E $bridges |awk '{print $1}');do
  sudo ip addr flush dev $br;
done