-
Notifications
You must be signed in to change notification settings - Fork 2
/
ietf-ospf-bfd.yang
143 lines (120 loc) · 3.65 KB
/
ietf-ospf-bfd.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
module ietf-ospf-bfd {
namespace "urn:ietf:params:xml:ns:yang:ietf-ospf-bfd";
prefix ospf-bfd;
import ietf-routing {
prefix "rt";
}
import ietf-ospf {
prefix "ospf";
}
organization
"Cisco Systems
170 West Tasman Drive
San Jose, CA 95134-1706
USA";
contact
"WG Web: <http://tools.ietf.org/wg/ospf/>
WG List: <mailto:ospf@ietf.org>
WG Chair: Acee Lindem
<mailto:acee@cisco.com>
WG Chair: Abhay Roy
<mailto:akr@cisco.com>
Editor: Derek Yeung
<mailto:derek@arrcus.com>
Author: Derek Yeung
<mailto:derek@arrcus.com>
Author: Yingzhen Qu
<mailto:yiqu@cisco.com>
Author: Acee Lindem
<mailto:acee@cisco.com>
Author: Jeffrey Zhang
<mailto:zzhang@juniper.net>
Author: Ing-Wher Chen
<mailto:ichen@kuatrotech.com>
Author: Greg Hankins
<mailto:greg.hankins@alcatel-lucent.com>";
description
"This YANG module defines the generic configuration
and operational state for OSPF BFD, which is common
across all of the vendor implementations. It is
intended that the module will be extended by vendors to
define vendor-specific OSPF BFD configuration
and operational parameters and policies.
Terms and Acronyms
OSPF (ospf): Open Shortest Path First
IP (ip): Internet Protocol
IPv4 (ipv4):Internet Protocol Version 4
IPv6 (ipv6): Internet Protocol Version 6
";
revision 2016-10-31 {
description
"* Update authors information.
* Rename bfd/enabled to bfd/enable";
reference
"RFC XXXX: A YANG Data Model for OSPF BFD.";
}
revision 2016-07-07 {
description
"* Change routing-protocol to control-plane-protocol.";
reference
"RFC XXXX: A YANG Data Model for OSPF BFD.";
}
revision 2016-03-20 {
description
"* Remove routing-instance.
* Remove use of bfd-protocol-parms from ietf-bfd module.
* Remove import of ietf-bfd module.";
reference
"RFC XXXX: A YANG Data Model for OSPF BFD.";
}
revision 2015-10-19 {
description
"Initial revision.";
reference
"RFC XXXX: A YANG Data Model for OSPF BFD.";
}
/* Configuration */
augment "/rt:routing/rt:control-plane-protocols/"
+ "rt:control-plane-protocol/ospf:ospf/ospf:instance/"
+ "ospf:areas/ospf:area/ospf:interfaces/ospf:interface" {
when "../../../../../../rt:type = 'ospf:ospfv2' or "
+ "../../../../../../rt:type = 'ospf:ospfv3'" {
description
"This augments the OSPF routing protocol when used";
}
description
"This augments OSPF protocol configuration
with BFD.";
container bfd {
description "BFD configuration.";
leaf enable {
type boolean;
default false;
description
"True if BFD is enabled for the OSPF interface.";
}
}
}
/* Operational states */
augment "/rt:routing-state/"
+ "rt:control-plane-protocols/rt:control-plane-protocol/"
+ "ospf:ospf/ospf:instance/ospf:areas/ospf:area/"
+ "ospf:interfaces/ospf:interface" {
when "../../../../../../rt:type = 'ospf:ospfv2' or "
+ "../../../../../../rt:type = 'ospf:ospfv3'" {
description
"This augments the OSPF routing protocol when used";
}
description
"This augments OSPF protocol operation
with BFD.";
container bfd {
description "BFD operation.";
leaf enable {
type boolean;
description
"True if BFD is enabled for the OSPF interface.";
}
}
}
}