Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
spring-open
/
d4acc80fccf2b6368f4090d067b900a7bcc23905
/
.
/
old-scripts
/
scripts
/
all-linkup.sh
blob: 290a17d8df8326706397e17d1a53a49bdb9ce176 [
file
] [
log
] [
blame
]
#! /bin/bash
controller
=
`hostname`
switches
=
`sudo ovs-vsctl list-br`
for
s
in
$switches
;
do
ports
=
`sudo ovs-vsctl --pretty list-ports $s`
for
p
in
$ports
;
do
sudo ifconfig $p up
done
done