blob: 04334d332f40a43c2f6102c417788cf94218e719 [file] [log] [blame]
Jeff Groom34c28ce2018-04-26 19:42:18 -06001module ciena-waveserver-ptp-modem {
2 namespace "urn:ciena:params:xml:ns:yang:ciena-ws:ciena-waveserver-ptp-modem";
3 prefix ptp-modem;
4
5 import ciena-waveserver-typedefs {
6 prefix cienawstypes;
7 }
8 import ciena-waveserver-ptp {
9 prefix ptp;
10 }
11 import ciena-waveserver-xcvr {
12 prefix xcvr;
13 }
14
15 organization
16 "Ciena Corporation";
17 contact
18 "Web URL: http://www.ciena.com/
19 Postal: 7035 Ridge Road
20 Hanover, Maryland 21076
21 U.S.A.
22 Phone: +1 800-921-1144
23 Fax: +1 410-694-5750";
24 description
25 "This module defines modem-transceiver PTP data for the Waveserver. It augments the ciena-waveserver-ptp module.
26 The PTP model is the signal carried by the modem transceiver at a line port. Automatically provisioned during service module installation.";
27
28 revision 2018-01-15 {
29 description
30 "Updated range and description for 'reach-limit' to match actual accepted values.";
31 reference "Waveserver Ai user's guide.";
32 }
33 revision 2017-08-10 {
34 description
35 "Waveserver Platform Data Model
36 Migrated from Waveserver Classic R1.4 YANG model.
37 Updated namespace to 'ciena-waveserver'.
38 Removed WL3e-specific attributes ('performance-optimization-mode', 'interleaver-mode', 'rotation', 'tx-reduction-mode', 'differential-encoding', 'fast-rx-recovery').
39 Removed obsolete attribute 'fast-receiver-recovery-state'.
40 Removed 'band-plan' and some line-system related attributes.
41 Removed 'actual' frequency.
42 Removed 'performance-statistics' container, which will be represented in the ciena-waveserver-pm module in 'untimed' bins.
43 Removed 'alarms' and 'diagnostics' containers.
44 Renamed 'tx-tuning-mode' to 'laser-tuning-mode', and value 'performance-optimized' value to 'normal'.
45 Renamed 'carrier-centering-mode' to 'laser-centering-mode'.
46 Renamed/updated several dispersion compensation attributes for WLAi.
47 Updated 'channel-contention-detection-avoidance' type from on/off to enabled/disabled.
48 Moved 'colourless-rx-channel' attributes to lane/rx/power/optical-channel-power.
49 Added several WLAi modem-specific attributes.";
50 reference "Waveserver Ai user's guide.";
51 }
52
53 augment "/ptp:waveserver-ptps/ptp:ptps/ptp:properties/ptp:transmitter" {
54 when "../ptp:xcvr-type = 'WaveLogic Ai'" {
55 description
56 "PTP transmitter properties specific to WaveLogic Ai modem.";
57 }
58 description
59 "PTP transmitter properties specific to WaveLogic Ai modem.";
60 container frequency {
61 description
62 "Tx Frequency attributes.";
63 leaf value {
64 type cienawstypes:modem-frequency;
65 units "GHz";
66 description
67 "The configured modem frequency value (GHz). Frequency cannot be modified while Admin State is enabled (except when changing from zero value to another value).";
68 }
69 leaf min-value {
70 type cienawstypes:modem-frequency;
71 units "GHz";
72 config false;
73 description
74 "The minimum supported frequency value, in GHz.";
75 }
76 leaf max-value {
77 type cienawstypes:modem-frequency;
78 units "GHz";
79 config false;
80 description
81 "The maximum supported frequency value, in GHz.";
82 }
83 }
84 container power {
85 description
86 "Tx Power attributes.";
87 leaf value {
88 type cienawstypes:tx-power-lvl;
89 units "dBm";
90 description
91 "The provisioned transmit power in dBm. The range is from -16.0 (-11.0 for EDFA) to -10.0 (4.0 for EDFA). Default is -10.0";
92 }
93 leaf min-value {
94 type cienawstypes:decimal-1-dig;
95 units "dBm";
96 config false;
97 description
98 "The minimum supported tx power value, in dBm.";
99 }
100 leaf max-value {
101 type cienawstypes:decimal-1-dig;
102 units "dBm";
103 config false;
104 description
105 "The maximum supported tx power value, in dBm.";
106 }
107 }
108 }
109 augment "/ptp:waveserver-ptps/ptp:ptps/ptp:properties" {
110 when "ptp:xcvr-type = 'WaveLogic Ai'" {
111 description
112 "PTP properties specific to WaveLogic Ai modem.";
113 }
114 description
115 "PTP properties specific to WaveLogic Ai modem.";
116 container line-system {
117 description
118 "Line System related attributes.";
119 leaf type {
120 type cienawstypes:line-sys-enum;
121 description
122 "Line system type. Default is coloured";
123 }
124 }
125 container modem {
126 description
127 "PTP Modem configuration and operational attributes.";
128 leaf baud-rate {
129 type uint32;
130 units "Gbaud";
131 config false;
132 description
133 "The baud rate value, based off the mode of the parent XCVR.";
134 }
135 leaf class {
136 type enumeration {
137 enum "terrestrial" {
138 description
139 "Terrestrial modem class.";
140 }
141 enum "submarine" {
142 description
143 "Submarine modem class.";
144 }
145 }
146 description
147 "The modem class type, terrestrial or submarine. Configuration requires proper license installed.";
148 }
149 leaf reach-limit {
150 type int16 {
151 range "0|1000|2000|3500|5000|9000|14000";
152 }
153 units "km";
154 description
155 "The maximum reach allowed in km. The possible values are [1000, 2000, 5000] for terrestrial modem class, and [3500, 9000, 14000] for submarine modem class. Configuration requires proper license installed. [0] if the value is unknown/unavailable or inapplicable.";
156 }
157 leaf link-optimization-mode {
158 type enumeration {
159 enum "standard" {
160 description
161 "Standard Mode - Default setting which provides best SNR performance.";
162 }
163 enum "snr-tolerant" {
164 description
165 "SNR Tolerant Mode - Recommended for applications that want to achieve maximum SNR tolerance while still providing reasonable polarization tracking speed and PDL tolerance.";
166 }
167 enum "fast-tracking" {
168 description
169 "Fast Tracking Mode - Recommended for applications that want to maximize SOP tracking.";
170 }
171 enum "spectral-efficiency" {
172 description
173 "Spectral Efficiency Mode - Recommended for applications that want to maximize spectral efficiency by minimizing spectral signal width.";
174 }
175 enum "latency" {
176 description
177 "Low Latency Mode - Recommended for applications that want to minimize transmission latency.";
178 }
179 enum "foreign" {
180 description
181 "Foreign Line Mode - Recommended for applications that require the transmitted signal to be be recognized/controlled by a foreign line system.";
182 }
183 enum "narrow" {
184 description
185 "Narrow Channel Mode - Recommended for applications that want to achieve maximum SNR tolerance over heavily filtered optical link.";
186 }
187 enum "non-linear" {
188 description
189 "Non-Linear Channel Mode - Recommended for applications that want to achieve maximum SNR tolerance on a non-linear fiber link.";
190 }
191 enum "reserved-1" {
192 description
193 "Reserved Mode 1.";
194 }
195 enum "reserved-2" {
196 description
197 "Reserved Mode 2.";
198 }
199 enum "reserved-3" {
200 description
201 "Reserved Mode 3.";
202 }
203 enum "custom" {
204 description
205 "Custom Link Optimization Mode.";
206 }
207 }
208 description
209 "Link Optimization Mode. Default is standard.";
210 }
211 leaf laser-tuning-mode {
212 type enumeration {
213 enum "normal" {
214 description
215 "Normal (performance-optimized) laser tuning mode.";
216 }
217 enum "accelerated" {
218 description
219 "Accelerated laser tuning mode.";
220 }
221 }
222 description
223 "This is the Tuning Mode, which can be set as normal (performance-optimized) or accelerated tuning mode. Default is normal.";
224 }
225 leaf laser-centering-mode {
226 type enumeration {
227 enum "disabled" {
228 description
229 "Laser centering disabled.";
230 }
231 enum "enabled" {
232 description
233 "Laser centering enabled.";
234 }
235 enum "holdover" {
236 description
237 "Laser centering in holdover mode.";
238 }
239 }
240 description
241 "This parameter is used to configure which laser centering mode to apply to the OTM signal.";
242 }
243 leaf laser-centering-range {
244 type decimal64 {
245 fraction-digits 1;
246 range "0.0 .. 3.0";
247 }
248 units "GHz";
249 description
250 "This parameter is used to configure the laser centering range.";
251 }
252 leaf laser-shutdown-mode {
253 type enumeration {
254 enum "accelerated" {
255 description
256 "Laser shutdown accelerated mode.";
257 }
258 enum "normal" {
259 description
260 "Laser shutdown normal mode.";
261 }
262 }
263 description
264 "Laser shutdown mode.";
265 }
266 leaf channel-contention-detection-avoidance {
267 type cienawstypes:enabled-disabled-enum;
268 description
269 "Enables or disables the channel contention detection and avoidance feature. This feature is used to detect the situation where the modem port turns on a wavelength (or frequency in Gridless mode) that is in use by an existing L0 connection on a colorless network. This feature will be triggered by new frequency provisioning and will automatically detects if the provisioned frequency is already used. If the provisioned frequency is already used, it declares channel contention, and then it will hold the Line port TX in a low power state (<-35 dBm) and will raise a Channel Contention alarm. This feature will also provide a mechanism to allow user to manually release the Line port TX from being held in a low power state while the channel collision declared.";
270 }
271 leaf tx-power-reduction-state {
272 type cienawstypes:enabled-disabled-enum;
273 description
274 "This parameter is used to enable Tx blanking functionality. Default is Disabled.";
275 }
276 leaf tx-dispersion-compensation-mode {
277 type enumeration {
278 enum "automatic" {
279 description
280 "Automatic Tx dispersion compensation management mode. This is the default.";
281 }
282 enum "fixed" {
283 description
284 "Fixed Tx dispersion compensation management mode.";
285 }
286 }
287 description
288 "Tx dispersion compensation management mode.";
289 }
290 leaf tx-dispersion-precompensation-value {
291 type int32 {
292 range "-175000..300000";
293 }
294 units "ps/nm";
295 description
296 "Tx compensation dispersion value, in ps/nm. Default is 0 for automatic mode.";
297 }
298 leaf tx-path-dispersion-value {
299 type int32 {
300 range "-175000..381000";
301 }
302 units "ps/nm";
303 description
304 "Tx path dispersion value, in ps/nm.";
305 }
306 leaf tx-dispersion-min {
307 type int32;
308 units "ps/nm";
309 config false;
310 description
311 "Tx dispersion minimum value, in ps/nm.";
312 }
313 leaf tx-dispersion-max {
314 type int32;
315 units "ps/nm";
316 config false;
317 description
318 "Tx dispersion maximum value, in ps/nm.";
319 }
320 leaf actual-tx-link-dispersion {
321 type int32;
322 units "ps/nm";
323 config false;
324 description
325 "Total actual Tx link dispersion, in ps/nm.";
326 }
327 leaf actual-rx-link-dispersion {
328 type int32;
329 units "ps/nm";
330 config false;
331 description
332 "Total actual Rx link dispersion, in ps/nm.";
333 }
334 leaf actual-tx-precompensation-dispersion {
335 type int32;
336 units "ps/nm";
337 config false;
338 description
339 "Actual Tx precompensation dispersion value, in ps/nm. This is the total link dispersion in the near-to-far direction.";
340 }
341 leaf rx-post-compensation-dispersion {
342 type int32;
343 units "ps/nm";
344 config false;
345 description
346 "Rx post-compensation dispersion, in ps/nm.";
347 }
348 leaf estimated-instance-of-differential-group-delay {
349 type uint32;
350 units "ps";
351 config false;
352 description
353 "Estimated instance of differential group delay, in picoseconds (ps).";
354 }
355 leaf mean-supported-differential-group-delay {
356 type uint32;
357 units "ps";
358 config false;
359 description
360 "Mean supported differential group delay, in picoseconds (ps).";
361 }
362 leaf estimated-round-trip-delay {
363 type uint32;
364 units "us";
365 config false;
366 description
367 "Estimated round trip delay, in microseconds (us).";
368 }
369 leaf estimated-unidirectional-latency {
370 type uint32;
371 units "us";
372 config false;
373 description
374 "Estimated unidirectional latency, in microseconds (us).";
375 }
376 leaf estimated-fiber-length {
377 type uint32;
378 units "km";
379 config false;
380 description
381 "Estimated fiber length, in kilometers (km).";
382 }
383 leaf allocated-spectral-width {
384 type cienawstypes:decimal-1-dig;
385 units "GHz";
386 config false;
387 description
388 "Allocated spectral width, in GHz.";
389 }
390 leaf min-spectral-width {
391 type cienawstypes:decimal-1-dig;
392 units "GHz";
393 config false;
394 description
395 "Minimum spectral width, in GHz.";
396 }
397 }
398 }
399 augment "/ptp:waveserver-ptps/ptp:ptps/ptp:properties/ptp:lanes/ptp:lane/ptp:rx/ptp:power" {
400 when "../../../../ptp:xcvr-type = 'WaveLogic Ai'" {
401 description
402 "PTP Rx power properties specific to WaveLogic Ai modem.";
403 }
404 description
405 "PTP Rx power properties specific to WaveLogic Ai modem.";
406 container optical-channel-power {
407 config false;
408 description
409 "The actual Rx power attributes for the channel to which the receiver is tuned.";
410 uses xcvr:optical-power-group;
411 }
412 }
413 augment "/ptp:waveserver-ptps/ptp:ptps/ptp:properties/ptp:lanes/ptp:lane/ptp:rx/ptp:status" {
414 when "../../../../ptp:xcvr-type = 'WaveLogic Ai'" {
415 description
416 "PTP Rx status properties specific to WaveLogic Ai modem.";
417 }
418 description
419 "PTP Rx status properties specific to WaveLogic Ai modem.";
420 container optical-channel-power {
421 config false;
422 description
423 "Optical Channel Rx Power high/low alarm/warning status/thresholds, where applicable for the XCVR type.";
424 uses xcvr:optical-power-status-group;
425 uses xcvr:optical-power-threshold-group;
426 leaf loss-of-signal {
427 type boolean;
428 description
429 "Rx Loss of Optical Channel.";
430 }
431 }
432 }
433}