blob: c10ba2b96f4da7b7ebc90c8c8aeeb1f4ce0643cc [file] [log] [blame]
janani b23ccc312016-07-14 19:35:22 +05301module SelfResolutionWhenLeafrefInModuleReferToInvalidNode {
janani be18b5342016-07-13 21:06:41 +05302 yang-version 1;
3 namespace "urn:ietf:params:xml:ns:yang:ietf-network";
4 prefix nd;
5 container networks {
6 description
7 "Serves as top-level container for a list of networks.";
8 leaf network-id {
9 type uint8;
10 description
11 "Identifies a network.";
12 }
13 }
14 leaf network-ref {
15 type leafref {
16 path "/define/network-id";
17 }
18 }
janani b23ccc312016-07-14 19:35:22 +053019}