blob: a817a249f62910773b4f04f04ed5320052577b00 (
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
module hc-data{
yang-version 1;
namespace "urn:opendaylight:params:xml:ns:yang:hc:data";
prefix "hc-d-i";
revision "2015-01-05" {
description "Testing HC model for test data injection";
}
import yang-ext {
prefix "ext";
}
container simple-container{
list simple-list{
key name;
leaf name{
type string;
}
container cont-under-list{
leaf nested-name{
type string;
}
}
}
container nested-container{
leaf name{
type string;
}
}
container nested-container-with-list{
list nested-list{
key name;
leaf name{
type string;
}
}
}
choice simple-choice{
case first-case{
leaf name{
type string;
}
}
case second-case{
container case-container{
leaf name{
type string;
}
}
}
}
container augmented-container{
}
}
augment /hc-d-i:simple-container/hc-d-i:augmented-container{
ext:augment-identifier "aug-container-augmentation";
leaf name-in-augment{
type string;
}
}
}
|