docs: def info(gandi, resource, format):
      """ Display information about a webaccelerator """
      result = gandi.webacc.info(resource)
      if format:
          output_json(gandi, format, result)
          return result
  
      output_base = {
          'name': result['name'],
          'algorithm': result['lb']['algorithm'],
          'datacenter': result['datacenter']['name'],
          'state': result['state'],
          'ssl': 'Disable' if result['ssl_enable'] is False else 'Enabled'
      }
      output_keys = ['name', 'state', 'datacenter', 'ssl', 'algorithm']
      output_generic(gandi, output_base, output_keys, justify=14)
  
      gandi.echo('Vhosts :')
      for vhost in result['vhosts']:
          output_vhosts = ['vhost', 'ssl']
          vhost['vhost'] = vhost['name']
          vhost['ssl'] = 'None' if vhost['cert_id'] is None else 'Exists'
          output_sub_generic(gandi, vhost, output_vhosts, justify=14)
          gandi.echo('')
  
      gandi.echo('Backends :')
      for server in result['servers']:
          try:
              ip = gandi.ip.info(server['ip'])
              iface = gandi.iface.info(ip['iface_id'])
              server['name'] = gandi.iaas.info(iface['vm_id'])['hostname']
              output_servers = ['name', 'ip', 'port', 'state']
          except Exception:
              warningmsg = ('\tBackend with ip address %s no longer exists.'
                            '\n\tYou should remove it.' % server['ip'])
              gandi.echo(warningmsg)
              output_servers = ['ip', 'port', 'state']
          output_sub_generic(gandi, server, output_servers, justify=14)
          gandi.echo('')
  
      gandi.echo('Probe :')
      output_probe = ['state', 'host', 'interval', 'method', 'response',
                      'threshold', 'timeout', 'url', 'window']
      result['probe']['state'] = ('Disable'
                                  if result['probe']['enable'] is False
                                  else 'Enabled')
      output_sub_generic(gandi, result['probe'], output_probe, justify=14)
      return result