vswitch.ovsschema: Add datapath_types and port_types.
authorMark D. Gray <mark.d.gray@intel.com>
Tue, 24 Mar 2015 10:39:11 +0000 (10:39 +0000)
committerBen Pfaff <blp@nicira.com>
Tue, 24 Mar 2015 16:12:27 +0000 (09:12 -0700)
commit842733c37ccb51d574795782143ed99b0a76a44d
treec8dc7670f8acc258052c772fce612da1cf222bb2
parent59a33335dcc5c750b55dbd2a7961e91a816697b7
vswitch.ovsschema: Add datapath_types and port_types.

At startup enumerate datapath and port types and add this information to
the datapath_types and port_types columns in the ovsdb.

This allows an ovsdb client to query the datapath in order to determine
if certain datapath and port types exist. For example, by querying the
port_types column, an ovsdb client will be able to determine if this
instance of ovs-vswitchd was compiled with DPDK support.

Signed-off-by: Mark D. Gray <mark.d.gray@intel.com>
Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
[blp@nicira.com made several changes]
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/sset.c
lib/sset.h
vswitchd/bridge.c
vswitchd/vswitch.ovsschema
vswitchd/vswitch.xml