Hi openvswitch uses * pick_datapath_id routine *in *ofproto.c module* to get datapath id from local port, but if there is some error , it generates warning log. please check warning messages in your log . it will give you the possible error string so you can debug the issue. *Amit Tewari*
*Module Lead* Nec Hcl St ** On Sun, Jan 27, 2013 at 10:10 PM, Amit Tewari <stephansa...@gmail.com>wrote: > yes its true. > Swapnil you can share your switch and port configuration. > * > Amit Tewari* > > *Module Lead* > > Nec Hcl St > ** > > > On Sun, Jan 27, 2013 at 10:04 PM, Ben Pfaff <b...@nicira.com> wrote: > >> At least on Linux the local port always has a MAC address. >> >> On Sun, Jan 27, 2013 at 10:02:03PM +0530, Amit Tewari wrote: >> > Hi, >> > >> > Openvswitch uses local port mac address for datapath id. in your case >> may >> > be local port has no mac address (it may be virtual). that why it is >> > choosing random number as mac address. Please check dis >> > *Amit Tewari* >> > >> > *Module Lead* >> > >> > Nec Hcl St >> > ** >> > >> > >> > On Sun, Jan 27, 2013 at 2:22 PM, Swapnil Sarda <sarda.swap...@gmail.com >> >wrote: >> > >> > > datapath_id from features_reply message is supposed to contain >> switch's >> > > MAC address. But I am getting datapath_id = 0x000000000001. This >> doesn't >> > > look like a MAC address (or is it?). How can I get the right MAC >> address? >> > > >> > > Thanks. >> > > >> > > >> > > _______________________________________________ >> > > discuss mailing list >> > > discuss@openvswitch.org >> > > http://openvswitch.org/mailman/listinfo/discuss >> > > >> > > >> >> > _______________________________________________ >> > discuss mailing list >> > discuss@openvswitch.org >> > http://openvswitch.org/mailman/listinfo/discuss >> >> >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss