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:
@@ -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
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user