ovs-vsctl: Allow modifying "immutable" columns if we just created the row.
authorBen Pfaff <blp@nicira.com>
Fri, 26 Sep 2014 23:00:44 +0000 (16:00 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 8 Oct 2014 20:12:45 +0000 (13:12 -0700)
commitff495b63789eed398b0bee0f11676d13ca102ac0
tree23972ed532575d37306e1e5ae7b9714731af289a
parent1c58a78b147bdaf7b3375c203c719ece2e0ba709
ovs-vsctl: Allow modifying "immutable" columns if we just created the row.

OVSDB has the concept of "immutable" columns, which are columns whose
values are fixed once a row is inserted.  Until now, ovs-vsctl has not
allowed these columns to be modified at all.  However, this is a little too
strict, because these columns can be set to any value at the time that the
row is inserted.  This commit relaxes the ovs-vsctl requirement, then, to
allow an immutable column's value to be modified if its row has been
inserted within this transaction.

Requested-by: Mukesh Hira <mhira@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
NEWS
lib/ovsdb-idl.c
lib/ovsdb-idl.h
tests/ovs-vsctl.at
utilities/ovs-vsctl.c