-
Notifications
You must be signed in to change notification settings - Fork 3
/
openconfig-implementation-bundle.yang
56 lines (46 loc) · 1.37 KB
/
openconfig-implementation-bundle.yang
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
module openconfig-implementation-bundle {
yang-version "1.1";
namespace "http://openconfig.net/yang/implementation-bundle";
prefix "oc-implementation";
import openconfig-module-catalog { prefix oc-cat; }
import openconfig-extensions { prefix oc-ext; }
organization
"";
contact
"";
description
"";
revision 2016-11-05 {
description
"Initial";
}
oc-ext:openconfig-version "0.0.1";
augment "/oc-cat:organizations/oc-cat:organization" {
list implementation {
key "id";
description
"A list of implementations";
leaf id {
type string;
}
list module {
key "organization name revision";
leaf organization {
type leafref {
path "/oc-cat:organizations/oc-cat:organization/oc-cat:name";
}
}
leaf name {
type leafref {
path "deref(../organization)/../oc-cat:modules/oc-cat:module/oc-cat:name";
}
}
leaf revision {
type leafref {
path "deref(../name)/../oc-cat:revision";
}
}
}
}
}
}