type uint32;
description "Database connection timeout.";
}
- leaf-list contact-points {
- type inet:ip-address;
+ leaf contact-points {
+ type string;
description "Cassandra database contact points.";
}
leaf keyspace {
}
leaf ncr-protocol {
type enumeration {
- enum "udp";
- enum "tcp";
+ enum "UDP";
+ enum "TCP";
}
- default "udp";
+ default "UDP";
description "Protocol to use for DHCP-DDNS.";
}
leaf ncr-format {
type uint32;
description "Database connection timeout.";
}
- leaf-list contact-points {
- type inet:ip-address;
+ leaf contact-points {
+ type string;
description "Cassandra database contact points.";
}
leaf keyspace {
}
leaf ncr-protocol {
type enumeration {
- enum "udp";
- enum "tcp";
+ enum "UDP";
+ enum "TCP";
}
- default "udp";
+ default "UDP";
description "Protocol to use for DHCP-DDNS.";
}
leaf ncr-format {
}
container output-options {
description "Output options.";
- leaf output {
- type string;
- description "Type of output. Special values are stdout (standard
- output), stderr (standard error), syslog (syslog using default
- name), syslog:name (syslog using specified name). Any other
- value is interpreted as a filename.";
- }
- leaf flush {
- type boolean;
- default true;
- description "When true flush buffers after each message.";
- }
- leaf maxsize {
- type uint32;
- default 10240000;
- description "Maximum size of output file before rotation.
- Values below 204800 including 0 disable rotation.";
- }
- leaf maxver {
- type uint32 {
- range 1..max;
+ list option {
+ key output;
+ leaf output {
+ type string;
+ description "Type of output. Special values are stdout (standard
+ output), stderr (standard error), syslog (syslog using default
+ name), syslog:name (syslog using specified name). Any other
+ value is interpreted as a filename.";
+ }
+ leaf flush {
+ type boolean;
+ default true;
+ description "When true flush buffers after each message.";
+ }
+ leaf maxsize {
+ type uint32;
+ default 10240000;
+ description "Maximum size of output file before rotation.
+ Values below 204800 including 0 disable rotation.";
+ }
+ leaf maxver {
+ type uint32 {
+ range 1..max;
+ }
+ default 1;
+ description "Maximum version to keep a rotated output file.";
}
- default 1;
- description "Maximum version to keep a rotated output file.";
}
}
leaf debuglevel {
}
grouping hooks-libraries {
- description "Hook libraries.";
- list hook-library {
- key library;
- leaf library {
- type string;
- mandatory true;
- description "Path to the DSO.";
- }
- leaf parameters {
- type string;
- description "Parameters (JSON value).";
+ container hooks-libraries {
+ description "Hook libraries.";
+ list hook-library {
+ key library;
+ leaf library {
+ type string;
+ mandatory true;
+ description "Path to the DSO.";
+ }
+ leaf parameters {
+ type string;
+ description "Parameters (JSON value).";
+ }
}
}
}