Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
YANGTOOLS-706: Split out yang-parser-rfc7950
[yangtools.git]
/
yang
/
yang-parser-rfc7950
/
src
/
test
/
resources
/
added-by-uses-leaf-test
/
import-module.yang
1
module import-module {
2
prefix imp;
3
namespace "import-module";
4
5
revision 1970-01-02 {
6
description "Initial revision.";
7
}
8
9
typedef imp-type {
10
type string {
11
length "0..100";
12
}
13
}
14
15
grouping imp_grp {
16
17
typedef grp-type {
18
type string {
19
length "20..30";
20
}
21
}
22
23
leaf my-leaf2 {
24
type grp-type;
25
}
26
27
leaf union-leaf {
28
type union {
29
type int16;
30
type string;
31
}
32
}
33
}
34
}
35