Code Review
/
netconf.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
268433624a09796cc7610ea4035ee119cabd2b17
[netconf.git]
/
restconf
/
restconf-nb-bierman02
/
src
/
test
/
resources
/
ordered
/
by
/
user
/
ordered-by-user-example.yang
1
module ordered-example {
2
namespace "ordered:example";
3
prefix "oex";
4
5
revision 2016-11-13 {
6
description
7
"Initial revision.";
8
}
9
10
container cont {
11
list playlist {
12
key name;
13
14
leaf name {
15
type string;
16
}
17
list song {
18
key index;
19
ordered-by user;
20
21
leaf index {
22
type uint32;
23
}
24
leaf id {
25
type instance-identifier;
26
mandatory true;
27
description
28
"Song identifier. Must identify an instance of
29
/songs-cont/songs/song-name.";
30
}
31
}
32
}
33
}
34
35
container songs-cont{
36
list songs{
37
key song-name;
38
39
leaf song-name{
40
type string;
41
}
42
}
43
}
44
}