aboutsummaryrefslogtreecommitdiff
path: root/tests/ovsdb-column.at
blob: 7dd55e4131a641fc6a791b76210f7a45faaf5e3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
AT_BANNER([OVSDB -- columns])

OVSDB_CHECK_POSITIVE([ordinary column],
  [[parse-column mycol '{"type": "integer"}']],
  [[{"type":"integer"}]])

OVSDB_CHECK_POSITIVE([immutable column],
  [[parse-column mycol '{"type": "real", "mutable": false}']],
  [[{"mutable":false,"type":"real"}]])

OVSDB_CHECK_POSITIVE([ephemeral column],
  [[parse-column mycol '{"type": "uuid", "ephemeral": true}']],
  [[{"ephemeral":true,"type":"uuid"}]])