ovsdb: Enforce immutability of immutable columns.
authorBen Pfaff <blp@nicira.com>
Wed, 5 Sep 2012 17:35:20 +0000 (10:35 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 5 Sep 2012 17:35:20 +0000 (10:35 -0700)
commit341c4e59f50a842a2974d06e448a57af372a7edd
tree35f92730f035ab655e76334bdb19f771c042d10a
parentc22c56bd746352f5c70a0d99bb3f548d03cfd105
ovsdb: Enforce immutability of immutable columns.

OVSDB has always had the ability to mark a column as "immutable", so that
its value cannot be changed in a given row after that row is initially
inserted.  However, we discovered recently that ovsdb-server has never
enforced this constraint.  This commit implements enforcement.

Reported-by: Paul Ingram <paul@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Kyle Mestery <kmestery@cisco.com>
NEWS
lib/ovsdb-idl-provider.h
ovsdb/execution.c
ovsdb/mutation.c
ovsdb/ovsdb-idlc.in
tests/ovs-vsctl.at
tests/ovsdb-execution.at
tests/ovsdb-mutation.at
utilities/ovs-vsctl.c