summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc7581.txt
blob: 48095d59ecb703f770f9292496ed9e8968e025b6 (plain) (blame)
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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
Internet Engineering Task Force (IETF)                 G. Bernstein, Ed.
Request for Comments: 7581                             Grotto Networking
Category: Standards Track                                    Y. Lee, Ed.
ISSN: 2070-1721                                                    D. Li
                                                                  Huawei
                                                              W. Imajuku
                                                                     NTT
                                                                  J. Han
                                                                  Huawei
                                                               June 2015


       Routing and Wavelength Assignment Information Encoding for
                  Wavelength Switched Optical Networks

Abstract

   A Wavelength Switched Optical Network (WSON) requires certain key
   information fields be made available to facilitate path computation
   and the establishment of Label Switched Paths (LSPs).  The
   information model described in "Routing and Wavelength Assignment
   Information Model for Wavelength Switched Optical Networks" (RFC
   7446) shows what information is required at specific points in the
   WSON.  Part of the WSON information model contains aspects that may
   be of general applicability to other technologies, while other parts
   are specific to WSONs.

   This document provides efficient, protocol-agnostic encodings for the
   WSON-specific information fields.  It is intended that protocol-
   specific documents will reference this memo to describe how
   information is carried for specific uses.  Such encodings can be used
   to extend GMPLS signaling and routing protocols.  In addition, these
   encodings could be used by other mechanisms to convey this same
   information to a Path Computation Element (PCE).

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 5741.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc7581.



Bernstein, et al.            Standards Track                    [Page 1]
^L
RFC 7581                WSON Information Encoding              June 2015


Copyright Notice

   Copyright (c) 2015 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.





































Bernstein, et al.            Standards Track                    [Page 2]
^L
RFC 7581                WSON Information Encoding              June 2015


Table of Contents

   1. Introduction ....................................................4
      1.1. Terminology ................................................4
      1.2. Conventions Used in This Document ..........................5
   2. Resources, Resource Blocks, and the Resource Pool ...............5
      2.1. Resource Block Set Field ...................................6
   3. Resource Accessibility/Availability .............................7
      3.1. Resource Accessibility Field ...............................7
      3.2. Resource Wavelength Constraints Field ......................9
      3.3. Resource Block Pool State Field ...........................10
      3.4. Resource Block Shared Access Wavelength
           Availability Field ........................................12
   4. Resource Block Information Field ...............................13
      4.1. Optical Interface Class List Subfield .....................15
           4.1.1. ITU-T G.698.1 Application Code Mapping .............17
           4.1.2. ITU-T G.698.2 Application Code Mapping .............18
           4.1.3. ITU-T G.959.1 Application Code Mapping .............20
           4.1.4. ITU-T G.695 Application Code Mapping ...............22
      4.2. Acceptable Client Signal List Subfield ....................23
      4.3. Input Bit Rate List Subfield ..............................24
      4.4. Processing Capability List Subfield .......................24
   5. Security Considerations ........................................26
   6. IANA Considerations ............................................26
      6.1. Types for Subfields of WSON Resource Block Information ....26
   7. References .....................................................27
      7.1. Normative References ......................................27
      7.2. Informative References ....................................28
   Appendix A. Encoding Examples .....................................30
      A.1. Wavelength Converter Accessibility Field ..................30
      A.2. Wavelength Conversion Range Field .........................32
      A.3. An OEO Switch with DWDM Optics ............................32
   Contributors ......................................................35
   Authors' Addresses ................................................37

















Bernstein, et al.            Standards Track                    [Page 3]
^L
RFC 7581                WSON Information Encoding              June 2015


1.  Introduction

   A Wavelength Switched Optical Network (WSON) is a Wavelength Division
   Multiplexing (WDM) optical network in which switching is performed
   selectively based on the center wavelength of an optical signal.

   [RFC6163] describes a framework for Generalized Multiprotocol Label
   Switching (GMPLS) and Path Computation Element (PCE) control of a
   WSON.  Based on this framework, [RFC7446] describes an information
   model that specifies what information is needed at various points in
   a WSON in order to compute paths and establish Label Switched Paths
   (LSPs).

   This document provides efficient encodings of information needed by
   the Routing and Wavelength Assignment (RWA) process in a WSON.  Such
   encodings can be used to extend GMPLS signaling and routing
   protocols.  In addition, these encodings could be used by other
   mechanisms to convey this same information to a PCE.  Note that since
   these encodings are efficient, they can provide more accurate
   analysis of the control-plane communications/processing load for
   WSONs looking to utilize a GMPLS control plane.

   In parallel to this document, [RFC7579] provides efficient encodings
   of information needed by the routing and label assignment process
   that are potentially applicable to a wider range of technologies.

1.1.  Terminology

   Refer to [RFC6163] for definitions of the following:

   o  Coarse Wavelength Division Multiplexing (CWDM)

   o  Dense Wavelength Division Multiplexing (DWDM)

   o  Routing and Wavelength Assignment (RWA)

   o  Wavelength Division Multiplexing (WDM)

   Refer to Section 5 of [RFC7446] for definitions of the following:

   o  resource

   o  resource block

   o  resource pool






Bernstein, et al.            Standards Track                    [Page 4]
^L
RFC 7581                WSON Information Encoding              June 2015


   The Optical Interface (OI) Code Point is a unique number that
   identifies all information related to optical characteristics of a
   physical interface.

1.2.  Conventions Used in This Document

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [RFC2119].

2.  Resources, Resource Blocks, and the Resource Pool

   This section provides encodings for the information fields defined in
   [RFC7446] that have applicability to WSON.  The encodings are
   designed to be suitable for use in the GMPLS routing protocols OSPF
   [RFC4203] and IS-IS [RFC5307] and in the PCE Communication Protocol
   (PCEP) [RFC5440].  Note that the information distributed in [RFC4203]
   and [RFC5307] is arranged via the nesting of sub-TLVs within TLVs;
   this document defines elements to be used within such constructs.
   Specific constructs of sub-TLVs and the nesting of sub-TLVs of the
   information fields defined by this document will be defined in the
   respective protocol enhancement documents.

   This document defines the following information fields pertaining to
   resources within an optical node:

   o  Resource Accessibility <ResourceAccessibility>

   o  Resource Wavelength Constraints <ResourceWaveConstraints>

   o  Resource Block Pool State <RBPoolState>

   o  Resource Block Shared Access Wavelength Availability
      <RBSharedAccessWaveAvailability>

   o  Resource Block Information <ResourceBlockInfo>

   Each of these information fields works with one or more sets of
   resources rather than just a single resource block.  This motivates
   the field definition in Section 2.1.











