code: def volume_attach(name, server_name, device='/dev/xvdb', **kwargs):
      '''
      Attach block volume
      '''
      conn = get_conn()
      return conn.volume_attach(
          name,
          server_name,
          device,
          timeout=300
      f volume_attach(name, server_name, device='/dev/xvdb', **kwargs):
      '''
      Attach block volume
      '''
      conn = get_conn()
      return conn.volume_attach(
          name,
          server_name,
          device,
          timeout=300
      )
docs: Attach block volume