[ovs-discuss] why the datapath-id choose the minimum non-local MAC address among all of the ports in bridge

taoyunupt taoyunupt at 126.com
Wed Jan 27 10:13:12 UTC 2021


Hi,
    If no configure of "datapath-id" in other_config of br, then it will  choose the minimum non-local MAC address among all of the ports in bridge. The relevant code is in the find_local_hw_addr function(https://github.com/openvswitch/ovs/blob/master/vswitchd/bridge.c#L2322).  
    
    In this case, If a new  port with miner mac, it will change the dpid ,and the mac of br-int. It will cause frequently reset with SDN controller by ofproto_set_datapath_id function.
    Is this reasonable?


    Thanks,
    Yun
 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20210127/58e9e6a4/attachment.html>


More information about the discuss mailing list