ovs-vswitchd: Log datapath ID in a more user-friendly way.
authorBen Pfaff <blp@nicira.com>
Tue, 26 Jun 2012 21:43:08 +0000 (14:43 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 5 Jul 2012 22:23:36 +0000 (15:23 -0700)
commite825ace22c8f863e806ff2ac9a6f58a4e112ee5c
treef1202f45a59024fdc664c0e6749e0caa6e1d4e95
parentfbfa291126a76ace115ca81d02801ad02cd0f218
ovs-vswitchd: Log datapath ID in a more user-friendly way.

The layering between ofproto and ovs-vswitchd caused the datapath ID to be
logged in a needlessly confusing way.  First, ofproto would log its
default datapath ID:

     using datapath ID 0000505400000004

then the bridge code would immediately determine the datapath ID that it
wanted and call ofproto_set_datapath_id(), which would log the change

     datapath ID changed to 0000111122223333

This commit stops logging the default datapath ID, which is never actually
visible in OpenFlow.  This should make the log files easier to understand.

Bug #12164.
Reported-by: Jacob Cherkas <jcherkas@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto.c
ofproto/ofproto.h
vswitchd/bridge.c