original_docstring: Ensure detected external tap devices are added to the bridge.
  
          All detected external devices are queued in the external_devices
          data set. So handle it in this method to ensure that these are added
          to the bridge.
          
docstring: Ensure detected external tap devices are added to the bridge.
  All detected external devices are queued in the external_devices
  data set. So handle it in this method to ensure that these are added
  to the bridge.
docstring_tokens: Ensure detected external tap devices are added to the bridge . All detected external devices are queued in the external_devices data set . So handle it in this method to ensure that these are added to the bridge .
code: def tap_notify_thread(self):
          """Ensure detected external tap devices are added to the bridge.
  
          All detected external devices are queued in the external_devices
          data set. So handle it in this method to ensure that these are added
          to the bridge.
          """
          while True:
              try:
                  dev_name = self.external_devices.get()
                  port_id = dev_name[3:]
                  bridge_name = "br-%s" % port_id
                  self.ensure_tap_in_bridge(dev_name, bridge_name)
              except Exception:
                  LOG.exception("Error while binding tap interface %s", dev_name)
code_tokens: def tap_notify_thread ( self ) : while True : try : dev_name = self . external_devices . get ( ) port_id = dev_name [ 3 : ] bridge_name = "br-%s" % port_id self . ensure_tap_in_bridge ( dev_name , bridge_name ) except Exception : LOG . exception ( "Error while binding tap interface %s" , dev_name )
short_docstring: Ensure detected external tap devices are added to the bridge.
short_docstring_tokens: Ensure detected external tap devices are added to the bridge .
comment: """Ensure detected external tap devices are added to the bridge.
  
          All detected external devices are queued in the external_devices
          data set. So handle it in this method to ensure that these are added
          to the bridge.
          """