-
Notifications
You must be signed in to change notification settings - Fork 19
/
bbf-fastdsl.yang
247 lines (221 loc) · 7.92 KB
/
bbf-fastdsl.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
module bbf-fastdsl {
yang-version 1.1;
namespace "urn:bbf:yang:bbf-fastdsl";
prefix bbf-fastdsl;
import ietf-interfaces {
prefix if;
}
import iana-if-type {
prefix ianaift;
}
import bbf-availability {
prefix bbf-avail;
}
organization
"Broadband Forum <https://www.broadband-forum.org>
Common YANG Work Area";
contact
"Comments or questions about this Broadband Forum YANG module
should be directed to <mailto:[email protected]>.
Editor: Ken Kerpez, ASSIA, Inc.
Editor: Joey Boyd, ADTRAN
PS Leader: Sowrirajan Padmanabhan, Nokia
PS Leader: Joey Boyd, ADTRAN
WA Director: Sven Ooghe, Nokia
WA Director: Joey Boyd, ADTRAN";
description
"This module contains a collection of YANG definitions for
supporting the Broadband Forum requirements on management of
interfaces which support one or more DSL or G.fast technologies.
As such, this module is specific to access network equipment
(e.g., BBF-specified Access Nodes and FTTdp DPUs).
Copyright (c) 2016-2020 Broadband Forum
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the following
conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials
provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products
derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The above license is used as a license under copyright only.
Please reference the Forum IPR Policy for patent licensing terms
<https://www.broadband-forum.org/ipr-policy>.
Any moral rights which are necessary to exercise under the above
license grant are also deemed granted under this license.
This version of this YANG module is part of TR-355a3; see
the TR itself for full legal notices.";
revision 2020-10-13 {
description
"Amendment 3.
* Approval Date: 2020-10-13
* Publication Date: 2020-10-13.";
reference
"TR-355a3: YANG Modules for FTTdp Management
<https://www.broadband-forum.org/download/
TR-355_Amendment-3.pdf>";
}
revision 2019-06-11 {
description
"Amendment 2.
* Approval Date: 2019-06-11
* Publication Date: 2019-06-11.";
reference
"TR-355a2: YANG Modules for FTTdp Management
<https://www.broadband-forum.org/technical/download/
TR-355_Amendment-2.pdf>";
}
revision 2018-10-01 {
description
"Amendment 1.
* Approval Date: 2018-10-01
* Publication Date: 2018-10-01.";
reference
"TR-355a1: YANG Modules for FTTdp Management
<https://www.broadband-forum.org/technical/download/
TR-355_Amendment-1.pdf>";
}
revision 2017-11-27 {
description
"Corrigendum 2 (fixes to the previous revision).
* Approval Date: see revision date above.
* Publication Date: 2018-01-19.";
reference
"TR-355c2: YANG Modules for FTTdp Management
<https://www.broadband-forum.org/technical/download/
TR-355_Corrigendum-2.pdf>";
}
revision 2017-03-13 {
description
"Corrigendum 1 (fixes to the initial revision).
* Approval Date: see revision date above.
* Publication Date: 2017-04-12.";
reference
"TR-355c1: YANG Modules for FTTdp Management
<https://www.broadband-forum.org/technical/download/
TR-355_Corrigendum-1.pdf>";
}
revision 2016-07-18 {
description
"Initial revision.
* Approval Date: see revision date above.
* Publication Date: 2016-08-05.";
reference
"TR-355: YANG Modules for FTTdp Management
<https://www.broadband-forum.org/technical/download/
TR-355.pdf>";
}
identity fastdsl-mode {
description
"Base identity for FastDSL modes.";
}
identity mode-fast {
base fastdsl-mode;
description
"ITU-T G.9701 G.fast.";
}
identity mode-vdsl {
base fastdsl-mode;
description
"ITU-T G.993.2 VDSL2 or derived technology.";
}
identity configured-mode-fast-not-supported {
base bbf-avail:issue-tag;
description
"The configured mode, 'mode-fast' of the FastDSL line is not
supported.";
}
identity configured-mode-vdsl-not-supported {
base bbf-avail:issue-tag;
description
"The configured mode, 'mode-vdsl' of the FastDSL line is not
supported.";
}
typedef fastdsl-mode-ref {
type identityref {
base fastdsl-mode;
}
description
"Reference to a FastDSL mode of operation.";
}
augment "/if:interfaces/if:interface" {
when "if:type = 'ianaift:fastdsl'" {
description
"Only applicable when the interface type is 'fastdsl'.";
}
description
"Data nodes for the configuration of FastDSL lines.";
container line {
presence
"If present, indicates that the interface is able to operate
according to the appropriate ITU-T specification for one
or more DSL or G.fast technologies.";
description
"Line configuration data for FastDSL interfaces.";
leaf-list supported-mode {
type fastdsl-mode-ref;
config false;
status deprecated;
description
"Supported mode(s) of operation.";
}
leaf-list configured-mode {
type fastdsl-mode-ref;
description
"Configured mode(s) of operation. If no elements exist, the
configured mode is undetermined.";
}
}
}
augment "/if:interfaces-state/if:interface" {
when "if:type = 'ianaift:fastdsl'" {
description
"Only applicable when the interface type is 'fastdsl'.";
}
description
"Data nodes for the operational state of FastDSL lines.";
container line {
presence
"If present, indicates that the interface is able to operate
according to the appropriate ITU-T specification for one
or more DSL or G.fast technologies.";
description
"Line state data for FAST interfaces.";
leaf operational-mode {
type union {
type enumeration {
enum undetermined {
description
"The current mode of operation is undetermined. This
is most likely due to the fact that G.hs has not
completed the first time.";
}
}
type fastdsl-mode-ref;
}
description
"Current mode of operation. Upon initialization, the mode
will be undetermined until G.hs successfully completes
for the first time.";
}
}
}
}