bridge: don't bring up internal ports by default.
authorFlavio Leitner <fbl@redhat.com>
Tue, 1 Apr 2014 21:05:20 +0000 (18:05 -0300)
committerBen Pfaff <blp@nicira.com>
Thu, 3 Apr 2014 20:42:58 +0000 (13:42 -0700)
commit1839c35676b5c3a2a70e83477a6ce3d3c7d0d245
tree341d56d313cedc2f51439147eeadf849c82ef399
parentcf3b7538666cd1efa314ce4944e4efdf3dd81d99
bridge: don't bring up internal ports by default.

It should be an administrator task to bring up devices as they
are configured properly.

Currently, Fedora is deleting the bridges when the interface is
brought down. Therefore, there is no bridge on the next boot and
the initscripts can apply the networking configuration properly
for a new bridge.

However, if the system didn't execute ifdown for some reason, the
bridge is left in the ovsdb and since internal ports are brought
up by default, there is no way for initscripts to known if the
adminitrator has already configured it or not.

This patch reverts commit bef071a5fdf8e2dd87677b04b3cf7a8f5094edcb
(bridge: Always "up" internal devices.).

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
NEWS
tests/ofproto-dpif.at
tests/ofproto.at
vswitchd/bridge.c