Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
spring-open
/
608fac3bd462ee55e67b2f04bbd66968c3e2c2d3
/
.
/
sample
/
ONS2014demo
/
scripts
/
showdpid.sh
blob: 14b6345515bff1164b60e33d9b0e5ddedfde6185 [
file
] [
log
] [
blame
]
#! /bin/bash
controller
=
""
#switches=`ifconfig -a | grep sw |grep -v eth | awk '{print $1}'`
switches
=
`sudo ovs-vsctl list-br`
for
s
in
$switches
;
do
echo
-
n
"$s : "
sudo ovs
-
ofctl show $s
|
grep dpid
done