]>
Commit | Line | Data |
---|---|---|
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 | ||
8 | s["idlPrefix"] = "idltest_" | |
9 | s["idlHeader"] = "\"tests/idltest.h\"" | |
10 | s["tables"]["link1"]["columns"]["k"]["type"]["keyRefTable"] = "link1" | |
11 | s["tables"]["link1"]["columns"]["ka"]["type"]["keyRefTable"] = "link1" | |
12 | s["tables"]["link1"]["columns"]["l2"]["type"]["keyRefTable"] = "link2" | |
13 | s["tables"]["link2"]["columns"]["l1"]["type"]["keyRefTable"] = "link1" |