ovn-controller: Add data structure for indexing lports, multicast groups.
authorBen Pfaff <blp@ovn.org>
Thu, 28 Jan 2016 05:17:11 +0000 (21:17 -0800)
committerBen Pfaff <blp@ovn.org>
Sat, 12 Mar 2016 04:56:26 +0000 (20:56 -0800)
commitbce7cf454b43e8a59c2abaae21e41fd6efdd6f1a
tree9a87ba0d74a0182f09d72ecf8a577204490b5946
parentf1c16a8585df9f7eacb20fc8f0ab8edd26f3b9dc
ovn-controller: Add data structure for indexing lports, multicast groups.

This was more or less implemented inside lflow.c until now, but some
upcoming code that shouldn't be in that file needs to use it too.

This also adds a second index on lports, so that lports can be looked up
based on the logical datapath tunnel key and the logical port tunnel key.
An upcoming commit will add a user for this new index.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
ovn/controller/automake.mk
ovn/controller/lflow.c
ovn/controller/lflow.h
ovn/controller/lport.c [new file with mode: 0644]
ovn/controller/lport.h [new file with mode: 0644]
ovn/controller/ovn-controller.c