Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-30

Datapath_id potentially changes as ports are added to bridge

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Beryllium
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 6070

    Description

      OVS sets the datapath_id using the following algorithm:

      if other_config:datapath_id is specified
      use that
      otherwise if other_config:hwaddr specified
      use that
      otherwise if this bridge has ports
      use the lowest mac address of the ports on this bridge
      otherwise
      use a randomly generated mac

      this algorithm is re-run every time you add or remove a port from the bridge. So, if a port is added with a lower mac, the dpid will change mid-flight. As you can imagine this should really screw up the state, especially WRT operational vs. configuration. During tests it was observed that when this occurs flows are not properly installed in OVS.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jhershbe Josh Hershberg
            jhershbe Josh Hershberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: