summaryrefslogtreecommitdiffstats
path: root/src/share/yang/modules/kea-ctrl-agent@2019-08-12.yang
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:15:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:15:43 +0000
commitf5f56e1a1c4d9e9496fcb9d81131066a964ccd23 (patch)
tree49e44c6f87febed37efb953ab5485aa49f6481a7 /src/share/yang/modules/kea-ctrl-agent@2019-08-12.yang
parentInitial commit. (diff)
downloadisc-kea-f5f56e1a1c4d9e9496fcb9d81131066a964ccd23.tar.xz
isc-kea-f5f56e1a1c4d9e9496fcb9d81131066a964ccd23.zip
Adding upstream version 2.4.1.upstream/2.4.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/share/yang/modules/kea-ctrl-agent@2019-08-12.yang')
-rw-r--r--src/share/yang/modules/kea-ctrl-agent@2019-08-12.yang78
1 files changed, 78 insertions, 0 deletions
diff --git a/src/share/yang/modules/kea-ctrl-agent@2019-08-12.yang b/src/share/yang/modules/kea-ctrl-agent@2019-08-12.yang
new file mode 100644
index 0000000..ff25896
--- /dev/null
+++ b/src/share/yang/modules/kea-ctrl-agent@2019-08-12.yang
@@ -0,0 +1,78 @@
+module kea-ctrl-agent {
+ yang-version 1.1;
+ namespace "urn:ietf:params:xml:ns:yang:kea-ctrl-agent";
+ prefix "kea-ctrl-agent";
+
+ import ietf-inet-types {
+ prefix inet;
+ }
+ import kea-types {
+ prefix kea;
+ revision-date 2019-08-12;
+ }
+
+ organization "Internet Systems Consortium";
+ contact "kea-dev@lists.isc.org";
+ description "This model defines a YANG data model that can be
+ used to configure and manage a Kea control agent.";
+
+ revision 2019-08-12 {
+ description "Initial revision";
+ reference "";
+ }
+
+ /*
+ * Data Nodes
+ */
+
+ container config {
+ // config true;
+ description "Contains control agent configuration.";
+
+ leaf http-host {
+ type inet:ip-address;
+ description "IP address to which HTTP service will be bound.";
+ }
+
+ leaf http-port {
+ type uint16;
+ description "Port to which HTTP service will be bound.";
+ }
+
+ container control-sockets {
+ description "Control sockets.";
+ list socket {
+ key server-type;
+ description "List of server control socket.";
+ leaf server-type {
+ type enumeration {
+ enum "dhcp4" {
+ description "kea-dhcp4 server";
+ }
+ enum "dhcp6" {
+ description "kea-dhcp6 server";
+ }
+ enum "d2" {
+ description "kea-dhcp-ddns server";
+ }
+ }
+ mandatory true;
+ description "Server type.";
+ }
+ container control-socket {
+ description "Control socket information.";
+ uses kea:control-socket-info;
+ }
+ }
+ }
+
+ uses kea:hooks-libraries;
+
+ leaf user-context {
+ type kea:user-context;
+ description "Control agent user context.";
+ }
+
+ uses kea:loggers;
+ }
+}