summaryrefslogtreecommitdiffstats
path: root/netconf/restconf/restconf-nb-bierman02/src/test/resources/parser-identifier/parser-identifier-test.yang
blob: ac91dc1bfcfe74e135315ff0b68d738f20d04b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
module parser-identifier {
  namespace "parser:identifier";
  prefix "parserid";
  yang-version 1;

  import parser-identifier-included { prefix pii; revision-date 2016-06-02; }

  revision 2016-06-02 {
    description
      "Initial revision.";
  }

  container cont1 {
    container cont2 {
      list listTest {
        uses group;
      }
    }
  }

  grouping group {
    list list-in-grouping {
      key name;

      leaf name {
        type string;
      }

      leaf leaf-A.B {
        type uint8;
      }
    }
  }

  augment "/pii:list-1" {
    leaf augment-leaf {
      type string;
    }
  }
}