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