Skip to content

Commit

Permalink
doc/userguide: add reload-tenant(s) doc
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Aug 9, 2023
1 parent 71463c8 commit fa0fd8b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
23 changes: 23 additions & 0 deletions doc/userguide/configuration/multi-tenant.rst
Expand Up @@ -217,6 +217,29 @@ Tenants can be mapped to vlan ids.
The registration of tenant and tenant handlers can be done on a
running engine.

Reloads
~~~~~~~

Reloading all tenants:

``reload-tenants``

::

reload-tenants

Reloading a single tenant:

``reload-tenant <tenant id> [yaml path]``

::

reload-tenant 1 tenant-1.yaml
reload-tenant 5

The ``[yaml path]`` is optional. If it isn't provided, the original path of
the tenant will be used during the reload.

Eve JSON output
---------------

Expand Down
4 changes: 4 additions & 0 deletions doc/userguide/partials/commands-sc.rst
Expand Up @@ -88,6 +88,10 @@
specified. If it is omitted, the original yaml that was used to load
/ last reload the tenant is used.

.. describe:: reload-tenants

Reload all registered tenants by reloading their yaml.

.. describe:: unregister-tenant <id>

Unregister tenant with a particular ID.
Expand Down

0 comments on commit fa0fd8b

Please sign in to comment.