bridge: Configure datapath ID earlier.
authorBen Pfaff <blp@nicira.com>
Wed, 30 Nov 2011 20:09:35 +0000 (12:09 -0800)
committerEthan Jackson <ethan@nicira.com>
Thu, 1 Dec 2011 01:25:53 +0000 (17:25 -0800)
commit00d8b52ae052f7cc114eca77c70ecfe2dd69f036
tree7655952edc740f232fe04fa4039493d90b5995d6
parentbc011f9dd7aae0a6ad1c2467f9cd84088298f63c
bridge: Configure datapath ID earlier.

The design intent is for LACP ports to use the datapath ID as the default
system ID when none is specifically configured.  However, the datapath ID
is not available that early.  This commit makes it available earlier.

This commit does not fix another bug that prevents the LACP system ID from
being set properly (nothing sets it at all, in fact, so it always uses 0).

Build and unit tested only.
vswitchd/bridge.c