Code Review
/
mdsal.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Fix leafref-to-enum encoding
[mdsal.git]
/
binding
/
mdsal-binding-test-model
/
src
/
main
/
yang
/
mdsal552.yang
1
module mdsal552 {
2
yang-version 1.1;
3
namespace "mdsal552";
4
prefix mdsal552;
5
6
leaf output_a {
7
type enumeration {
8
enum uptest {
9
value 0;
10
}
11
enum down_test {
12
value 1;
13
}
14
}
15
}
16
17
rpc ref_test {
18
description "RPC enum validation using leafref";
19
input {
20
leaf input_a {
21
type uint32;
22
}
23
}
24
output {
25
leaf outputref {
26
type leafref {
27
path "/output_a";
28
}
29
}
30
}
31
}
32
}