]> git.proxmox.com Git - ovs.git/blob - tests/ovsdb-macros.at
ofp-prop: New module for working with OpenFlow 1.3+ properties.
[ovs.git] / tests / ovsdb-macros.at
1 dnl OVSDB_INIT([$1])
2 dnl
3 dnl Creates an empty database named $1.
4 m4_define([OVSDB_INIT],
5 [AT_CHECK(
6 [ovsdb-tool create $1 $abs_top_srcdir/vswitchd/vswitch.ovsschema],
7 [0], [stdout], [ignore])
8 AT_CHECK(
9 [[ovsdb-tool transact $1 \
10 '["Open_vSwitch",
11 {"op": "insert",
12 "table": "Open_vSwitch",
13 "row": {}}]']],
14 [0], [ignore], [ignore])])