blob: 290a17d8df8326706397e17d1a53a49bdb9ce176 [file] [log] [blame]
Pavlin Radoslavov7175def2013-04-03 20:42:57 +00001#! /bin/bash
2
3controller=`hostname`
4switches=`sudo ovs-vsctl list-br`
5
Pavlin Radoslavov7175def2013-04-03 20:42:57 +00006for s in $switches; do
7 ports=`sudo ovs-vsctl --pretty list-ports $s`
8 for p in $ports; do
9 sudo ifconfig $p up
10 done
11done