Commit 42a6835b authored by Ladislav Lhotka's avatar Ladislav Lhotka

Require at least one configured trust anchor

parent ed3febd0
Pipeline #43371 passed with stages
in 50 seconds
...@@ -29,7 +29,7 @@ module cznic-resolver-common { ...@@ -29,7 +29,7 @@ module cznic-resolver-common {
"This YANG module defines the common part of a data model for DNS "This YANG module defines the common part of a data model for DNS
resolvers."; resolvers.";
revision 2018-12-13 { revision 2018-12-17 {
description description
"Initial revision."; "Initial revision.";
reference reference
...@@ -333,6 +333,7 @@ module cznic-resolver-common { ...@@ -333,6 +333,7 @@ module cznic-resolver-common {
} }
list trust-anchor { list trust-anchor {
key "id"; key "id";
min-elements "1";
description description
"List of trust anchors. "List of trust anchors.
......
...@@ -410,6 +410,7 @@ ...@@ -410,6 +410,7 @@
</leaf> </leaf>
<list name="trust-anchor"> <list name="trust-anchor">
<key value="id"/> <key value="id"/>
<min-elements value="1"/>
<description> <description>
<text> <text>
<h:p>List of trust anchors.</h:p> <h:p>List of trust anchors.</h:p>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"module": [ "module": [
{ {
"name": "cznic-resolver-common", "name": "cznic-resolver-common",
"revision": "2018-12-13", "revision": "2018-12-17",
"feature": [ "feature": [
"set-group" "set-group"
], ],
......
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