Bernstein, et al.            Standards Track                    [Page 5]
^L
RFC 7581                WSON Information Encoding              June 2015


2.1.  Resource Block Set Field

   In a WSON node that includes resource blocks (RBs), denoting subsets
   of these blocks allows one to efficiently describe common properties
   of the blocks and to describe the structure and characteristics, if
   nontrivial, of the resource pool.  The Resource Block Set (RB Set)
   Field is defined in a similar manner to the label set concept of
   [RFC3471].

   The information carried in an RB Set Field is defined as follows:

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    Action     |C|  Reserved   |        Length                 |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                        RB Identifier 1                        |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      :                               :                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                        RB Identifier n                        |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Action: 8 bits

      0 - Inclusive List

          Indicates that the TLV contains one or more RB elements that
          are included in the list.

      1 - Inclusive Range(s)

          Indicates that the TLV contains one or more ranges of RBs.
          Each individual range is denoted by two 32-bit RB identifiers.
          The first 32 bits is the RB identifier for the start of the
          range, and the next 32 bits is the RB identifier for the end
          of the range.  Note that the Length field is used to determine
          the number of ranges.

   C (Connectivity bit)

      Set to 0 to denote fixed (possibly multicast) connectivity, and
      set to 1 to denote potential (switched) connectivity.  Used in
      Resource Accessibility field.  Ignored elsewhere.







Bernstein, et al.            Standards Track                    [Page 6]
^L
RFC 7581                WSON Information Encoding              June 2015


   Reserved: 7 bits

      This field is reserved.  It MUST be set to zero on transmission
      and MUST be ignored on receipt.

   Length: 16 bits

      The total length of this field in bytes.

   RB Identifier:

      The RB identifier represents the ID of the resource block, which
      is a 32-bit integer.  The scope of the RB identifier is local to
      the node on which it is applied.

   Usage Note: The inclusive range "Action" can result in very compact
   encoding of resource sets, and it can be advantageous to number
   resource blocks in such a way so that status updates (dynamic
   information) can take advantage of this efficiency.

3.  Resource Accessibility/Availability

   This section defines the information fields for dealing with
   accessibility and availability of resource blocks within a pool of
   resources.  These include the <ResourceAccessibility>,
   <ResourceWaveConstraints>, <RBPoolState>, and
   <RBSharedAccessWaveAvailability> fields.

3.1.  Resource Accessibility Field

   This information field describes the structure of the resource pool
   in relation to the switching device.  In particular, it indicates the
   ability of an input port to reach sets of resources and the ability
   of sets of resources to reach a particular output port.  This is the
   <PoolInputMatrix> and <PoolOutputMatrix> of [RFC7446].
















