summaryrefslogtreecommitdiffstats
path: root/netconf/restconf/restconf-nb-bierman02/src/test/resources/nn-to-json/simple-yang-types/simple-yang-types.yang
blob: fdb3bfb9ead1773f632a97cbde036e6c81260177 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
module simple-yang-types {
  namespace "simple:yang:types";  

  prefix "smptp";
   revision 2013-11-5 {
    description  "Initial revision.";
  }
  
  container cont1 {
	  leaf lf11 {
	  	type string;
	  }
	  leaf-list lflst11 {
	  	type int32;
	  }
	  leaf-list lflst12 {
	  	type string;
	  }
	  list lst11 {
	  	key "lf111";
	  	leaf lf111 {
	  		type uint8;
	  	}
	  	leaf lf112 {
	  		type string;
	  	}	  	
	  	container cont111 {
	  		leaf lf1111 {
	  			type string;
	  		}
	  		leaf-list lflst1111 {
	  			type int32;
	  		}
	  		list lst1111 {
	  			leaf lf1111A {
	  				type string;
	  			}
	  			leaf lf1111B {
	  				type uint8;
	  			}
	  		}
	  	}
	  	list lst111 {
	  		leaf lf1111 {
	  			type int32;
	  		}
	  	}
	  	list lst112 {
	  		leaf lf1121 {
	  			type string;
	  		}
	  	}	  	
	  }
	  
  }

}