are supported in both DHCPv4 and DHCPv6, with the exception of server ID,
which is DHCPv6 only.
-User context can be added and edited in structures suported by Commands.
+User context can be added and edited easily in structures suported by API commands.
+
+We encourage Kea users to utilize this functions to store information
+used by other systems and custom hooks.
For example `subnet4-update` command can be used to add user context data
to existing subnet.
}
} ]
+The same can be done with manyu other commands like lease6-add etc.
+
Kea also uses user context to store non standart data.
-As of this moment only Storing Extended Lease Information uses this feature.
-When enabled it adds ISC key in `user-context` to differentiate automaticly
+As of this moment only :ref:`dhcp4-store-extended-info` uses this feature.
+
+When enabled it adds ISC key in `user-context` to differentiate automatically
added content.
-Example of relay information stored in lease:
+
+Example of relay information stored in a lease:
::
}
+Of course user context can store configuration for multiple hooks and comments at once.
+
For a discussion about user-context used in hooks, see :ref:`user-context-hooks`.
the `Hooks Developer's Guide section of the Kea Developer's Guide
<https://reports.kea.isc.org/dev_guide/df/d46/hooksdgDevelopersGuide.html>`__.
+Some hooks use user context to set the parameters. See :ref:`user-context-hooks`.
+
Notes:
- The full path to each library should be given.
If user context is supported in a given context, the parser translates
"comment" entries into user context with a "comment" entry.
+Of course user context can store configuration for multiple hooks and comments at once.
-
-Some hooks use user-context for configuration to enable easy changes by commands.
+Some hooks use user-context for configuration that can be easily edited
+without the need to restart of the server.
DDNS-Tuning Hook uses user-context to configure per subner behavior. Example: