9 function is_switch_running
11 ovs-appctl version >/dev/null 2>&1
15 error "Usage: ${0##*/} <bridge name>"
18 # ensure ovs-vswitchd is running
19 if ! is_switch_running; then
20 echo "ovs-vswitchd not runnig" >&2
24 if ovs-vsctl bridge-exists "$1"; then