3 dnl Creates an empty database named $1.
4 m4_define([OVSDB_INIT],
6 [SCHEMA=$abs_top_builddir/vswitchd/vswitch-idl.ovsschema
7 if test ! -e $SCHEMA; then
8 SCHEMA=$abs_top_srcdir/vswitchd/vswitch-idl.ovsschema
9 if test ! -e $SCHEMA; then
10 echo 'Failed to find vswitch-idl.ovsschema'
14 ovsdb-tool create $1 $abs_top_srcdir/vswitchd/vswitch.ovsschema],
15 [0], [stdout], [ignore])
17 [[ovsdb-tool transact $1 \
19 "table": "Open_vSwitch",
21 [0], [ignore], [ignore])])