original_docstring: See if we need to take action when a net device is created
  
          This function will be called as a callback when a new interface is
          created in Linux kernel. We will filter for tap interfaces created by
          OpenStack, and those will be added to the bridges that we create on the
          Neutron side of things.
          
docstring: See if we need to take action when a net device is created
  This function will be called as a callback when a new interface is
  created in Linux kernel. We will filter for tap interfaces created by
  OpenStack, and those will be added to the bridges that we create on the
  Neutron side of things.
docstring_tokens: See if we need to take action when a net device is created This function will be called as a callback when a new interface is created in Linux kernel . We will filter for tap interfaces created by OpenStack and those will be added to the bridges that we create on the Neutron side of things .
code: def _consider_external_device(self, dev_name):
          """See if we need to take action when a net device is created
  
          This function will be called as a callback when a new interface is
          created in Linux kernel. We will filter for tap interfaces created by
          OpenStack, and those will be added to the bridges that we create on the
          Neutron side of things.
          """
          match = re.search(r'tap[0-9a-f]{8}-[0-9a-f]{2}', dev_name)
          if not match:
              return
  
          # TODO(ijw) will act upon other mechanism drivers' taps
          # Add the detected external device to be handled by the port-watcher
          self.external_devices.put(dev_name)
code_tokens: def _consider_external_device ( self , dev_name ) : match = re . search ( r'tap[0-9a-f]{8}-[0-9a-f]{2}' , dev_name ) if not match : return self . external_devices . put ( dev_name )
short_docstring: See if we need to take action when a net device is created
  This function will be called as a callback when a new interface is
  created in Linux kernel.
short_docstring_tokens: See if we need to take action when a net device is created This function will be called as a callback when a new interface is created in Linux kernel .
comment: """See if we need to take action when a net device is created
  
          This function will be called as a callback when a new interface is
          created in Linux kernel. We will filter for tap interfaces created by
          OpenStack, and those will be added to the bridges that we create on the
          Neutron side of things.
          """$SEP$# TODO(ijw) will act upon other mechanism drivers' taps$SEP$# Add the detected external device to be handled by the port-watcher