ovn: Add tunnel_key concept to Bindings table, assign in ovn-northd.
authorBen Pfaff <blp@nicira.com>
Wed, 29 Apr 2015 17:12:27 +0000 (10:12 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 30 Apr 2015 04:38:39 +0000 (21:38 -0700)
commiteb00399ed235bd1e31757d7be17b704a84fde898
treea5752bdb2dbb0985df3e53536c679465cbf612c6
parent7d292b6f400bd18014a1a2b50d4b66e63f1ba56f
ovn: Add tunnel_key concept to Bindings table, assign in ovn-northd.

When packets travel among nodes in OVN over tunnels, a tunnel key value is
needed to convey the logical port to which the packet is destined.  This
commit adds a tunnel_key column to the Bindings table and adds code to
ovn-northd to assign a unique tunnel_key value to each logical port.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
ovn/northd/ovn-northd.c
ovn/ovn-sb.ovsschema
ovn/ovn-sb.xml