ovn-controller: Explicitly pass the flow table from function to function.
authorBen Pfaff <blp@nicira.com>
Sat, 18 Jul 2015 19:25:16 +0000 (12:25 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 28 Jul 2015 18:06:51 +0000 (11:06 -0700)
commit761fd08f83df3859291e206a964f57fbdbd9d6ec
tree12802601aab7ff428bea1a65954165d55eceee65
parentf1fd7657339abf6da99f878e863b31a295f7fbd9
ovn-controller: Explicitly pass the flow table from function to function.

As I was working in ovn-controller, I found it hard to tell what code
produced and what code consumed the OpenFlow flow table, because it was
all implicit.  This commit makes the data structure an explicit variable
in the main loop, which makes it easier to see.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
ovn/controller/ofctrl.c
ovn/controller/ofctrl.h
ovn/controller/ovn-controller.c
ovn/controller/physical.c
ovn/controller/physical.h
ovn/controller/pipeline.c
ovn/controller/pipeline.h