Updated data models and example data #2

parent a21c5906
......@@ -33,7 +33,7 @@ module dns-server {
"This YANG module defines the data model for an authoritative DNS
server.";
revision 2016-01-14 {
revision 2016-08-03 {
description
"Initial revision.";
reference
......@@ -191,7 +191,7 @@ module dns-server {
leaf name {
type string;
description
"The name of the list entry.";
"Name of a list entry.";
}
}
......
......@@ -36,7 +36,7 @@ module knot-dns {
reference
"https://www.knot-dns.cz/docs/2.0/html/";
revision 2016-06-08 {
revision 2016-08-03 {
description
"Initial revision.";
reference
......@@ -262,7 +262,7 @@ module knot-dns {
- stderr: log messages are sent to standard error,
- stderr: log messages are passed to the syslog
- syslog: log messages are passed to the syslog
facility.";
}
uses dnss:description;
......@@ -401,7 +401,7 @@ module knot-dns {
}
augment "/dnss:dns-server/dnss:query-module" {
when "dnss:type = 'knot:dnstap'";
when "derived-from-or-self(dnss:type, 'knot:dnstap')";
description
"Configuration of 'dnstap' query module.";
container dnstap {
......@@ -433,7 +433,7 @@ module knot-dns {
}
augment "/dnss:dns-server/dnss:query-module" {
when "dnss:type = 'knot:synth-record'";
when "derived-from-or-self(dnss:type, 'knot:synth-record')";
description
"Configuration of 'synth-record' query module.";
container synth-record {
......@@ -495,7 +495,7 @@ module knot-dns {
}
augment "/dnss:dns-server/dnss:query-module" {
when "dnss:type = 'knot:dnsproxy'";
when "derived-from-or-self(dnss:type, 'knot:dnsproxy')";
description
"Configuration of 'dnsproxy' query module.";
container dnsproxy {
......@@ -514,7 +514,7 @@ module knot-dns {
}
augment "/dnss:dns-server/dnss:query-module" {
when "dnss:type = 'knot:rosedb'";
when "derived-from-or-self(dnss:type, 'knot:rosedb')";
description
"Configuration of 'rosedb' query module.";
container rosedb {
......
......@@ -9,16 +9,9 @@
"conformance-type": "import",
"schema": "https://gitlab.labs.nic.cz/labs/dns-server-yang/raw/master/dns-parameters.yang"
},
{
"name": "iana-dns-parameters",
"revision": "2016-08-03",
"namespace": "http://www.nic.cz/ns/yang/dns-parameters",
"conformance-type": "implement",
"schema": "https://gitlab.labs.nic.cz/llhotka/zone-data-yang/blob/master/iana-dns-parameters.yang"
},
{
"name": "dns-server",
"revision": "2016-01-14",
"revision": "2016-08-03",
"namespace": "http://www.nic.cz/ns/yang/dns-server",
"feature": [
"acl-entry-port",
......@@ -28,13 +21,6 @@
"conformance-type": "implement",
"schema": "https://gitlab.labs.nic.cz/labs/dns-server-yang/raw/master/dns-server.yang"
},
{
"name": "dns-zones",
"revision": "2016-08-04",
"namespace": "http://www.nic.cz/ns/yang/dns-zones",
"conformance-type": "implement",
"schema": "https://gitlab.labs.nic.cz/llhotka/zone-data-yang/blob/master/dns-zones.yang"
},
{
"name": "dnssec-algorithms",
"revision": "2016-01-13",
......@@ -78,7 +64,7 @@
},
{
"name": "knot-dns",
"revision": "2016-01-13",
"revision": "2016-08-03",
"namespace": "http://www.nic.cz/ns/yang/knot-dns",
"conformance-type": "implement",
"schema": "https://gitlab.labs.nic.cz/labs/dns-server-yang/raw/master/knot-dns.yang"
......@@ -89,6 +75,20 @@
"namespace": "http://www.nic.cz/ns/yang/tsig-algorithms",
"conformance-type": "implement",
"schema": "https://gitlab.labs.nic.cz/labs/dns-server-yang/raw/master/tsig-algorithms.yang"
},
{
"name": "dns-zones",
"revision": "2016-08-04",
"namespace": "http://www.nic.cz/ns/yang/dns-zones",
"conformance-type": "implement",
"schema": "https://gitlab.labs.nic.cz/labs/zone-data-yang/raw/master/dns-zones.yang"
},
{
"name": "iana-dns-parameters",
"revision": "2016-08-03",
"namespace": "http://www.nic.cz/ns/yang/iana-dns-parameters",
"conformance-type": "implement",
"schema": "https://gitlab.labs.nic.cz/labs/zone-data-yang/raw/master/iana-dns-parameters.yang"
}
]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment