learning-switch: Add ability to define default flows
authorJustin Pettit <jpettit@nicira.com>
Wed, 28 Jul 2010 22:18:14 +0000 (15:18 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 30 Jul 2010 07:05:33 +0000 (00:05 -0700)
commitaaaa7553a9b7fef47436e96fb0177981b09e4a83
tree0f0e4dc5bb13935d5dc06ad4fc34c8ccf509391f
parentf22716dcca299b863dd72eb193fb1283c5f686da
learning-switch: Add ability to define default flows

Add an argument to the function to create a learning switch, which
defines default flows to be pushed down to connecting switches.  It does
nothing to enforce that they remain intact.  It only pushes flows on
switch connection.
lib/learning-switch.c
lib/learning-switch.h
utilities/ovs-controller.c