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