blob: 05836665441d489a014251da90d482e8c84d3ac2 [file] [log] [blame]
module default-deny-all-extension-ref-test {
namespace "urn:ietf:params:xml:ns:yang:ietf-netconf-acm";
prefix "nacm";
description
"This version of this YANG module is part of RFC 6536; see
the RFC itself for full legal notices.";
revision 2016-12-08 {
description
"Initial revision.";
}
extension default-deny-all {
description
"Used to indicate that the data model node
controls a very sensitive security system parameter.";
}
container test {
nacm:default-deny-all;
leaf test1 {
type string {
length 1..6;
}
description "A leaf without an extension";
}
leaf test2 {
nacm:default-deny-all;
type string {
length 1..6;
}
description "A leaf with an extension";
}
leaf-list test3 {
nacm:default-deny-all;
type string {
length 1..6;
}
description "A leaf-list with an extension";
}
list test4 {
key test4a;
nacm:default-deny-all;
description "A list with the extension";
leaf test4a {
type uint8;
description "Key leaf in the list";
}
leaf test4b {
type string {
length 1..6;
}
description "Another leaf in the list";
}
}
}
rpc testrpc {
nacm:default-deny-all;
description "An rpc with default-deny-all";
}
notification testnotif {
nacm:default-deny-all;
description "An rpc with default-deny-all";
leaf test4b {
type string {
length 1..6;
}
description "Another leaf in the list";
}
}
}