Skip to content
  • David Johnson's avatar
    Handle new switch ports that haven't hit the metadata file yet. · 335269ee
    David Johnson authored
    The switch may see a new port plugin before whatever is writing the
    metadata file actually writes the metadata entry.
    
    So the metadata service grows a thread for each switch that watches the
    metadata file for the switch.  The controller puts ports that didn't
    have metadata when they first arrived onto a pending list in the
    metadata service, and the service notifies the controller when
    information for any of those ports is available.
    335269ee