vswitchd: Don't act as learning switch in secure mode with no controllers
authorJustin Pettit <jpettit@nicira.com>
Fri, 16 Jul 2010 06:37:35 +0000 (23:37 -0700)
committerJustin Pettit <jpettit@nicira.com>
Sat, 31 Jul 2010 04:26:54 +0000 (21:26 -0700)
commitabdfe47476cc1a192e329f428b3740a3fae8390d
treea322d3f106e813266c875f32cb015bcf3a1db2b6
parent31681a5d627cec70864764586829bdb92abf2f30
vswitchd: Don't act as learning switch in secure mode with no controllers

Don't act as a learning switch when the fail-mode is "secure" and no
controllers are defined.  This allows the bridge to come up in a state
where it won't pass any traffic until a controller has told it to do so.
ofproto/ofproto.c
ofproto/ofproto.h
vswitchd/bridge.c
vswitchd/vswitch.xml