Reduce exception guard
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / resources / restconf / parser / deserializer / deserializer-test-included.yang
1 module deserializer-test-included {
2   namespace "deserializer:test:included";
3   prefix "dti";
4   yang-version 1;
5
6   revision 2016-06-06 {
7     description
8       "Initial revision.";
9   }
10
11   identity root-identity {
12     description "Test root identity.";
13   }
14
15   list augmented-list {
16     key list-key;
17
18     leaf list-key {
19       type uint16;
20     }
21
22     leaf list-value {
23       type string;
24     }
25   }
26
27   container refs {
28     list list-with-identityref {
29       key "id";
30
31       leaf id {
32         type leafref {
33           path "../../ref";
34         }
35       }
36
37       leaf foo {
38         type empty;
39       }
40     }
41
42     leaf ref {
43       type identityref {
44         base "root-identity";
45       }
46     }
47   }
48 }