// Global valid lifetime value.
"valid-lifetime": 6000,
- // Configuration control.
+ // Configuration control (currently not used, i.e. this syntax
+ // is already defined but corresponding feature is not implemented).
"config-control":
{
// Only configuration databases entry is defined.
// Global valid lifetime value.
"valid-lifetime": 6000,
- // Configuration control.
+ // Configuration control (currently not used, i.e. this syntax
+ // is already defined but corresponding feature is not implemented).
"config-control":
{
// Only configuration databases entry is defined.
notes made during a series of IETF Hackathons</uri>.
</para>
+ <para>
+ In YANG configurations and state data are described in the YANG syntax
+ in module files named:
+<userinput>"module-name"</userinput><option>[@<userinput>"revision"</userinput>]</option>.yang
+ </para>
+
+ <para>
+ The revision part is optional and has YYYY-MM-DD format. An alternate
+ XML syntax YIN is defined but less user friendly. Top level modules
+ are named in kea models (short version of schema models).
+ </para>
+
<para>
List currently installed YANG modules:
<screen>
ietf-dhcpv6-options | 2018-03-04 | Imported | | | |
ietf-dhcpv6-types | 2018-01-30 | Imported | | | |
</screen>
-</para>
+ </para>
+
+ <para>
+To install a new revision of a module it must be first uninstalled, e.g. by:
+<screen>
+sudo sysrepoctl -u -m kea-dhcp4-server
+</screen>
+If the module is used (i.e. imported) by other modules it can be unstalled
+only after modules using it, i.e. installation and uninstallation must be
+done in dependency order and reverse dependency order.
+ </para>
</section>