original_docstring: Ensure vpp interface for imminent vhost socket binding.
  
          Somebody has dropped a file in the vhost_socket_directory which matched
          our watch pattern (Neutron port uuid). We are expecting an imminent
          vhost socket binding (from presumably Nova), so lets get ahead of the
          curve and create a vhost socket for it.
  
          Inteface name is the vhost socket file name and since we don't know
          the mac, let vhost interface create function make one.
  
          
docstring: Ensure vpp interface for imminent vhost socket binding.
  Somebody has dropped a file in the vhost_socket_directory which matched
  our watch pattern (Neutron port uuid). We are expecting an imminent
  vhost socket binding (from presumably Nova), so lets get ahead of the
  curve and create a vhost socket for it.
  
  Inteface name is the vhost socket file name and since we don't know
  the mac, let vhost interface create function make one.
docstring_tokens: Ensure vpp interface for imminent vhost socket binding . Somebody has dropped a file in the vhost_socket_directory which matched our watch pattern ( Neutron port uuid ) . We are expecting an imminent vhost socket binding ( from presumably Nova ) so lets get ahead of the curve and create a vhost socket for it . Inteface name is the vhost socket file name and since we don ' t know the mac let vhost interface create function make one .
code: def ensure_interface_for_vhost_socket_binding(self, name):
          """Ensure vpp interface for imminent vhost socket binding.
  
          Somebody has dropped a file in the vhost_socket_directory which matched
          our watch pattern (Neutron port uuid). We are expecting an imminent
          vhost socket binding (from presumably Nova), so lets get ahead of the
          curve and create a vhost socket for it.
  
          Inteface name is the vhost socket file name and since we don't know
          the mac, let vhost interface create function make one.
  
          """
  
          LOG.debug("Calling VPP interface creation on vhost socket with props "
                    "vif_type: %s , uuid: %s ", 'vhostuser', name)
          self.ensure_interface_on_host('vhostuser', uuid=name, mac=None)
code_tokens: def ensure_interface_for_vhost_socket_binding ( self , name ) : LOG . debug ( "Calling VPP interface creation on vhost socket with props " "vif_type: %s , uuid: %s " , 'vhostuser' , name ) self . ensure_interface_on_host ( 'vhostuser' , uuid = name , mac = None )
short_docstring: Ensure vpp interface for imminent vhost socket binding.
short_docstring_tokens: Ensure vpp interface for imminent vhost socket binding .
comment: """Ensure vpp interface for imminent vhost socket binding.
  
          Somebody has dropped a file in the vhost_socket_directory which matched
          our watch pattern (Neutron port uuid). We are expecting an imminent
          vhost socket binding (from presumably Nova), so lets get ahead of the
          curve and create a vhost socket for it.
  
          Inteface name is the vhost socket file name and since we don't know
          the mac, let vhost interface create function make one.
  
          """