git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a935522
)
show subcommand to inspect bridge configuration
author
Giuseppe Lettieri
<g.lettieri@iet.unipi.it>
Tue, 11 Sep 2012 11:38:29 +0000
(13:38 +0200)
committer
Giuseppe Lettieri
<g.lettieri@iet.unipi.it>
Tue, 11 Sep 2012 11:38:29 +0000
(13:38 +0200)
planetlab/scripts/sliver-ovs
patch
|
blob
|
history
diff --git
a/planetlab/scripts/sliver-ovs
b/planetlab/scripts/sliver-ovs
index
f58caa8
..
dce8438
100755
(executable)
--- a/
planetlab/scripts/sliver-ovs
+++ b/
planetlab/scripts/sliver-ovs
@@
-268,11
+268,20
@@
function del_port () {
return 0
}
+function show () {
+
+ get_params "" "$@"
+
+ is_db_running || { echo "ovsdb-server not running" >&2; exit 1; }
+
+ ovs-vsctl --db=unix:$DB_SOCKET show
+}
+
####################
SUPPORTED_SUBCOMMANDS="start stop status
start_db stop_db start_switch stop_switch
create_bridge create_port del_bridge del_port
-set_remote_endpoint"
+s
how s
et_remote_endpoint"
function main () {
message="Usage: $COMMAND <subcommand> ...