forked from FRRouting/frr
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfrr-module-translator.yang
68 lines (63 loc) · 1.49 KB
/
frr-module-translator.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
57
58
59
60
61
62
63
64
65
66
67
68
module frr-module-translator {
yang-version 1.1;
namespace "http://frrouting.org/yang/frr-module-translator";
prefix frr-module-translator;
organization
"Free Range Routing";
contact
"FRR Users List: <mailto:frog@lists.frrouting.org>
FRR Development List: <mailto:dev@lists.frrouting.org>";
description
"A model for FRR YANG module translators.";
revision 2018-07-31 {
description
"Initial revision.";
}
container frr-module-translator {
leaf family {
type string {
length "0 .. 32";
}
mandatory true;
description
"Family of YANG models.";
}
list module {
key "name";
ordered-by user;
description
"YANG module.";
leaf name {
type string;
description
"Module name.";
}
leaf deviations {
type string;
mandatory true;
description
"Module containing the YANG deviations.";
}
list mappings {
key "custom";
description
"YANG mappings between the custom module and FRR native modules.";
leaf custom {
type string {
length "0 .. 256";
}
description
"YANG path of the custom module.";
}
leaf native {
type string {
length "0 .. 256";
}
mandatory true;
description
"Corresponding path of the native YANG modules";
}
}
}
}
}