Bernstein, et al.            Standards Track                    [Page 7]
^L
RFC 7581                WSON Information Encoding              June 2015


   The Resource Accessibility field is defined as follows:

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |Reserved(8bits)|C|             Reserved (23 bits)              |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                    Input Link Set Field A #1                  |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                          RB Set Field A #1                    |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |         Additional Link set and RB set pairs as needed to     |
      :                    specify PoolInputMatrix                    :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                Output Link Set Field B #1                     |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |             RB Set B Field #1 (for output connectivity)       |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |         Additional Link Set and RB set pairs as needed to     |
      :                    specify PoolOutputMatrix                   :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Where:

   C (Connectivity bit): Connectivity indicates how the input/output
      ports connect to the resource blocks.

      0 - the device is fixed (e.g., a connected port must go through
          the resource block)

      1 - the device is switched (e.g., a port can be configured to go
          through a resource but isn't required)

   For the Input and Output Link Set Fields, the Link Set Field encoding
   defined in [RFC7579] is to be used.

   Note that the direction parameter within the Link Set Field is used
   to indicate whether the link set is an input or output link set, and
   the bidirectional value for this parameter is not permitted in this
   field.

   See Appendix A.1 for an illustration of this encoding.





Bernstein, et al.            Standards Track                    [Page 8]
^L
RFC 7581                WSON Information Encoding              June 2015


3.2.  Resource Wavelength Constraints Field

   Resources, such as wavelength converters, etc., may have limited
   input or output wavelength ranges.  Additionally, due to the
   structure of the optical system, not all wavelengths can necessarily
   reach or leave all the resources.  These properties are described by
   using one or more Resource Wavelength Constraints fields as defined
   below:

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |I|O|B|                      Reserved                           |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                     RB Set Field                              |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                Input Wavelength Constraints                   |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                Output Wavelength Constraints                  |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   I (Input):

      1 - indicates the presence of the Input Wavelength Constraints
          field

      0 - indicates otherwise.

   O (Output):

      1 - indicates the presence of the Output Wavelength Constraints
          field

      0 - indicates otherwise.

   B (Both):

      1 - indicates that a single Wavelength Constraints field
          represents both Input and Output Wavelength Constraints
          fields.

   Currently, the only valid combinations of (I,O,B) are (1,0,0),
   (0,1,0), (1,1,0), and (0,0,1).





Bernstein, et al.            Standards Track                    [Page 9]
^L
RFC 7581                WSON Information Encoding              June 2015


   RB Set Field:

      A set of resource blocks (RBs) that have the same wavelength
      restrictions.

   Input Wavelength Constraints:

      Indicates the wavelength input restrictions of the RBs in the
      corresponding RB set.  This field is encoded via the Label Set
      Field of [RFC7579].

   Output Wavelength Constraints:

      Indicates the wavelength output restrictions of RBs in the
      corresponding RB set.  This field is encoded via the Label Set
      Field of [RFC7579].

3.3.  Resource Block Pool State Field

   The state of the pool is given by the number of resources available
   with particular characteristics.  A resource block set is used to
   encode all or a subset of the resources of interest.  The usage state
   of resources within a resource block set is encoded as either a list
   of 16-bit integer values or a bitmap indicating whether a single
   resource is available or in use.  The bitmap encoding is appropriate
   when resource blocks consist of a single resource.  This information
   can be relatively dynamic, i.e., can change when a connection (LSP)
   is established or torn down.

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | Action        |    Reserved                                   |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                     RB Set Field                              |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                  RB Usage State                               |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Where:

   Action = 0 denotes a list of 16-bit integers, and Action = 1 denotes
   a bitmap.  Action = 0 covers the case where there are multiple
   elements for each resource block.  Action = 1 covers the case where
   each resource block only contains a single element.




Bernstein, et al.            Standards Track                   [Page 10]
^L
RFC 7581                WSON Information Encoding              June 2015


   In both cases, the elements of the RB Set Field are in a one-to-one
   correspondence with the values in the RB Usage State area.

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | Action = 0    |    Reserved                                   |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                     RB Set Field                              |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                  RB#1 State   |      RB#2 State               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                 RB#n-1 State  |   RB#n State or Padding       |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   RB#i State (16 bits, unsigned integer):  Indicates the number of
      resources available in Resource Block #i.

   Whether the last 16 bits is a wavelength converter (RB) state or
   padding is determined by the number of elements in the RB Set Field.

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | Action = 1    |    Reserved                                   |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                     RB Set Field                              |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                  RB Usage State Bitmap                        |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                     ......             |      Padding Bits    |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   RB Usage State Bitmap:  Variable length but must be a multiple of 4
   bytes.

   Each bit indicates the usage status of one RB with 0 indicating the
   RB is available and 1 indicating the RB is in use.  The sequence of
   the bitmap is ordered according to the RB Set Field with this
   element.

   Padding bits: Variable length




Bernstein, et al.            Standards Track                   [Page 11]
^L
RFC 7581                WSON Information Encoding              June 2015


3.4.  Resource Block Shared Access Wavelength Availability Field

   Resource blocks may be accessed via a shared fiber.  If this is the
   case, then wavelength availability on these shared fibers is needed
   to understand resource availability.

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |I|O|B|                        Reserved                         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                     RB Set Field                              |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |            Input Available Wavelength Set Field               |
      :                          (Optional)                           :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |             Output Available Wavelength Set Field             |
      :                          (Optional)                           :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   I (Input):

      1 - indicates the presence of the Input Available Wavelength Set
          Field.

      0 - indicates the absence of the Input Available Wavelength Set
          Field.

   O (Output):

      1 - indicates the presence of the Output Available Wavelength Set
          Field.

      0 - indicates the absence of the Output Available Wavelength Set
          Field.

   B (Both):

      1 - indicates that a single Available Wavelength Set Field
          represents both Input and Output Available Wavelength Set
          Fields.

   Currently, the only valid combinations of (I,O,B) are (1,0,0),
   (0,1,0), (1,1,0), and (0,0,1).






Bernstein, et al.            Standards Track                   [Page 12]
^L
RFC 7581                WSON Information Encoding              June 2015


   RB Set Field:

      A resource block set in which all the members share the same input
      or output fiber or both.

   Input Available Wavelength Set Field:

      Indicates the wavelengths currently available (not being used) on
      the input fiber to this resource block.  This field is encoded via
      the Label Set Field of [RFC7579].

   Output Available Wavelength Set Field:

      Indicates the wavelengths currently available (not being used) on
      the output fiber from this resource block.  This field is encoded
      via the Label Set Field of [RFC7579].

4.  Resource Block Information Field

   As defined in [RFC7446], the Resource Block Information
   <ResourceBlockInfo> field is used to represent resource signal
   constraints and processing capabilities of a node.

   The fundamental properties of a resource block are:

   o  Optical Interface Class List(s)

   o  Acceptable Client Signal (shared input, modulation, Forward Error
      Correction (FEC), bit rate, and Generalized Protocol Identifier
      (G-PID))

   o  Input Bit Rate

   o  Processing Capabilities (number of resources in a block,
      regeneration, performance monitoring, vendor specific)

   <ResourceBlockInfo> fields are used to convey relatively static
   information about individual resource blocks, including the resource
   block properties and the number of resources in a block.

   When more than one <ResourceBlockInfo> field is used, there are no
   ordering requirements amongst these fields.  The length of the
   <ResourceBlockInfo> field is determined from the length of the object
   that includes it.







Bernstein, et al.            Standards Track                   [Page 13]
^L
RFC 7581                WSON Information Encoding              June 2015


   The <ResourceBlockInfo> field has the following format:

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                          RB Set Field                         |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |I|O|B|                       Reserved                          |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                        Optional Subfield 1                    |
      :                              ...                              :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      :                               :                               :
      :                               :                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                        Optional Subfield N                    |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   The RB Set Field is described in Section 2.1.

   The shared input or output indication is indicated by the first bit
   (I), the second bit (O), and the third bit (B).

   I (Input):

      1 - indicates if the resource blocks identified in the RB Set
          Field utilized a shared fiber for input access.

      0 - indicates otherwise.

   O (Output):

      1 - indicates if the resource blocks identified in the RB Set
          Field utilized a shared fiber for output access.

      0 - indicates otherwise.

   B (Both):

      1 - indicates if the resource blocks identified in the RB Set
          Field utilized a shared fiber for both input and output
          access.

      0 - indicates otherwise.





Bernstein, et al.            Standards Track                   [Page 14]
^L
RFC 7581                WSON Information Encoding              June 2015


   Currently, the only valid combinations of (I,O,B) are (1,0,0),
   (0,1,0), (1,1,0), and (0,0,1).

   Zero or more Optional Subfields MAY be present.  Optional Subfields
   have the following format:

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |              Type             |             Length            |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                            Value...                           |
      .                                                               .
      .                                                               .
      .                                                               .
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   The Length field defines the length of the value portion in bytes
   (thus, a subfield with no value portion would have a length of zero).
   The subfield is padded to 4-byte alignment; padding is not included
   in the Length field (so a 3-byte value would have a length of three,
   but the total size of the subfield would be 8 bytes).  Unrecognized
   types are not processed.  If multiple subfields of the same type are
   present, only the first of the type SHOULD be processed.

   The following sub-TLV types are defined:

      Value          Length      Sub-TLV Type

       1             variable    Optical Interface Class List
       2             variable    Acceptable Client Signal List
       3             variable    Input Bit Rate List
       4             variable    Processing Capability List

   See the IANA Considerations section for allocation of new types.

4.1.  Optical Interface Class List Subfield

   The Optical Interface Class List subfield has the following format:

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                           Reserved                        |I|O|
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                   Optical Interface Classes                   |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+



Bernstein, et al.            Standards Track                   [Page 15]
^L
RFC 7581                WSON Information Encoding              June 2015


   The following I and O combination are defined:

   I   O
   -----
   0   0   Invalid

   1   0   Optical Interface Class List acceptable in input

   0   1   Optical Interface Class List available in output

   1   1   Optical Interface Class List available on both input and
           output.

   The resource block MAY contain one or more lists according to the
   input/output flags.

   The Optical Interface Classes format is defined as follows:

     0                   1                   2                   3
     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |S|     Reserved                |    OI Code Points             |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |         Optical Interface Class                               |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |         Optical Interface Class  (Cont.)                      |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Where the first 32 bits of the encoding shall be used to identify the
   semantics of the Optical Interface Class in the following way:

   S (Standard bit):

      S=0: identifies non-ITU code points

      S=1: identifies ITU application codes

   With S=0, the OI Code Points field can take the following value:

      0: reserved

   Future work may add support for vendor-specific application codes
   once the ITU-T has completed its work in that area.








Bernstein, et al.            Standards Track                   [Page 16]
^L
RFC 7581                WSON Information Encoding              June 2015


   With S=1, the OI Code Points field can take the following values:

      0: reserved

      1: [G.698.1] application code

      2: [G.698.2] application code

      3: [G.959.1] application code

      4: [G.695] application code

   In the case of ITU application codes, the mapping between the string
   defining the application code and the 64 bits implementing the
   optical interface class is given in the following sections.

4.1.1.  ITU-T G.698.1 Application Code Mapping

   [G.698.1] defines the following application codes: DScW-ytz(v) and
   B-DScW-ytz(v).  Where:

      B: means Bidirectional

      D: means a DWDM application

      S: takes values N (narrow spectral excursion) or W (wide spectral
         excursion)

      c: Channel Spacing (GHz)

      W: takes values S (short-haul) or L (long-haul)

      y: takes values 1 (NRZ 2.5G) or 2 (NRZ 10G)

      t: only D value is defined (link does not contain optical
         amplifier)

      z: takes values 2 ([G.652] fibre), 3 ([G.653] fibre), or 5
         ([G.655] fibre)

      v: takes values S (Short wavelength), C (Conventional), or L (Long
         wavelength)

   The F flag indicates the presence or absence of an optional FEC
   encoding suffix.






Bernstein, et al.            Standards Track                   [Page 17]
^L
RFC 7581                WSON Information Encoding              June 2015


   These get mapped into the 64-bit Optical Interface Class field as
   follows:

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |B|  D  |S|   c   |   W   |   y   |   t   |   z   |  v  |   F   |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                           reserved                            |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Where (values between parentheses refer to ITU-defined values as
   reported above):

      B: 1 bidirectional, 0 otherwise

      D (prefix): 0 reserved, 1 (D)

      S: 0 (N), 1 (W)

      c: Channel Spacing, 4 bits mapped according to the same definition
         as in the third figure in Section 3.2 of [RFC6205] (note that
         DWDM spacing applies here).

      W: 0 reserved, 2 (S), 3 (L)

      y: 0 reserved, 1 (1), 2 (2)

      t: 0 reserved, 4 (D)

      z: 0 reserved, 2 (2), 3 (3), 5 (5)

      v: 0 reserved, 1 (S), 2 (C), 3 (L)

      F (suffix): 0 No FEC encoding suffix present, 1 FEC encoding
         suffix present

   Values not mentioned here are not allowed in this application code;
   the last 32 bits are reserved and shall be set to zero.

4.1.2.  ITU-T G.698.2 Application Code Mapping

   [G.698.2] defines the following application codes: DScW-ytz(v) and
   B-DScW-ytz(v).  Where:

      B: means Bidirectional

      D: means a DWDM application



Bernstein, et al.            Standards Track                   [Page 18]
^L
RFC 7581                WSON Information Encoding              June 2015


      S: takes values N (narrow spectral excursion) or W (wide spectral
         excursion)

      c: Channel Spacing (GHz)

      W: takes values C (link is dispersion compensated) or U (link is
         dispersion uncompensated)

      y: takes values 1 (NRZ 2.5G) or 2 (NRZ 10G)

      t: takes value A (link may contains optical amplifier)

      z: takes values 2 ([G.652] fibre), 3 ([G.653] fibre), or 5
         ([G.655] fibre)

      v: takes values S (Short wavelength), C (Conventional), or L (Long
         wavelength)

      An optional F can be added to indicate a FEC encoding.

   These get mapped into the 64-bit Optical Interface Class field as
   follows:

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |B|  D  |S|   c   |   W   |   y   |   t   |   z   |  v  |   F   |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                           reserved                            |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Where (values between parentheses refer to ITU-defined values as
   reported above):

      B: 1 bidirectional, 0 otherwise

      D (prefix): 0 reserved, 1 (D)

      S: 0 (N), 1 (W)

      c: Channel Spacing, 4 bits mapped according to the same definition
         as in the third figure in Section 3.2 of [RFC6205] (note that
         DWDM spacing applies here).

      W: 0 reserved, 10 (C), 11 (U)

      y: 0 reserved, 1 (1), 2 (2)




Bernstein, et al.            Standards Track                   [Page 19]
^L
RFC 7581                WSON Information Encoding              June 2015


      t: 0 reserved, 1 (A)

      z: 0 reserved, 2 (2), 3 (3), 5 (5)

      v: 0 reserved, 1 (S), 2 (C), 3 (L)

      F (suffix): 0 reserved, 1 FEC encoding

   Values not mentioned here are not allowed in this application code.
   The last 32 bits are reserved and shall be set to zero.

4.1.3.  ITU-T G.959.1 Application Code Mapping

   [G.959.1] defines the following application codes: PnWx-ytz and
   BnWx-ytz.  Where:

      P,B: when present, indicate Plural or Bidirectional

      n: maximum number of channels supported by the application code
         (i.e., an integer number)

      W: takes values I (intra-office), S (short-haul), L (long-haul), V
         (very long-haul), or U (ultra long-haul)

      x: maximum number of spans allowed within the application code
         (i.e., an integer number)

      y: takes values 1 (NRZ 2.5G), 2 (NRZ 10G), 9 (NRZ 25G), 3 (NRZ
         40G), or 7 (RZ 40G)

      t: takes values A (power levels suitable for a booster amplifier
         in the originating ONE and power levels suitable for a pre-
         amplifier in the terminating ONE), B (booster amplifier only),
         C (pre-amplifier only), or D (no amplifiers)

      z: takes values 1 (1310 nm sources on [G.652] fibre), 2 (1550 nm
         sources on [G.652] fibre), 3 (1550 nm sources on [G.653]
         fibre), or 5 (1550 nm sources on [G.655] fibre).

   The following list of suffixes can be added to these application
   codes:

      F: FEC encoding

      D: Adaptive dispersion compensation

      E: receiver capable of dispersion compensation




Bernstein, et al.            Standards Track                   [Page 20]
^L
RFC 7581                WSON Information Encoding              June 2015


      r: reduced target distance

      a: power levels appropriate to APD receivers

      b: power levels appropriate to PIN receivers

   These values are encoded as follows:

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | p |  P  |       n           |   W   |     x     |   reserved  |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |   y   |   t   |   z   |   suffix  |          reserved         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Where (values between parentheses refer to ITU-defined values as
   reported above):

      p (prefix): 0 otherwise, 1 Bidirectional (B)

      P (optional): 0 not present, 2 (P).

      n: maximum number of channels (10 bits, up to 1023 channels)

      W: 0 reserved, 1 (I), 2 (S), 3 (L), 4 (V), 5 (U)

      x: number of spans (6 bits, up to 64 spans)

      y: 0 reserved, 1 (1), 2 (2), 3 (3), 7 (7), 9 (9)

      t: 0 reserved, 1 (A), 2 (B), 3 (C), 4 (D)

      z: 0 reserved, 1 (1), 2 (2), 3 (3), 5 (5)

      suffix: a 6-bit bitmap, where a "1" in the appropriate slot
         indicates that the corresponding suffix has been added.

             0 1 2 3 4 5
            +-+-+-+-+-+-+
            |F|D|E|r|a|b|
            +-+-+-+-+-+-+









Bernstein, et al.            Standards Track                   [Page 21]
^L
RFC 7581                WSON Information Encoding              June 2015


4.1.4.  ITU-T G.695 Application Code Mapping

   [G.695] defines the following application codes: CnWx-ytz,
   B-CnWx-ytz, and S-CnWx-ytz.

   Where the optional prefixes are:

      B: Bidirectional

      S: a system using a black link approach

   And the rest of the application code is defined as:

      C: CWDM (Coarse WDM) application

      n: maximum number of channels supported by the application code
         (i.e., an integer number)

      W: takes values S (short-haul) or L (long-haul)

      x: maximum number of spans allowed

      y: takes values 0 (NRZ 1.25G), 1 (NRZ 2.5G), or 2 (NRZ 10G).

      t: takes value D (link does not contain any optical amplifier).

      z: takes values 1 (1310 nm region for [G.652] fibre), 2 (ITU-T
         [G.652] fibre), 3 ([G.653] fibre), or 5 ([G.655] fibre)

   The following list of suffixes can be added to these application
   codes:

      F: FEC encoding

   Since the application codes are very similar to the ones from the
   [G.959.1] section, most of the fields are reused.  The 64-bit Optical
   Interface Class field is encoded as follows:

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | p |  C  |       n           |   W   |     x     |   reserved  |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |   y   |   t   |   z   |   suffix  |          reserved         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+






Bernstein, et al.            Standards Track                   [Page 22]
^L
RFC 7581                WSON Information Encoding              June 2015


   Where (values between parentheses refer to ITU-defined values as
   reported above):

      p: 0 no prefix, 1 (B) bidirectional, 2 (S) black link

      C: 0 reserved, 3 (C)

      n: maximum number of channels (10 bits, up to 1023 channels)

      W: 0 reserved, 1 reserved, 2 (S), 3 (L), > 3 reserved

      x: number of spans (6 bits, up to 64 spans)

      y: 0 (0), 1 (1), 2 (2), > 2 reserved

      t: 4 (D), all other values are reserved

      z: 0 reserved, 1 (1), 2 (2), 3 (3)

      suffix: a 6-bit bitmap, where a "1" in the appropriate slot
         indicates that the corresponding suffix has been added.

             0 1 2 3 4 5
            +-+-+-+-+-+-+
            |F|0|0|0|0|0|
            +-+-+-+-+-+-+

4.2.  Acceptable Client Signal List Subfield

   This subfield contains a list of acceptable input client signal
   types.

   The acceptable client signal list is a list of Generalized Protocol
   Identifiers (G-PIDs).

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |            Reserved           |       Number of G-PIDs        |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |            G-PID #1           |          G-PID #2             |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     :                               |                               :
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |            G-PID #N           |                               |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+





Bernstein, et al.            Standards Track                   [Page 23]
^L
RFC 7581                WSON Information Encoding              June 2015


   Number of G-PIDs: an integer greater than or equal to one.

   G-PIDs: assigned by IANA.  Many are defined in [RFC3471] and
      [RFC4328].

4.3.  Input Bit Rate List Subfield

   This subfield contains a list of bit rates of each input client
   signal type specified in the Input Client Signal List.

   The number of Input Bit Rates MUST match the number of G-PIDs.

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                   Input Bit Rate of G-PID #1                  |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     :                                                               :
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                   Input Bit Rate of G-PID #N                  |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Input Bit Rates are in IEEE 754 floating point format [IEEE].

4.4.  Processing Capability List Subfield

   The Processing Capability List subfield is a list of capabilities
   that can be achieved through the referred resources:

   1.  Regeneration capability

   2.  Fault and performance monitoring

   3.  Vendor-specific capability

   Fault and performance monitoring and vendor-specific capability have
   no additional capability parameters.














Bernstein, et al.            Standards Track                   [Page 24]
^L
RFC 7581                WSON Information Encoding              June 2015


   The Processing Capability List subfield is defined as:

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |            Reserved           |        Processing Cap ID      |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |   Possible additional capability parameters depending upon    |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     :   the processing ID                                           :
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   The Processing Cap ID field defines the following processing
   capabilities:

      0: Reserved

      1: Regeneration capability

      2: Fault and performance monitoring

      3: Vendor-specific capability

   When the Processing Cap ID is "Regeneration capability", the
   following additional capability parameters are provided in the
   following field:

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |  T  | C |                 Reserved                            |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Where the T bit indicates the type of regenerator:

      T=0: Reserved

      T=1: 1R Regenerator

      T=2: 2R Regenerator

      T=3: 3R Regenerator









Bernstein, et al.            Standards Track                   [Page 25]
^L
RFC 7581                WSON Information Encoding              June 2015


   And where the C bit indicates the capability of the regenerator:

      C=0: Reserved

      C=1: Fixed Regeneration Point

      C=2: Selective Regeneration Pools

   Note that when the capability of the regenerator is indicated to be
   "Selective Regeneration Pools", regeneration pool properties such as
   input and output restrictions and availability need to be specified.
   These properties will be encoded in the field providing additional
   capability parameters, starting with the bits marked Reserved in the
   figure immediately above.  An additional specification describing the
   encoding of these parameters is required before the value C=2 can be
   used.

5.  Security Considerations

   This document defines protocol-independent encodings for WSON
   information and does not introduce any security issues.

   However, other documents that make use of these encodings within
   protocol extensions need to consider the issues and risks associated
   with inspection, interception, modification, or spoofing of any of
   this information.  It is expected that any such documents will
   describe the necessary security measures to provide adequate
   protection.  A general discussion on security in GMPLS networks can
   be found in [RFC5920].

6.  IANA Considerations

   This document introduces a new top-level registry for GMPLS routing
   parameters for WSON encoding.  This new IANA registry has been
   created to make the assignment of a new type and new values for the
   new "GMPLS Routing Parameters for WSON" registry.  Note that this
   registry is only used in routing, not in signaling.

6.1.  Types for Subfields of WSON Resource Block Information

   Under the new "GMPLS Routing Parameters for WSON" registry, a new
   IANA subregistry has been created for nested subfields of the
   Resource Block Information field to create a new section named "Types
   for Subfields of WSON Resource Block Information Registry".  This
   registry will be maintained via Standards Action as defined by
   [RFC5226].





Bernstein, et al.            Standards Track                   [Page 26]
^L
RFC 7581                WSON Information Encoding              June 2015


   The initial values in the registry are as follows:

   Value      Length      Description                     Reference
   -----      ------      ------------                    ---------
   0                      Reserved
   1          variable    Optical Interface Class List    [RFC7581]
   2          variable    Acceptable Client Signal List   [RFC7581]
   3          variable    Input Bit Rate List             [RFC7581]
   4          variable    Processing Capability List      [RFC7581]
   5-65535                Unassigned

7.  References

7.1.  Normative References

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119,
              DOI 10.17487/RFC2119, March 1997,
              <http://www.rfc-editor.org/info/rfc2119>.

   [RFC4328]  Papadimitriou, D., Ed., "Generalized Multi-Protocol Label
              Switching (GMPLS) Signaling Extensions for G.709 Optical
              Transport Networks Control", RFC 4328,
              DOI 10.17487/RFC4328, January 2006,
              <http://www.rfc-editor.org/info/rfc4328>.

   [RFC6205]  Otani, T., Ed., and D. Li, Ed., "Generalized Labels for
              Lambda-Switch-Capable (LSC) Label Switching Routers",
              RFC 6205, DOI 10.17487/RFC6205, March 2011,
              <http://www.rfc-editor.org/info/rfc6205>.

   [RFC7446]  Lee, Y., Ed., Bernstein, G., Ed., Li, D., and W. Imajuku,
              "Routing and Wavelength Assignment Information Model for
              Wavelength Switched Optical Networks", RFC 7446,
              DOI 10.17487/RFC7446, February 2015,
              <http://www.rfc-editor.org/info/rfc7446>.

   [RFC7579]  Bernstein, G., Ed., Lee, Y., Ed., Li, D., Imajuku, W., and
              J. Han, "General Network Element Constraint Encoding for
              GMPLS-Controlled Networks", RFC 7579,
              DOI 10.17487/RFC7579, June 2015,
              <http://www.rfc-editor.org/info/rfc7579>.









Bernstein, et al.            Standards Track                   [Page 27]
^L
RFC 7581                WSON Information Encoding              June 2015


7.2.  Informative References

   [G.652]    ITU-T, "Characteristics of a single-mode optical fibre and
              cable", ITU-T Recommendation G.652, November 2009.

   [G.653]    ITU-T, "Characteristics of a dispersion-shifted, single-
              mode optical fibre and cable", ITU-T Recommendation G.653,
              July 2010.

   [G.655]    ITU-T, "Characteristics of a non-zero dispersion-shifted
              single-mode optical fibre and cable", ITU-T Recommendation
              G.655, November 2009.

   [G.695]    ITU-T, "Optical interfaces for coarse wavelength division
              multiplexing applications", ITU-T Recommendation G.695,
              January 2015.

   [G.698.1]  ITU-T, "Multichannel DWDM applications with single-channel
              optical interfaces", ITU-T Recommendation G.698.1,
              November 2009.

   [G.698.2]  ITU-T, "Amplified multichannel dense wavelength division
              multiplexing applications with single channel optical
              interfaces", ITU-T Recommendation G.698.2, November 2009.

   [G.959.1]  ITU-T, "Optical transport network physical layer
              interfaces", ITU-T Recommendation G.959.1, February 2012.

   [IEEE]     IEEE, "IEEE Standard for Binary Floating-Point
              Arithmetic", IEEE Standard 754.

   [RFC3471]  Berger, L., Ed., "Generalized Multi-Protocol Label
              Switching (GMPLS) Signaling Functional Description",
              RFC 3471, DOI 10.17487/RFC3471, January 2003,
              <http://www.rfc-editor.org/info/rfc3471>.

   [RFC4203]  Kompella, K., Ed., and Y. Rekhter, Ed., "OSPF Extensions
              in Support of Generalized Multi-Protocol Label Switching
              (GMPLS)", RFC 4203, DOI 10.17487/RFC4203, October 2005,
              <http://www.rfc-editor.org/info/rfc4203>.

   [RFC5226]  Narten, T. and H. Alvestrand, "Guidelines for Writing an
              IANA Considerations Section in RFCs", BCP 26, RFC 5226,
              DOI 10.17487/RFC5226, May 2008,
              <http://www.rfc-editor.org/info/rfc5226>.






Bernstein, et al.            Standards Track                   [Page 28]
^L
RFC 7581                WSON Information Encoding              June 2015


   [RFC5307]  Kompella, K., Ed., and Y. Rekhter, Ed., "IS-IS Extensions
              in Support of Generalized Multi-Protocol Label Switching
              (GMPLS)", RFC 5307, DOI 10.17487/RFC5307, October 2008,
              <http://www.rfc-editor.org/info/rfc5307>.

   [RFC5440]  Vasseur, JP., Ed., and JL. Le Roux, Ed., "Path Computation
              Element (PCE) Communication Protocol (PCEP)", RFC 5440,
              DOI 10.17487/RFC5440, March 2009,
              <http://www.rfc-editor.org/info/rfc5440>.

   [RFC5511]  Farrel, A., "Routing Backus-Naur Form (RBNF): A Syntax
              Used to Form Encoding Rules in Various Routing Protocol
              Specifications", RFC 5511, DOI 10.17487/RFC5511, April
              2009, <http://www.rfc-editor.org/info/rfc5511>.

   [RFC5920]  Fang, L., Ed., "Security Framework for MPLS and GMPLS
              Networks", RFC 5920, DOI 10.17487/RFC5920, July 2010,
              <http://www.rfc-editor.org/info/rfc5920>.

   [RFC6163]  Lee, Y., Ed., Bernstein, G., Ed., and W. Imajuku,
              "Framework for GMPLS and Path Computation Element (PCE)
              Control of Wavelength Switched Optical Networks (WSONs)",
              RFC 6163, DOI 10.17487/RFC6163, April 2011,
              <http://www.rfc-editor.org/info/rfc6163>.



























Bernstein, et al.            Standards Track                   [Page 29]
^L
RFC 7581                WSON Information Encoding              June 2015


Appendix A.  Encoding Examples

A.1.  Wavelength Converter Accessibility Field

   Figure 1 shows a wavelength converter pool architecture known as
   "shared per fiber".  In this case, the input and output pool matrices
   are simply:

              +-----+       +-----+
              | 1 1 |       | 1 0 |
          WI =|     |,  WE =|     |
              | 1 1 |       | 0 1 |
              +-----+       +-----+

                    +-----------+                      +------+
                    |           |--------------------->|      |
                    |           |--------------------->|  C   |
              /|    |           |--------------------->|  o   |
             /D+--->|           |--------------------->|  m   |
            + e+--->|           |                      |  b   |=======>
   ========>| M|    |  Optical  |    +-----------+     |  i   | Port O1
   Port I1  + u+--->|  Switch   |    |  WC Pool  |     |  n   |
             \x+--->|           |    |  +-----+  |     |  e   |
              \|    |           +----+->|WC #1|--+---->|  r   |
                    |           |    |  +-----+  |     +------+
                    |           |    |           |     +------+
              /|    |           |    |  +-----+  |     |      |
             /D+--->|           +----+->|WC #2|--+---->|  C   |
            + e+--->|           |    |  +-----+  |     |  o   |
   ========>| M|    |           |    +-----------+     |  m   |=======>
   Port I2  + u+--->|           |                      |  b   | Port O2
             \x+--->|           |--------------------->|  i   |
              \|    |           |--------------------->|  n   |
                    |           |--------------------->|  e   |
                    |           |--------------------->|  r   |
                    +-----------+                      +------+

    Figure 1:  An Optical Switch Featuring a Shared Per-Fiber Wavelength
                       Converter Pool Architecture












Bernstein, et al.            Standards Track                   [Page 30]
^L
RFC 7581                WSON Information Encoding              June 2015


   The wavelength converters are resource blocks and the wavelength
   converter pool is a resource block pool.  This can be encoded as
   follows:

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    Reserved |1|                    Reserved                   |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                  Note: I1,I2 can connect to either WC1 or WC2
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |  Action=0     |0|  Reserved   |            Length = 12        |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                     Link Local Identifier = #1                |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                     Link Local Identifier = #2                |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |  Action=0     |1|  Reserved   |            Length = 8         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                           RB ID = #1                          |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                           RB ID = #2                          |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                        Note: WC1 can only connect to O1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |  Action=0     |1|  Reserved   |            Length = 8         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                     Link Local Identifier = #1                |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |  Action=0     |0|  Reserved   |            Length = 8         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                            RB ID = #1                         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                        Note: WC2 can only connect to O2
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |  Action=0     |1|  Reserved   |            Length = 8         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                     Link Local Identifier = #2                |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |  Action=0     |0|                |            Length = 8      |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                            RB ID = #2                         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+








Bernstein, et al.            Standards Track                   [Page 31]
^L
RFC 7581                WSON Information Encoding              June 2015


A.2.  Wavelength Conversion Range Field

   This example, based on Figure 1, shows how to represent the
   wavelength conversion range of wavelength converters.  Suppose the
   wavelength range of input and output of WC1 and WC2 are {L1, L2, L3,
   L4}:

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
                             Note: WC Set
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |  Action=0     |1| Reserved    |     Length = 8                |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |           WC ID = #1          |       WC ID = #2              |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                             Note: wavelength input range
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | 2   | Num Wavelengths = 4     |          Length = 8           |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |Grid |  C.S. |     Reserved    |  n for lowest frequency = 1   |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                             Note: wavelength output range
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | 2   | Num Wavelengths = 4     |          Length = 8           |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |Grid |  C.S. |     Reserved    |  n for lowest frequency = 1   |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

A.3.  An OEO Switch with DWDM Optics

   Figure 2 shows an electronic switch fabric surrounded by DWDM optics.
   In this example, the electronic fabric can handle either G.709 or
   Synchronous Digital Hierarchy (SDH) signals only (2.5 or 10 Gbps).
   To describe this node, the following information in Reduced Backus-
   Naur Form (RBNF) form [RFC5511] is needed:

      <Node_Info> ::= <Node_ID>

                      [Other GMPLS info-elements]

                      [<ConnectivityMatrix>...]

                      [<ResourcePool>]

                      [<RBPoolState>]






Bernstein, et al.            Standards Track                   [Page 32]
^L
RFC 7581                WSON Information Encoding              June 2015


   In this case, there is complete port-to-port connectivity, so the
   <ConnectivityMatrix> is not required.  In addition, since there are
   sufficient ports to handle all wavelength signals, the <RBPoolState>
   element is not needed.

   Hence, the attention will be focused on the <ResourcePool> field:

      <ResourcePool> ::= <ResourceBlockInfo>

                         [<RBAccessibility>...]

                         [<ResourceWaveConstraints>...]

              /|    +-----------+    +-------------+   +------+
             /D+--->|           +--->|Tunable Laser|-->|      |
            + e+--->|           |    +-------------+   |  C   |
   ========>| M|    |           |        ...           |  o   |=======>
   Port I1  + u+--->|           |    +-------------+   |  m   | Port O1
             \x+--->|           |--->|Tunable Laser|-->|  b   |
              \|    |  Electric |    +-------------+   +------+
                    |   Switch  |
              /|    |           |    +-------------+   +------+
             /D+--->|           +--->|Tunable Laser|-->|      |
            + e+--->|           |    +-------------+   |  C   |
   ========>| M|    |           |        ...           |  o   |=======>
   Port I2  + u+--->|           |    +-------------+   |  m   | Port O2
             \x+--->|           +--->|Tunable Laser|-->|  b   |
              \|    |           |    +-------------+   +------+
                    |           |
              /|    |           |    +-------------+   +------+
             /D+--->|           |--->|Tunable Laser|-->|      |
            + e+--->|           |    +-------------+   |  C   |
   ========>| M|    |           |        ...           |  o   |=======>
   Port I3  + u+--->|           |    +-------------+   |  m   | Port O3
             \x+--->|           |--->|Tunable Laser|-->|  b   |
              \|    +-----------+    +-------------+   +------+

                 Figure 2: An Optical Switch Built around
                        an Electronic Switching Fabric

   The resource block information will tell us about the processing
   constraints of the receivers, transmitters, and the electronic
   switch.  The resource availability information, although very simple,
   tells us that all signals must traverse the electronic fabric (fixed
   connectivity).  The resource wavelength constraints are not needed
   since there are no special wavelength constraints for the resources
   that would not appear as port/wavelength constraints.




Bernstein, et al.            Standards Track                   [Page 33]
^L
RFC 7581                WSON Information Encoding              June 2015


   The <ResourceBlockInfo> is encoded as follows:

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                     RB Set Field                              |
      :  (only one resource block in this example with shared         |
      |                     input/output case)                        |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |1|1|0|                 Reserved                                |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                 Optical Interface Class List(s)               |
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                    Input Client Signal Type                   |
      :                   (G-PIDs for SDH and G.709)                  :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                    Input Bit Rate Range List                  |
      :                      (2.5 Gbps, 10 Gbps)                      :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                   Processing Capabilities List                |
      :              Fixed (non optional) 3R regeneration             :
      :                                                               :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Since there is fixed connectivity to resource blocks (the electronic
   switch), the <RBAccessibility> is:

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | Connectivity=0|Reserved                                       |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                    Input Link Set Field A #1                  |
      :                    (All input links connect to resource)      :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                          RB Set Field A #1                    |
      :              (trivial set only one resource block)            :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                Output Link Set Field B #1                     |
      :                    (All output links connect to resource)     :
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+









Bernstein, et al.            Standards Track                   [Page 34]
^L
RFC 7581                WSON Information Encoding              June 2015


Contributors

   Diego Caviglia
   Ericsson
   Via A. Negrone 1/A 16153
   Genoa
   Italy
   Phone: +39 010 600 3736
   EMail: diego.caviglia@ericsson.com

   Anders Gavler
   Acreo AB
   Electrum 236
   SE - 164 40 Kista
   Sweden
   EMail: Anders.Gavler@acreo.se

   Jonas Martensson
   Acreo AB
   Electrum 236
   SE - 164 40 Kista
   Sweden
   EMail: Jonas.Martensson@acreo.se

   Itaru Nishioka
   NEC Corp.
   1753 Simonumabe
   Nakahara-ku, Kawasaki, Kanagawa 211-8666
   Japan
   Phone: +81 44 396 3287
   EMail: i-nishioka@cb.jp.nec.com

   Pierre Peloso
   ALU
   EMail: pierre.peloso@alcatel-lucent.com

   Cyril Margaria
   EMail: cyril.margaria@gmail.com

   Giovanni Martinelli
   Cisco
   EMail: giomarti@cisco.com

   Gabriele M Galimberti
   Cisco
   EMail: ggalimbe@cisco.com





Bernstein, et al.            Standards Track                   [Page 35]
^L
RFC 7581                WSON Information Encoding              June 2015


   Lyndon Ong
   Ciena Corporation
   EMail: lyong@ciena.com

   Daniele Ceccarelli
   Ericsson
   EMail: daniele.ceccarelli@ericsson.com












































Bernstein, et al.            Standards Track                   [Page 36]
^L
RFC 7581                WSON Information Encoding              June 2015


Authors' Addresses

   Greg M. Bernstein (editor)
   Grotto Networking
   Fremont, California
   United States
   Phone: (510) 573-2237
   EMail: gregb@grotto-networking.com


   Young Lee (editor)
   Huawei Technologies
   5340 Legacy Drive Build 3
   Plano, TX 75024
   United States
   Phone: (469) 277-5838
   EMail: leeyoung@huawei.com


   Dan Li
   Huawei Technologies Co., Ltd.
   F3-5-B R&D Center, Huawei Base,
   Bantian, Longgang District
   Shenzhen 518129
   China
   Phone: +86-755-28973237
   EMail: danli@huawei.com


   Wataru Imajuku
   NTT Network Innovation Labs
   1-1 Hikari-no-oka, Yokosuka, Kanagawa
   Japan
   Phone: +81-(46) 859-4315
   EMail: imajuku.wataru@lab.ntt.co.jp


   Jianrui Han
   Huawei Technologies Co., Ltd.
   F3-5-B R&D Center, Huawei Base,
   Bantian, Longgang District
   Shenzhen 518129
   China
   Phone: +86-755-28972916
   EMail: hanjianrui@huawei.com






Bernstein, et al.            Standards Track                   [Page 37]
^L