Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
spring-open
/
cb951986a237748e4839fd3ce856af59b203dfc5
/
.
/
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