code: def volume_attach(provider, names, **kwargs):
      '''
      Attach volume to a server
  
      CLI Example:
  
      .. code-block:: bash
  
          salt minionname cloud.volume_attach my-nova myblock server_name=myserver device='/dev/xvdf'
  
      '''
      client = _get_client()
      info = client.extra_action(provider=provider, names=names, action='volume_attach', **kwargs)
      return inff volume_attach(provider, names, **kwargs):
      '''
      Attach volume to a server
  
      CLI Example:
  
      .. code-block:: bash
  
          salt minionname cloud.volume_attach my-nova myblock server_name=myserver device='/dev/xvdf'
  
      '''
      client = _get_client()
      info = client.extra_action(provider=provider, names=names, action='volume_attach', **kwargs)
      return info
docs: Attach volume to a server
  
      CLI Example:
  
      .. code-block:: bash
  
          salt minionname cloud.volume_attach my-nova myblock server_name=myserver device='/dev/xvdf'