From: Giuseppe Lettieri Date: Tue, 11 Sep 2012 11:38:29 +0000 (+0200) Subject: show subcommand to inspect bridge configuration X-Git-Tag: sliver-openvswitch-1.8.90-0~18 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=3605b68b0287e3004cc4dc7cf83b1f88aa454569 show subcommand to inspect bridge configuration --- diff --git a/planetlab/scripts/sliver-ovs b/planetlab/scripts/sliver-ovs index f58caa8a5..dce843861 100755 --- 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" +show set_remote_endpoint" function main () { message="Usage: $COMMAND ...