ovsdb: Allow comparison on optional scalar types
authorTerry Wilson <twilson@redhat.com>
Tue, 19 Aug 2014 23:28:55 +0000 (17:28 -0600)
committerBen Pfaff <blp@nicira.com>
Wed, 20 Aug 2014 17:25:35 +0000 (10:25 -0700)
commit09e256031a62f8c3067563140d3f7cf30b0f1c85
tree99e44e1d3e085e673c8dcffd2cad6daacd08dc7d
parent886dd35a03e9a412630c384975d71210983b12f2
ovsdb: Allow comparison on optional scalar types

This allows things like initiating a wait request on an interface
ofport being set.

When the optional field is empty and operation is != or excludes
then the result is true; otherwise it is false. If the field is
set then the field is compared normally for its type.

Signed-off-by: Terry Wilson <twilson@redhat.com>
[blp@nicira.com updated ovsdb-server(1) and NEWS.]
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
NEWS
lib/ovsdb-types.h
ovsdb/condition.c
ovsdb/ovsdb-server.1.in
tests/ovsdb-condition.at