Pavlin Radoslavov | 7175def | 2013-04-03 20:42:57 +0000 | [diff] [blame] | 1 | #! /bin/bash |
2 | |||||
3 | controller=`hostname` | ||||
4 | switches=`sudo ovs-vsctl list-br` | ||||
5 | |||||
Pavlin Radoslavov | 7175def | 2013-04-03 20:42:57 +0000 | [diff] [blame] | 6 | for 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 | ||||
11 | done |