blob: 8a83ab56f328a764a36cd088008c59526616dec0 (
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
|
module hc-aug-test {
yang-version 1;
namespace "urn:opendaylight:params:xml:ns:yang:hc:aug:test";
prefix "hcat";
revision "2017-01--9" {
description "Test model for aumentations of augmentations (https://jira.fd.io/browse/HONEYCOMB-302)";
}
import yang-ext {
prefix "ext";
}
container aug-target {
leaf some-leaf {
type string;
}
}
augment "/aug-target" {
ext:augment-identifier "from-augment-augment";
container from-augment {
leaf some-leaf {
type string;
}
}
}
augment "/aug-target" {
ext:augment-identifier "simple-augment";
leaf simple-augment-leaf {
type string;
}
}
augment "/aug-target/from-augment" {
ext:augment-identifier "simple-nested-augment";
leaf simple-nested-augment-leaf {
type string;
}
}
augment "/aug-target/from-augment" {
ext:augment-identifier "from-augment2-augment";
container from-augment-2 {
leaf new-leaf {
type string;
}
}
}
augment "/aug-target/from-augment" {
ext:augment-identifier "from-augment-list-augment";
list from-augment-entry {
key some-leaf;
leaf some-leaf {
type string;
}
}
}
}
|