]> git.proxmox.com Git - mirror_ovs.git/blame - tests/idltest.ann
Cleanly separate IDL annotations from OVSDB schema information.
[mirror_ovs.git] / tests / idltest.ann
CommitLineData
00732bf5
BP
1# -*- python -*-
2
3# This code, when invoked by "ovsdb-idlc annotate" (by the build
4# process), annotates idltest.ovsschema with additional data that give
5# the ovsdb-idl engine information about the types involved, so that
6# it can generate more programmer-friendly data structures.
7
8s["idlPrefix"] = "idltest_"
9s["idlHeader"] = "\"tests/idltest.h\""
10s["tables"]["link1"]["columns"]["k"]["type"]["keyRefTable"] = "link1"
11s["tables"]["link1"]["columns"]["ka"]["type"]["keyRefTable"] = "link1"
12s["tables"]["link1"]["columns"]["l2"]["type"]["keyRefTable"] = "link2"
13s["tables"]["link2"]["columns"]["l1"]["type"]["keyRefTable"] = "link1"