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