From f0eb96b9ae6c11e3e462acb81bb335fda78d7f63 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Wed, 17 Oct 2018 14:29:30 +0200 Subject: [PATCH] [5-netconf-doc-config] Final changes --- doc/guide/netconf.xml | 46 +++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/doc/guide/netconf.xml b/doc/guide/netconf.xml index 90943ff26d..2adcbb5390 100644 --- a/doc/guide/netconf.xml +++ b/doc/guide/netconf.xml @@ -293,19 +293,22 @@ ietf-dhcpv6-types | 2018-01-30 | Imported | | 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. + 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 event 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 event 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. @@ -330,8 +333,10 @@ ietf-dhcpv6-types | 2018-01-30 | Imported | | } Note the alternative to boot with full configurations does not - allow an easy track of changes, so it not really compatible with - the YANG / Netconf configuration management paradigm. + allow an easy track of changes or synchronization between the JSON + and YANG sources of configurations. So it not really compatible with + the YANG / Netconf configuration management paradigm where + everything should be performed in YANG. @@ -427,11 +432,9 @@ ietf-dhcpv6-types | 2018-01-30 | Imported | | model specifies the YANG model / module name. - + For each service the default is the corresponding Kea YANG model, + e.g. for "dhcp4" it is + "kea-dhcp4-server". @@ -481,7 +484,8 @@ ietf-dhcpv6-types | 2018-01-30 | Imported | | User contexts can store arbitrary data as long as it is valid JSON syntax and its top level element is a map (i.e. the data must be enclosed in curly brackets). They are accepted at the Netconf entry, - managed service entry and control socket scopes. + i.e. below the toplevel, managed service entry and control socket + entry scopes. -- 2.47.2