Sources
=======

Sources are used to import servers automatically from Racks or Libvirt.

Here you can specify only sources endpoints. For import see Groups section.


Configuration options
---------------------

  +-----------------------------+---------------------------------------------+
  | Option                      | Description                                 |
  +=============================+=============================================+
  | Name                        | Human readable name                         |
  +-----------------------------+---------------------------------------------+
  | URL                         | End point url, see below                    |
  +-----------------------------+---------------------------------------------+
  | Type                        | Racks or Libvirt                            |
  +-----------------------------+---------------------------------------------+
  | Auth data                   | Required only for Racks, Libvirt using ssh  |
  |                             | keys authentication                         |
  +-----------------------------+---------------------------------------------+
  | Enable                      | Allow import from this source               |
  +-----------------------------+---------------------------------------------+

URL can be one of following:

- qemu+ssh://root@linux.localhost/system
- qemu:///system
- https://racks.example.org/api/v2/objects/


Sources Auth data
-----------------

Token is used to access to the Racks. Libvirt uses ssh keys.

.. code-block:: json

    {
      "X-Auth-Application": "app-name",
      "X-Auth-Token": "app-auth-token"
    }
