]> git.proxmox.com Git - mirror_ovs.git/blob - tests/ovsdb-column.at
Merge "master" into "next".
[mirror_ovs.git] / tests / ovsdb-column.at
1 AT_BANNER([OVSDB -- columns])
2
3 OVSDB_CHECK_POSITIVE([ordinary column],
4 [[parse-column mycol '{"type": "integer"}']],
5 [[{"type":"integer"}]])
6
7 OVSDB_CHECK_POSITIVE([immutable column],
8 [[parse-column mycol '{"type": "real", "mutable": false}']],
9 [[{"mutable":false,"type":"real"}]])
10
11 OVSDB_CHECK_POSITIVE([ephemeral column],
12 [[parse-column mycol '{"type": "uuid", "ephemeral": true}']],
13 [[{"ephemeral":true,"type":"uuid"}]])
14
15 OVSDB_CHECK_POSITIVE([column with comment],
16 [[parse-column mycol '{"type": "boolean",
17 "comment": "extra information about this column"}']],
18 [[{"comment":"extra information about this column","type":"boolean"}]])