From: Tomek Mrugalski Date: Wed, 17 Oct 2018 10:19:17 +0000 (+0200) Subject: [#5,!53] Updated netconf docs X-Git-Tag: 148-lib-process-servers-without-arguments_base~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c231d5fc9d38f1a166aac0aaeed2ea11c651808;p=thirdparty%2Fkea.git [#5,!53] Updated netconf docs --- diff --git a/doc/guide/netconf.xml b/doc/guide/netconf.xml index 6a310ecb8c..90943ff26d 100644 --- a/doc/guide/netconf.xml +++ b/doc/guide/netconf.xml @@ -292,18 +292,20 @@ ietf-dhcpv6-types | 2018-01-30 | Imported | | - The validate-changes controls the subscription - option: when true (the default) a module change callback - is subscribed for both validation and application, when false - it is subscribed only for application. - - + The validate-changes controls how Kea monitors + the changes in Sysrepo configuration. Sysrepo offers two stages + where Kea could interact: validation and application. The first one + is called validation (or SR_EV_VERIFY in Sysrepo naming + convention). At this stage Kea will get the new configuration being + committed and will verify it. If the configuration is incorrect for + whatever reason, Kea servers will reject it, the error will be + propagated back to the Sysrepo, which in will return an error to + whoever tried to commit those changes. This step only takes place if + validate-changes is set to true. There is also a second step called + application (or SR_EV_APPLY in Sysrepo naming convention), where + the actual configuration is being applied. At this stage Kea can + receive the configuration, but it is too late to signal back any + errors, as the configuration has been comitted already. @@ -333,11 +335,14 @@ ietf-dhcpv6-types | 2018-01-30 | Imported | | - With module change subscriptions the sysrepocfg - command is used to modify YANG configurations in the running - datastore. Note committed configurations are only updated in - the running datastore: to keep them between server reboots - they must be copied to the startup datastore. + With module change subscriptions enabled, the kea-netconf daemon will + monitor any configuration changes as they appear in the sysrepo. Such + changes can be done using sysrepocfg tool or remotely + using any NETCONF client. For details, please see Sysrepo + documentation. Those tools can be used to modify YANG configurations in + the running datastore. Note committed configurations are only updated in + the running datastore: to keep them between server reboots they must be + copied to the startup datastore. @@ -422,10 +427,11 @@ ietf-dhcpv6-types | 2018-01-30 | Imported | | model specifies the YANG model / module name. - +