Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Bug 7847: Implement YANG 1.1 XPath functions in YangFunctionContext
[yangtools.git]
/
yang
/
yang-data-jaxen
/
src
/
test
/
resources
/
yang-xpath-functions-test
/
enum-value-function
/
foo.yang
1
module foo {
2
namespace foo-ns;
3
prefix foo-prefix;
4
yang-version 1.1;
5
6
revision 2017-04-03;
7
8
container my-container {
9
list alarm {
10
key severity;
11
12
leaf ordinary-leaf {
13
type string;
14
}
15
16
leaf severity {
17
type enumeration {
18
enum cleared {
19
value 1;
20
}
21
enum indeterminate {
22
value 2;
23
}
24
enum minor {
25
value 3;
26
}
27
enum warning {
28
value 4;
29
}
30
enum major {
31
value 5;
32
}
33
enum critical {
34
value 6;
35
}
36
}
37
}
38
}
39
}
40
}