summaryrefslogtreecommitdiff
path: root/tests/idltest.ovsschema
diff options
context:
space:
mode:
authorRyan Moats <rmoats@us.ibm.com>2016-08-06 17:46:29 -0500
committerBen Pfaff <blp@ovn.org>2016-08-14 16:31:15 -0700
commitf1ab6e06061ab05f246f4c95c8653c89036c819f (patch)
treeb2274ba453e83bedfb048bec53082fbb91fd90a5 /tests/idltest.ovsschema
parent33ac3c83416334e8759ff21170e42aa9700be8e4 (diff)
downloadopenvswitch-f1ab6e06061ab05f246f4c95c8653c89036c819f.tar.gz
ovsdb: Add/use partial set updates.
This patchset mimics the changes introduced in f199df26 (ovsdb-idl: Add partial map updates functionality.) 010fe7ae (ovsdb-idlc.in: Autogenerate partial map updates functions.) 7251075c (tests: Add test for partial map updates.) b1048e6a (ovsdb-idl: Fix issues detected in Partial Map Update feature) but for columns that store sets of values rather than key-value pairs. These columns will now be able to use the OVSDB mutate operation to transmit deltas on the wire rather than use verify/update and transmit wait/update operations on the wire. Side effect of modifying the comments in the partial map update tests. Signed-off-by: Ryan Moats <rmoats@us.ibm.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/idltest.ovsschema')
-rw-r--r--tests/idltest.ovsschema30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/idltest.ovsschema b/tests/idltest.ovsschema
index 54822349e..21d81181f 100644
--- a/tests/idltest.ovsschema
+++ b/tests/idltest.ovsschema
@@ -134,6 +134,36 @@
}
}
}
+ },
+ "simple3" : {
+ "columns" : {
+ "name" : {
+ "type": "string"
+ },
+ "uset": {
+ "type": {
+ "key": {"type": "uuid"},
+ "min": 0,
+ "max": "unlimited"
+ }
+ },
+ "uref": {
+ "type": {
+ "key": {"type": "uuid",
+ "refTable": "simple4",
+ "refType": "strong"},
+ "min": 0,
+ "max": "unlimited"
+ }
+ }
+ }
+ },
+ "simple4" : {
+ "columns" : {
+ "name" : {
+ "type": "string"
+ }
+ }
}
}
}