1 module ietf-otn-types {
2 namespace "urn:ietf:params:xml:ns:yang:ietf-otn-types";
6 "IETF CCAMP Working Group";
8 "WG Web: <http://tools.ietf.org/wg/ccamp/>
9 WG List: <mailto:ccamp@ietf.org>
12 <mailto:zhenghaomian@huawei.com>
15 <mailto:aihuaguo@huawei.com>
18 <mailto:italo.busi@huawei.com>
21 <mailto:ansha@google.com>
24 <mailto:rrao@infinera.com>
26 Editor: Sergio Belotti
27 <mailto:sergio.belotti@nokia.com>
30 <mailto:victor.lopezalvarez@telefonica.com>
33 <mailto:liyunbo@chinamobile.com>
36 <mailto:xuyunbin@ritt.cn>";
39 "This module defines OTN types.";
41 revision "2018-06-07" {
45 "draft-ietf-ccamp-otn-tunnel-model-02";
48 identity tributary-slot-granularity {
50 "Tributary slot granularity";
52 "G.709/Y.1331, February 2016: Interfaces for the Optical
53 Transport Network (OTN)";
57 base tributary-slot-granularity;
59 "1.25G tributary slot granularity";
63 base tributary-slot-granularity;
65 "2.5G tributary slot granularity";
68 identity tsg-1.25Gand2.5G {
69 base tributary-slot-granularity;
71 "Both 1.25G and 2.5G tributary slot granularity";
74 identity tributary-protocol-type {
76 "Base identity for protocol framing used by tributary signals";
80 base tributary-protocol-type;
82 "OTU1 protocol (2.66G)";
86 base tributary-protocol-type;
88 "OTU1e type (11.04G)";
92 base tributary-protocol-type;
94 "OTU1f type (11.27G)";
98 base tributary-protocol-type;
100 "OTU2 type (10.70G)";
103 identity prot-OTU2e {
104 base tributary-protocol-type;
106 "OTU2e type (11.09G)";
109 identity prot-OTU2f {
110 base tributary-protocol-type;
112 "OTU2f type (11.31G)";
116 base tributary-protocol-type;
118 "OTU3 type (43.01G)";
121 identity prot-OTU3e1 {
122 base tributary-protocol-type;
124 "OTU3e1 type (44.57G)";
127 identity prot-OTU3e2 {
128 base tributary-protocol-type;
130 "OTU3e2 type (44.58G)";
134 base tributary-protocol-type;
136 "OTU4 type (111.80G)";
139 identity prot-OTUCn {
140 base tributary-protocol-type;
142 "OTUCn type (beyond 100G)";
146 base tributary-protocol-type;
148 "ODU0 protocol (1.24G)";
152 base tributary-protocol-type;
154 "ODU1 protocol (2.49G)";
157 identity prot-ODU1e {
158 base tributary-protocol-type;
160 "ODU1e protocol (10.35G).";
163 identity prot-ODU1f {
164 base tributary-protocol-type;
166 "ODU1f protocol (10.56G).";
170 base tributary-protocol-type;
172 "ODU2 protocol (10.03G)";
175 identity prot-ODU2e {
176 base tributary-protocol-type;
178 "ODU2e protocol (10.39G)";
181 identity prot-ODU2f {
182 base tributary-protocol-type;
184 "ODU2f protocol (10.60G).";
188 base tributary-protocol-type;
190 "ODU3 protocol (40.31G)";
193 identity prot-ODU3e1 {
194 base tributary-protocol-type;
196 "ODU3e1 protocol (41.77G).";
199 identity prot-ODU3e2 {
200 base tributary-protocol-type;
202 "ODU3e2 protocol (41.78G).";
206 base tributary-protocol-type;
208 "ODU4 protocol (104.79G)";
211 identity prot-ODUFlex-cbr {
212 base tributary-protocol-type;
214 "ODU Flex CBR protocol for transporting constant bit rate
218 identity prot-ODUFlex-gfp {
219 base tributary-protocol-type;
221 "ODU Flex GFP protocol for transporting stream of packets
222 using Generic Framing Procedure";
225 identity prot-ODUCn {
226 base tributary-protocol-type;
228 "ODUCn protocol (beyond 100G)";
232 base tributary-protocol-type;
234 "1G Ethernet protocol";
236 identity prot-10GbE-LAN {
237 base tributary-protocol-type;
239 "10G Ethernet LAN protocol";
242 identity prot-40GbE {
243 base tributary-protocol-type;
245 "40G Ethernet protocol";
248 identity prot-100GbE {
249 base tributary-protocol-type;
251 "100G Ethernet protocol";
254 identity client-signal {
256 "Base identity from which specific client signals for the
260 identity client-signal-1GbE {
263 "Client signal type of 1GbE";
266 identity client-signal-10GbE-LAN {
269 "Client signal type of 10GbE LAN";
272 identity client-signal-10GbE-WAN {
275 "Client signal type of 10GbE WAN";
278 identity client-signal-40GbE {
281 "Client signal type of 40GbE";
284 identity client-signal-100GbE {
287 "Client signal type of 100GbE";
290 identity client-signal-OC3_STM1 {
293 "Client signal type of OC3 & STM1";
296 identity client-signal-OC12_STM4 {
299 "Client signal type of OC12 & STM4";
302 identity client-signal-OC48_STM16 {
305 "Client signal type of OC48 & STM16";
308 identity client-signal-OC192_STM64 {
311 "Client signal type of OC192 & STM64";
314 identity client-signal-OC768_STM256 {
317 "Client signal type of OC768 & STM256";
320 identity client-signal-ODU0 {
323 "Client signal type of ODU0 (1.24G)";
326 identity client-signal-ODU1 {
329 "ODU1 protocol (2.49G)";
332 identity client-signal-ODU2 {
335 "Client signal type of ODU2 (10.03G)";
338 identity client-signal-ODU2e {
341 "Client signal type of ODU2e (10.39G)";
344 identity client-signal-ODU3 {
347 "Client signal type of ODU3 (40.31G)";
350 identity client-signal-ODU3e2 {
353 "Client signal type of ODU3e2 (41.78G)";
356 identity client-signal-ODU4 {
359 "Client signal type of ODU4 (104.79G)";
362 identity client-signal-ODUflex-cbr {
365 "Client signal type of ODU Flex CBR";
368 identity client-signal-ODUflex-gfp {
371 "Client signal type of ODU Flex GFP";
374 identity client-signal-ODUCn {
377 "Client signal type of ODUCn (beyond 100G)";
380 identity client-signal-FC400 {
383 "Client signal type of Fibre Channel FC400";
386 identity client-signal-FC800 {
389 "Client signal type of Fibre Channel FC800";
392 identity client-signal-FICON-4G {
395 "Client signal type of Fibre Connection 4G";
398 identity client-signal-FICON-8G {
401 "Client signal type of Fibre Connection 8G";
404 identity client-signal-OTU1 {
407 "Client signal type of OTU1";
410 identity client-signal-OTU2 {
413 "Client signal type of OTU2";
416 identity client-signal-OTU2e {
419 "Client signal type of OTU2e";
422 identity client-signal-OTU3 {
425 "Client signal type of OTU3";
428 identity client-signal-OTU4 {
431 "Client signal type of OTU4";
434 identity otn-label-range-type {
436 "Base identity from which specific OTN label
437 range types derived";
440 identity label-range-trib-slot {
441 base otn-label-range-type;
443 "Defines a range of OTN tributary slots";
446 identity label-range-trib-port {
447 base otn-label-range-type;
449 "Defines a range of OTN tributary ports";
452 grouping otn-link-bandwidth {
456 "OTN bandwidth definition";
459 base otn-types:tributary-protocol-type;
461 description "ODU type";
465 description "Number of ODUs";
470 grouping otn-path-bandwidth {
473 base otn-types:tributary-protocol-type;
475 description "ODU type";
479 grouping otn-label-restriction {
482 base otn-types:otn-label-range-type;
487 base otn-types:tributary-slot-granularity;
489 description "Tributary slot granularity.";
491 "G.709/Y.1331, February 2016: Interfaces for the
492 Optical Transport Network (OTN)";
496 description "priority.";
501 grouping otn-link-label {
502 choice otn-label-type {
505 case tributary-port {
511 "Tributary Port Number. Applicable in case of mux services.";
513 "RFC7139: GMPLS Signaling Extensions for Control of Evolving
514 G.709 Optical Transport Networks.";
517 case tributary-slot {
523 "Tributary Slot Number. Applicable in case of mux services.";
525 "RFC7139: GMPLS Signaling Extensions for Control of Evolving
526 G.709 Optical Transport Networks.";
532 grouping otn-path-label {
538 "Tributary Port Number. Applicable in case of mux services.";
540 "RFC7139: GMPLS Signaling Extensions for Control of Evolving
541 G.709 Optical Transport Networks.";
545 base otn-types:tributary-slot-granularity;
547 description "Tributary slot granularity.";
549 "G.709/Y.1331, February 2016: Interfaces for the
550 Optical Transport Network (OTN)";
554 pattern "([1-9][0-9]{0,3}(-[1-9][0-9]{0,3})?"
555 + "(,[1-9][0-9]{0,3}(-[1-9][0-9]{0,3})?)*)";
558 "A list of available tributary slots ranging
560 For example 1-20,25,50-1000";
561 reference "RFC 7139: GMPLS Signaling Extensions for Control
562 of Evolving G.709 Optical Transport Networks";