2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[5-netconf-extend-syntax] Extended syntax

This commit is contained in:
Francis Dupont
2018-10-10 12:22:10 +02:00
parent 8ddd1a7b1c
commit d49a76b978
20 changed files with 1818 additions and 1171 deletions

View File

@@ -4,6 +4,16 @@
{
"Netconf":
{
// Three flags control netconf (default values are true):
// - "boot-update" about the YANG configuration load when
// netconf boots.
// - "subscribe-changes" about the subscription to notifications
// when the running YANG module is changed.
// - "validate-changes" alloes to validate or not changes.
"boot-update": true,
"subscribe-changes": true,
"validate-changes": true,
// This map specifies how each server is managed:
// the YANG model to use and the control channel.
"managed-servers":
@@ -16,6 +26,12 @@
// DHCPv4 server is kea-dhcp4-server model.
"model": "kea-dhcp4-server",
// The three control flags can be defined in this scope too
// and takes precedence over global and default values.
"boot-update": false,
"subscribe-changes": false,
"validate-changes": false,
// Currently three control channel types are supported:
// - "stdout" which output the configuration on the standard
// output (this is mainly for testing purposes, but you can

View File

@@ -3,6 +3,14 @@
{
"Netconf":
{
// Control flags can be defined in the global scope or
// in a managed server scope. Precedence are:
// - use the default value (true)
// - use the global value
// - use the local value.
// So this overwrites the default value:
"boot-update": false,
// This map specifies how each server is managed:
// the YANG model to use and the control channel.
// Currently three control channel types are supported: