rfc9093v1.txt   rfc9093.txt 
Internet Engineering Task Force (IETF) H. Zheng Internet Engineering Task Force (IETF) 郑好棉 (H. Zheng)
Request for Comments: 9093 Huawei Technologies Request for Comments: 9093 华为技术有限公司 (Huawei Technologies)
Category: Standards Track Y. Lee Category: Standards Track Y. Lee
ISSN: 2070-1721 Samsung ISSN: 2070-1721 Samsung
A. Guo A. Guo
Futurewei Futurewei
V. Lopez V. Lopez
Telefonica Nokia
D. King D. King
University of Lancaster University of Lancaster
July 2021 July 2021
A YANG Data Model for Layer 0 Types A YANG Data Model for Layer 0 Types
Abstract Abstract
This document defines a collection of common data types and groupings This document defines a collection of common data types and groupings
in the YANG data modeling language. These derived common types and in the YANG data modeling language. These derived common types and
groupings are intended to be imported by modules that model Layer 0 groupings are intended to be imported by modules that model Layer 0
optical Traffic Engineering (TE) configuration and state capabilities optical Traffic Engineering (TE) configuration and state capabilities
such as Wavelength Switched Optical Networks (WSONs) and Flexi-grid such as Wavelength Switched Optical Networks (WSONs) and flexi-grid
Dense Wavelength Division Multiplexing (DWDM) Networks. Dense Wavelength Division Multiplexing (DWDM) networks.
Status of This Memo Status of This Memo
This is an Internet Standards Track document. This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has (IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 7841. Internet Standards is available in Section 2 of RFC 7841.
skipping to change at line 86 skipping to change at line 86
supports a small set of built-in data types and provides mechanisms supports a small set of built-in data types and provides mechanisms
to derive other types from the built-in types. to derive other types from the built-in types.
This document introduces a collection of common data types derived This document introduces a collection of common data types derived
from the built-in YANG data types. The derived types and groupings from the built-in YANG data types. The derived types and groupings
are designed to be the common types applicable for modeling Traffic are designed to be the common types applicable for modeling Traffic
Engineering (TE) features as well as non-TE features (e.g., physical Engineering (TE) features as well as non-TE features (e.g., physical
network configuration aspects) for Layer 0 optical networks in network configuration aspects) for Layer 0 optical networks in
model(s) defined outside of this document. The applicability of model(s) defined outside of this document. The applicability of
Layer 0 types specified in this document includes Wavelength Switched Layer 0 types specified in this document includes Wavelength Switched
Optical Networks (WSONs) [RFC6163] [ITU-Tg6982] and Flexi-grid Dense Optical Networks (WSONs) [RFC6163] [ITU-Tg6982] and flexi-grid Dense
Wavelength Division Multiplexing (DWDM) Networks [RFC7698] Wavelength Division Multiplexing (DWDM) networks [RFC7698]
[ITU-Tg6941]. [ITU-Tg6941].
1.1. Terminology and Notations 1.1. Terminology and Notations
Refer to [RFC7446] and [RFC7581] for the key terms used in this Refer to [RFC7446] and [RFC7581] for the key terms used in this
document, and the terminology for describing YANG data models can be document, and the terminology for describing YANG data models can be
found in [RFC7950]. found in [RFC7950].
The YANG data model in this document conforms to the Network The YANG data model in this document conforms to the Network
Management Datastore Architecture defined in [RFC8342]. Management Datastore Architecture defined in [RFC8342].
skipping to change at line 113 skipping to change at line 113
corresponding YANG imported modules. corresponding YANG imported modules.
+==========+===================+===========+ +==========+===================+===========+
| Prefix | YANG module | Reference | | Prefix | YANG module | Reference |
+==========+===================+===========+ +==========+===================+===========+
| l0-types | ietf-layer0-types | RFC 9093 | | l0-types | ietf-layer0-types | RFC 9093 |
+----------+-------------------+-----------+ +----------+-------------------+-----------+
Table 1: Data Node Names Table 1: Data Node Names
YANG module ietf-layer0-types (defined in Section 3) references The YANG module "ietf-layer0-types" (defined in Section 3) references
[RFC6163], [RFC6205], and [RFC7698]. [RFC4203], [RFC6163], [RFC6205], [RFC7698], [RFC7699], [RFC8363],
[ITU-Tg6941], and [ITU-Tg6942].
2. Layer 0 Types Module Contents 2. Layer 0 Types Module Contents
This document defines a YANG module for common Layer 0 types, ietf- This document defines a YANG module for common Layer 0 types, ietf-
layer0-types. This module is used for WSON and Flexi-grid DWDM layer0-types. This module is used for WSON and flexi-grid DWDM
networks. The ietf-layer0-types module contains the following YANG networks. The "ietf-layer0-types" module contains the following YANG
reusable types and groupings: reusable types and groupings:
l0-grid-type: l0-grid-type:
A base YANG identity for the grid type as defined in [RFC6163] and A base YANG identity for the grid type as defined in [RFC6163] and
[RFC7698]. [RFC7698].
dwdm-ch-spc-type: dwdm-ch-spc-type:
A base YANG identity for the DWDM channel-spacing type as defined A base YANG identity for the DWDM channel-spacing type as defined
in [RFC6205]. in [RFC6205].
skipping to change at line 148 skipping to change at line 149
This grouping shows the WSON-specific label-start and label-end This grouping shows the WSON-specific label-start and label-end
information. information.
wson-label-hop: wson-label-hop:
The WSON label range was defined in [RFC6205], and the generic The WSON label range was defined in [RFC6205], and the generic
topology model defines the label-hop in [RFC8795]. This grouping topology model defines the label-hop in [RFC8795]. This grouping
shows the WSON-specific label-hop information. shows the WSON-specific label-hop information.
l0-label-range-info: l0-label-range-info:
A YANG grouping that defines the Layer 0 label range information A YANG grouping that defines the Layer 0 label range information
applicable for both WSON per priority level as defined in applicable for WSON as defined in [RFC6205]. This grouping is
[RFC6205]. This grouping is used in the flexi-grid DWDM by adding used in the flexi-grid DWDM by adding more flexi-grid-specific
more flexi-grid-specific parameters. parameters.
wson-label-step: wson-label-step:
A YANG grouping that defines label steps for WSON as defined in A YANG grouping that defines label steps for WSON as defined in
[RFC8776]. [RFC8776].
flexi-grid-label-start-end: flexi-grid-label-start-end:
The flexi-grid label range was defined in [RFC7698], and the The flexi-grid label range was defined in [RFC7698], and the
generic topology model defines the label-start/label-end in generic topology model defines the label-start/label-end in
[RFC8795]. This grouping shows the flexi-grid-specific label- [RFC8795]. This grouping shows the flexi-grid-specific label-
start and label-end information. start and label-end information.
flexi-grid-label-hop: flexi-grid-label-hop:
The flexi-grid label range was defined in [RFC7698], and the The flexi-grid label range was defined in [RFC7698], and the
generic topology model defines the label-hop in [RFC8795]. This generic topology model defines the label-hop in [RFC8795]. This
grouping shows the WSON-specific label-hop information. grouping shows the WSON-specific label-hop information.
flexi-grid-label-range-info: flexi-grid-label-range-info:
A YANG grouping that defines flexi-grid label range information A YANG grouping that defines flexi-grid label range information as
and per priority level as defined in [RFC7698] and [RFC8363]. defined in [RFC7698] and [RFC8363].
flexi-grid-label-step: flexi-grid-label-step:
A YANG grouping that defines flexi-grid label steps as defined in A YANG grouping that defines flexi-grid label steps as defined in
[RFC8776]. [RFC8776].
3. YANG Module for Layer 0 Types 3. YANG Module for Layer 0 Types
<CODE BEGINS> file "ietf-layer0-types@2021-07-14.yang" <CODE BEGINS> file "ietf-layer0-types@2021-07-20.yang"
module ietf-layer0-types { module ietf-layer0-types {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-layer0-types"; namespace "urn:ietf:params:xml:ns:yang:ietf-layer0-types";
prefix l0-types;
prefix "l0-types";
organization organization
"IETF CCAMP Working Group"; "IETF CCAMP Working Group";
contact contact
"WG Web: <https://datatracker.ietf.org/wg/ccamp/> "WG Web: <https://datatracker.ietf.org/wg/ccamp/>
WG List: <mailto:ccamp@ietf.org> WG List: <mailto:ccamp@ietf.org>
Editor: Haomian Zheng Editor: Haomian Zheng
<mailto:zhenghaomian@huawei.com> <mailto:zhenghaomian@huawei.com>
Editor: Young Lee Editor: Young Lee
<mailto:younglee.tx@gmail.com> <mailto:younglee.tx@gmail.com>
Editor: Aihua Guo Editor: Aihua Guo
<mailto:aihuaguo.ietf@gmail.com> <mailto:aihuaguo.ietf@gmail.com>
Editor: Victor Lopez Editor: Victor Lopez
<mailto:victor.lopezalvarez@telefonica.com> <mailto:victor.lopez@nokia.com>
Editor: Daniel King Editor: Daniel King
<mailto:d.king@lancaster.ac.uk>"; <mailto:d.king@lancaster.ac.uk>";
description description
"This module defines Optical Layer 0 types. This module "This module defines Optical Layer 0 types. This module
provides groupings that can be applicable to Layer 0 provides groupings that can be applicable to Layer 0
Fixed Optical Networks (e.g., CWDM (Coarse Wavelength Fixed Optical Networks (e.g., CWDM (Coarse Wavelength
Division Multiplexing) and DWDM (Dense Wavelength Division Division Multiplexing) and DWDM (Dense Wavelength Division
Multiplexing)) and Flexi-grid Optical Networks. Multiplexing)) and flexi-grid optical networks.
Copyright (c) 2021 IETF Trust and the persons identified Copyright (c) 2021 IETF Trust and the persons identified
as authors of the code. All rights reserved. as authors of the code. All rights reserved.
Redistribution and use in source and binary forms, with Redistribution and use in source and binary forms, with
or without modification, is permitted pursuant to, and or without modification, is permitted pursuant to, and
subject to the license terms contained in, the Simplified subject to the license terms contained in, the Simplified
BSD License set forth in Section 4.c of the IETF Trust's BSD License set forth in Section 4.c of the IETF Trust's
Legal Provisions Relating to IETF Documents Legal Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info). (https://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC 9093; see This version of this YANG module is part of RFC 9093; see
the RFC itself for full legal notices."; the RFC itself for full legal notices.";
revision "2021-07-14" { revision 2021-07-20 {
description description
"Initial version"; "Initial version";
reference reference
"RFC 9093: A YANG Data Model for Layer 0 Types"; "RFC 9093: A YANG Data Model for Layer 0 Types";
} }
typedef dwdm-n { typedef dwdm-n {
type int16; type int16;
description description
"The given value 'N' is used to determine the nominal central "The given value 'N' is used to determine the nominal central
frequency. frequency.
The nominal central frequency, 'f', is defined by: The nominal central frequency, 'f', is defined by:
f = 193100.000 GHz + N x channel-spacing (measured in GHz), f = 193100.000 GHz + N x channel spacing (measured in GHz),
where 193100.000 GHz (193.100000 THz) is the ITU-T 'anchor where 193100.000 GHz (193.100000 THz) is the ITU-T 'anchor
frequency' for transmission over the C band, and where frequency' for transmission over the DWDM grid, and where
'channel-spacing' is defined by the dwdm-ch-spc-type."; 'channel spacing' is defined by the dwdm-ch-spc-type.";
reference reference
"RFC 6205: Generalized Labels for Lambda-Switch-Capable (LSC) "RFC6205: Generalized Labels for Lambda-Switch-Capable (LSC)
Label Switching Routers, Label Switching Routers,
ITU-T G.694.1 (02/2012): Spectral grids for WDM applications: ITU-T G.694.1 (10/2020): Spectral grids for WDM applications:
DWDM frequency grid"; DWDM frequency grid";
} }
typedef cwdm-n { typedef cwdm-n {
type int16; type int16;
description description
"The given value 'N' is used to determine the nominal central "The given value 'N' is used to determine the nominal central
wavelength. wavelength.
The nominal central wavelength is defined by: The nominal central wavelength is defined by:
Wavelength = 1471 nm + N x channel-spacing (measured in nm) Wavelength = 1471 nm + N x channel spacing (measured in nm)
where 1471 nm is the ITU-T 'anchor wavelength' for where 1471 nm is the conventional 'anchor wavelength' for
transmission over the C band, and where 'channel-spacing' is transmission over the CWDM grid, and where 'channel spacing'
defined by the cwdm-ch-spc-type."; is defined by the cwdm-ch-spc-type.";
reference reference
"RFC 6205: Generalized Labels for Lambda-Switch-Capable (LSC) "RFC 6205: Generalized Labels for Lambda-Switch-Capable (LSC)
Label Switching Routers, Label Switching Routers,
ITU-T G.694.2 (12/2003): Spectral grids for WDM applications: ITU-T G.694.2 (12/2003): Spectral grids for WDM applications:
CWDM wavelength grid"; CWDM wavelength grid";
} }
typedef flexi-n { typedef flexi-n {
type int16; type int16;
description description
"The given value 'N' is used to determine the nominal central "The given value 'N' is used to determine the nominal central
frequency. frequency.
The nominal central frequency, 'f', is defined by: The nominal central frequency, 'f', is defined by:
f = 193100.000 GHz + N x channel-spacing (measured in GHz), f = 193100.000 GHz + N x channel spacing (measured in GHz),
where 193100.000 GHz (193.100000 THz) is the ITU-T 'anchor where 193100.000 GHz (193.100000 THz) is the ITU-T 'anchor
frequency' for transmission over the C band, and where frequency' for transmission over the DWDM grid, and where
'channel-spacing' is defined by the flexi-ch-spc-type. 'channel spacing' is defined by the flexi-ch-spc-type.
Note that the term 'channel-spacing' can be alternated by the Note that the term 'channel spacing' can be substituted by the
term 'nominal central frequency granularity' defined in term 'nominal central frequency granularity' defined in
clause 7 of ITU-T G.694.1."; clause 8 of ITU-T G.694.1.";
reference reference
"RFC 7698: Framework and Requirements for GMPLS-Based Control "RFC 7698: Framework and Requirements for GMPLS-Based Control
of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM) of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM)
Networks, Networks,
ITU-T G.694.1 (02/2012): Spectral grids for WDM applications: ITU-T G.694.1 (10/2020): Spectral grids for WDM applications:
DWDM frequency grid"; DWDM frequency grid";
} }
typedef flexi-m { typedef flexi-m {
type uint16; type uint16;
description description
"The given value 'M' is used to determine the slot width. "The given value 'M' is used to determine the slot width.
A slot width is defined by: A slot width is defined by:
slot width = M x SWG (measured in GHz), slot width = M x SWG (measured in GHz),
where SWG is defined by the flexi-slot-width-granularity."; where SWG is defined by the flexi-slot-width-granularity.";
reference reference
"RFC 7698: Framework and Requirements for GMPLS-Based Control "RFC 7698: Framework and Requirements for GMPLS-Based Control
of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM) of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM)
Networks, Networks.
ITU-T G.694.1 (02/2012): Spectral grids for WDM applications: ITU-T G.694.1 (10/2020): Spectral grids for WDM applications:
DWDM frequency grid"; DWDM frequency grid";
} }
identity l0-grid-type { identity l0-grid-type {
description description
"Layer 0 grid type"; "Layer 0 grid type";
reference reference
"RFC 6163: Framework for GMPLS and Path Computation Element "RFC 6163: Framework for GMPLS and Path Computation Element
(PCE) Control of Wavelength Switched Optical Networks (WSONs), (PCE) Control of Wavelength Switched Optical Networks (WSONs),
ITU-T G.694.1 (02/2012): Spectral grids for WDM applications: ITU-T G.694.1 (10/2020): Spectral grids for WDM applications:
DWDM frequency grid, DWDM frequency grid,
ITU-T G.694.2 (12/2003): Spectral grids for WDM applications: ITU-T G.694.2 (12/2003): Spectral grids for WDM applications:
CWDM wavelength grid"; CWDM wavelength grid";
} }
identity flexi-grid-dwdm { identity flexi-grid-dwdm {
base l0-grid-type; base l0-grid-type;
description description
"Flexi-grid"; "Flexi-grid";
reference reference
"RFC 7698: Framework and Requirements for GMPLS-Based Control "RFC 7698: Framework and Requirements for GMPLS-Based Control
of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM) of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM)
Networks, Networks,
ITU-T G.694.1 (02/2012): Spectral grids for WDM applications: ITU-T G.694.1 (10/2020): Spectral grids for WDM applications:
DWDM frequency grid"; DWDM frequency grid";
} }
identity wson-grid-dwdm { identity wson-grid-dwdm {
base l0-grid-type; base l0-grid-type;
description description
"DWDM grid"; "DWDM grid";
reference reference
"RFC 6163: Framework for GMPLS and Path Computation Element "RFC 6163:Framework for GMPLS and Path Computation Element
(PCE) Control of Wavelength Switched Optical Networks (WSONs), (PCE) Control of Wavelength Switched Optical Networks (WSONs),
ITU-T G.694.1 (02/2012): Spectral grids for WDM applications: ITU-T G.694.1 (10/2020): Spectral grids for WDM applications:
DWDM frequency grid"; DWDM frequency grid";
} }
identity wson-grid-cwdm { identity wson-grid-cwdm {
base l0-grid-type; base l0-grid-type;
description description
"CWDM grid"; "CWDM grid";
reference reference
"RFC 6205: Generalized Labels for Lambda-Switch-Capable (LSC) "RFC 6205: Generalized Labels for Lambda-Switch-Capable (LSC)
Label Switching Routers, Label Switching Routers,
ITU-T G.694.2 (12/2003): Spectral grids for WDM applications: ITU-T G.694.2 (12/2003): Spectral grids for WDM applications:
CWDM wavelength grid"; CWDM wavelength grid";
} }
identity dwdm-ch-spc-type { identity dwdm-ch-spc-type {
description description
"DWDM channel-spacing type"; "DWDM channel-spacing type";
reference reference
"RFC 6205: Generalized Labels for Lambda-Switch-Capable (LSC) "RFC 6205: Generalized Labels for Lambda-Switch-Capable (LSC)
Label Switching Routers, Label Switching Routers,
ITU-T G.694.1 (02/2012): Spectral grids for WDM applications: ITU-T G.694.1 (10/2020): Spectral grids for WDM applications:
DWDM frequency grid"; DWDM frequency grid";
} }
identity dwdm-100ghz { identity dwdm-100ghz {
base dwdm-ch-spc-type; base dwdm-ch-spc-type;
description description
"100 GHz channel spacing"; "100 GHz channel spacing";
} }
identity dwdm-50ghz { identity dwdm-50ghz {
skipping to change at line 398 skipping to change at line 398
"12.5 GHz channel spacing"; "12.5 GHz channel spacing";
} }
identity flexi-ch-spc-type { identity flexi-ch-spc-type {
description description
"Flexi-grid channel-spacing type"; "Flexi-grid channel-spacing type";
reference reference
"RFC 7698: Framework and Requirements for GMPLS-Based Control "RFC 7698: Framework and Requirements for GMPLS-Based Control
of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM) of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM)
Networks, Networks,
ITU-T G.694.1 (02/2012): Spectral grids for WDM applications: ITU-T G.694.1 (10/2020): Spectral grids for WDM applications:
DWDM frequency grid"; DWDM frequency grid";
} }
identity flexi-ch-spc-6p25ghz { identity flexi-ch-spc-6p25ghz {
base flexi-ch-spc-type; base flexi-ch-spc-type;
description description
"6.25 GHz channel spacing"; "6.25 GHz channel spacing";
} }
identity flexi-slot-width-granularity { identity flexi-slot-width-granularity {
skipping to change at line 446 skipping to change at line 446
grouping wson-label-start-end { grouping wson-label-start-end {
description description
"The WSON label-start or label-end used to specify WSON label "The WSON label-start or label-end used to specify WSON label
range."; range.";
choice grid-type { choice grid-type {
description description
"Label for DWDM or CWDM grid"; "Label for DWDM or CWDM grid";
case dwdm { case dwdm {
leaf dwdm-n { leaf dwdm-n {
when 'derived-from-or-self(../../../grid-type, when "derived-from-or-self(../../../grid-type,
"wson-grid-dwdm")' \"wson-grid-dwdm\")" {
{
description description
"Valid only when grid type is DWDM."; "Valid only when grid type is DWDM.";
} }
type l0-types:dwdm-n; type l0-types:dwdm-n;
description description
"The central frequency of DWDM."; "The central frequency of DWDM.";
reference reference
"RFC 6205: Generalized Labels for Lambda-Switch-Capable "RFC 6205: Generalized Labels for Lambda-Switch-Capable
(LSC) Label Switching Routers"; (LSC) Label Switching Routers";
} }
} }
case cwdm { case cwdm {
leaf cwdm-n { leaf cwdm-n {
when 'derived-from-or-self(../../../grid-type, when "derived-from-or-self(../../../grid-type,
"wson-grid-cwdm")' \"wson-grid-cwdm\")" {
{
description description
"Valid only when grid type is CWDM."; "Valid only when grid type is CWDM.";
} }
type l0-types:cwdm-n; type l0-types:cwdm-n;
description description
"Channel wavelength computing input."; "Channel wavelength computing input.";
reference reference
"RFC 6205: Generalized Labels for Lambda-Switch-Capable "RFC 6205: Generalized Labels for Lambda-Switch-Capable
(LSC) Label Switching Routers"; (LSC) Label Switching Routers";
} }
skipping to change at line 490 skipping to change at line 488
} }
grouping wson-label-hop { grouping wson-label-hop {
description description
"Generic label-hop information for WSON"; "Generic label-hop information for WSON";
choice grid-type { choice grid-type {
description description
"Label for DWDM or CWDM grid"; "Label for DWDM or CWDM grid";
case dwdm { case dwdm {
choice single-or-super-channel { choice single-or-super-channel {
description "single or super channel"; description
"single or super channel";
case single { case single {
leaf dwdm-n { leaf dwdm-n {
type l0-types:dwdm-n; type l0-types:dwdm-n;
description description
"The given value 'N' is used to determine the "The given value 'N' is used to determine the
nominal central frequency."; nominal central frequency.";
} }
} }
case super { case super {
leaf-list subcarrier-dwdm-n { leaf-list subcarrier-dwdm-n {
skipping to change at line 537 skipping to change at line 536
Label Switching Routers"; Label Switching Routers";
} }
grouping l0-label-range-info { grouping l0-label-range-info {
description description
"Information about Layer 0 label range."; "Information about Layer 0 label range.";
leaf grid-type { leaf grid-type {
type identityref { type identityref {
base l0-grid-type; base l0-grid-type;
} }
description "Grid type"; description
"Grid type";
} }
leaf priority { leaf priority {
type uint8; type uint8;
description description
"Priority in Interface Switching Capability Descriptor "Priority in Interface Switching Capability Descriptor
(ISCD)."; (ISCD).";
reference reference
"RFC 4203: OSPF Extensions in Support of Generalized "RFC 4203: OSPF Extensions in Support of Generalized
Multi-Protocol Label Switching (GMPLS)"; Multi-Protocol Label Switching (GMPLS)";
} }
reference reference
"RFC 6205: Generalized Labels for Lambda-Switch-Capable (LSC) "RFC 6205: Generalized Labels for Lambda-Switch-Capable (LSC)
Label Switching Routers"; Label Switching Routers";
} }
grouping wson-label-step { grouping wson-label-step {
description "Label step information for WSON"; description
"Label step information for WSON";
choice l0-grid-type { choice l0-grid-type {
description description
"Grid type: DWDM, CWDM, etc."; "Grid type: DWDM, CWDM, etc.";
case dwdm { case dwdm {
leaf wson-dwdm-channel-spacing { leaf wson-dwdm-channel-spacing {
when 'derived-from-or-self(../../grid-type, when "derived-from-or-self(../../grid-type,
"wson-grid-dwdm")' \"wson-grid-dwdm\")" {
{
description description
"Valid only when grid type is DWDM."; "Valid only when grid type is DWDM.";
} }
type identityref { type identityref {
base dwdm-ch-spc-type; base dwdm-ch-spc-type;
} }
description description
"Label-step is the channel-spacing (GHz), e.g., 100.000, "Label-step is the channel spacing (GHz), e.g., 100.000,
50.000, 25.000, or 12.500 GHz for DWDM."; 50.000, 25.000, or 12.500 GHz for DWDM.";
reference reference
"RFC 6205: Generalized Labels for Lambda-Switch-Capable "RFC 6205: Generalized Labels for Lambda-Switch-Capable
(LSC) Label Switching Routers"; (LSC) Label Switching Routers";
} }
} }
case cwdm { case cwdm {
leaf wson-cwdm-channel-spacing { leaf wson-cwdm-channel-spacing {
when 'derived-from-or-self(../../grid-type, when "derived-from-or-self(../../grid-type,
"wson-grid-cwdm")' \"wson-grid-cwdm\")" {
{
description description
"Valid only when grid type is CWDM."; "Valid only when grid type is CWDM.";
} }
type identityref { type identityref {
base cwdm-ch-spc-type; base cwdm-ch-spc-type;
} }
description description
"Label-step is the channel-spacing (nm), i.e., 20 nm "Label-step is the channel spacing (nm), i.e., 20 nm
for CWDM, which is the only value defined for CWDM."; for CWDM, which is the only value defined for CWDM.";
reference reference
"RFC 6205: Generalized Labels for Lambda-Switch-Capable "RFC 6205: Generalized Labels for Lambda-Switch-Capable
(LSC) Label Switching Routers"; (LSC) Label Switching Routers";
} }
} }
} }
reference reference
"RFC 6205: Generalized Labels for Lambda-Switch-Capable (LSC) "RFC 6205: Generalized Labels for Lambda-Switch-Capable (LSC)
Label Switching Routers, Label Switching Routers,
ITU-T G.694.2 (12/2003): Spectral grids for WDM applications: ITU-T G.694.2 (12/2003): Spectral grids for WDM applications:
CWDM wavelength grid"; CWDM wavelength grid";
} }
grouping flexi-grid-label-start-end { grouping flexi-grid-label-start-end {
description description
"The Flexi-grid label-start or label-end used to specify "The flexi-grid label-start or label-end used to specify
Flexi-grid label range."; flexi-grid label range.";
leaf flexi-n { leaf flexi-n {
type l0-types:flexi-n; type l0-types:flexi-n;
description description
"The given value 'N' is used to determine the nominal "The given value 'N' is used to determine the nominal
central frequency."; central frequency.";
} }
reference reference
"RFC 7698: Framework and Requirements for GMPLS-Based Control "RFC 7698: Framework and Requirements for GMPLS-Based Control
of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM) of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM)
Networks"; Networks";
} }
grouping flexi-grid-frequency-slot { grouping flexi-grid-frequency-slot {
description "Flexi-grid frequency slot grouping."; description
"Flexi-grid frequency slot grouping.";
uses flexi-grid-label-start-end; uses flexi-grid-label-start-end;
leaf flexi-m { leaf flexi-m {
type l0-types:flexi-m; type l0-types:flexi-m;
description description
"The given value 'M' is used to determine the slot width."; "The given value 'M' is used to determine the slot width.";
} }
reference reference
"RFC 7698: Framework and Requirements for GMPLS-Based Control "RFC 7698: Framework and Requirements for GMPLS-Based Control
of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM) of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM)
Networks"; Networks";
} }
grouping flexi-grid-label-hop { grouping flexi-grid-label-hop {
description description
"Generic label-hop information for Flexi-grid."; "Generic label-hop information for flexi-grid";
choice single-or-super-channel { choice single-or-super-channel {
description "single or super channel"; description
"single or super channel";
case single { case single {
uses flexi-grid-frequency-slot; uses flexi-grid-frequency-slot;
} }
case super { case super {
list subcarrier-flexi-n { list subcarrier-flexi-n {
key flexi-n; key "flexi-n";
uses flexi-grid-frequency-slot; uses flexi-grid-frequency-slot;
description description
"List of subcarrier channels for flexi-grid super "List of subcarrier channels for flexi-grid super
channel."; channel.";
} }
} }
} }
reference reference
"RFC 7698: Framework and Requirements for GMPLS-Based Control "RFC 7698: Framework and Requirements for GMPLS-Based Control
of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM) of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM)
Networks"; Networks";
} }
grouping flexi-grid-label-range-info { grouping flexi-grid-label-range-info {
description description
"Flexi-grid-specific label range related information"; "Flexi-grid-specific label range related information";
uses l0-label-range-info; uses l0-label-range-info;
container flexi-grid { container flexi-grid {
description "flexi-grid definition"; description
"flexi-grid definition";
leaf slot-width-granularity { leaf slot-width-granularity {
type identityref { type identityref {
base flexi-slot-width-granularity; base flexi-slot-width-granularity;
} }
default flexi-swg-12p5ghz; default "flexi-swg-12p5ghz";
description description
"Minimum space between slot widths. Default is 12.500 "Minimum space between slot widths. Default is 12.500
GHz."; GHz.";
reference reference
"RFC 7698: Framework and Requirements for GMPLS-Based "RFC 7698: Framework and Requirements for GMPLS-Based
Control of Flexi-Grid Dense Wavelength Division Control of Flexi-Grid Dense Wavelength Division
Multiplexing (DWDM) Networks"; Multiplexing (DWDM) Networks";
} }
leaf min-slot-width-factor { leaf min-slot-width-factor {
type uint16 { type uint16 {
range "1..max"; range "1..max";
} }
default 1; default "1";
description description
"A multiplier of the slot width granularity, indicating "A multiplier of the slot width granularity, indicating
the minimum slot width supported by an optical port. the minimum slot width supported by an optical port.
Minimum slot width is calculated by: Minimum slot width is calculated by:
Minimum slot width (GHz) = Minimum slot width (GHz) =
min-slot-width-factor * slot-width-granularity."; min-slot-width-factor * slot-width-granularity.";
reference reference
"RFC 8363: GMPLS OSPF-TE Extensions in Support of Flexi- "RFC 8363: GMPLS OSPF-TE Extensions in Support of Flexi-
Grid Dense Wavelength Division Multiplexing (DWDM) Grid Dense Wavelength Division Multiplexing (DWDM)
Networks"; Networks";
} }
leaf max-slot-width-factor { leaf max-slot-width-factor {
type uint16 { type uint16 {
range "1..max"; range "1..max";
} }
must '. >= min-slot-width-factor' { must '. >= ../min-slot-width-factor' {
error-message error-message
"Maximum slot width must be greater than or equal to "Maximum slot width must be greater than or equal to
minimum slot width."; minimum slot width.";
} }
description description
"A multiplier of the slot width granularity, indicating "A multiplier of the slot width granularity, indicating
the maximum slot width supported by an optical port. the maximum slot width supported by an optical port.
Maximum slot width is calculated by: Maximum slot width is calculated by:
Maximum slot width (GHz) = Maximum slot width (GHz) =
skipping to change at line 725 skipping to change at line 726
slot width is equal to minimum slot width."; slot width is equal to minimum slot width.";
reference reference
"RFC 8363: GMPLS OSPF-TE Extensions in Support of Flexi- "RFC 8363: GMPLS OSPF-TE Extensions in Support of Flexi-
Grid Dense Wavelength Division Multiplexing (DWDM) Grid Dense Wavelength Division Multiplexing (DWDM)
Networks"; Networks";
} }
} }
} }
grouping flexi-grid-label-step { grouping flexi-grid-label-step {
description "Label step information for flexi-grid"; description
"Label step information for flexi-grid";
leaf flexi-grid-channel-spacing { leaf flexi-grid-channel-spacing {
type identityref { type identityref {
base flexi-ch-spc-type; base flexi-ch-spc-type;
} }
default flexi-ch-spc-6p25ghz; default "flexi-ch-spc-6p25ghz";
description description
"Label-step is the nominal central frequency granularity "Label-step is the nominal central frequency granularity
(GHz), e.g., 6.25 GHz."; (GHz), e.g., 6.25 GHz.";
reference reference
"RFC 7699: Generalized Labels for the Flexi-Grid in Lambda "RFC 7699: Generalized Labels for the Flexi-Grid in Lambda
Switch Capable (LSC) Label Switching Routers"; Switch Capable (LSC) Label Switching Routers";
} }
leaf flexi-n-step { leaf flexi-n-step {
type uint8; type uint8;
description description
"This attribute defines the multiplier for the supported "This attribute defines the multiplier for the supported
values of 'N'. values of 'N'.
For example, given a grid with a nominal central frequency For example, given a grid with a nominal central frequency
granularity of 6.25 GHz, the granularity of the supported granularity of 6.25 GHz, the granularity of the supported
values of the nominal central frequency could be 12.5 GHz. values of the nominal central frequency could be 12.5 GHz.
skipping to change at line 899 skipping to change at line 901
[RFC8795] Liu, X., Bryskin, I., Beeram, V., Saad, T., Shah, H., and [RFC8795] Liu, X., Bryskin, I., Beeram, V., Saad, T., Shah, H., and
O. Gonzalez de Dios, "YANG Data Model for Traffic O. Gonzalez de Dios, "YANG Data Model for Traffic
Engineering (TE) Topologies", RFC 8795, Engineering (TE) Topologies", RFC 8795,
DOI 10.17487/RFC8795, August 2020, DOI 10.17487/RFC8795, August 2020,
<https://www.rfc-editor.org/info/rfc8795>. <https://www.rfc-editor.org/info/rfc8795>.
6.2. Informative References 6.2. Informative References
[ITU-Tg6941] [ITU-Tg6941]
ITU-T, "Spectral grids for WDM applications: DWDM ITU-T, "Spectral grids for WDM applications: DWDM
frequency grid", ITU-T Recommendation G.694.1, February frequency grid", ITU-T Recommendation G.694.1, October
2012. 2020.
[ITU-Tg6942] [ITU-Tg6942]
ITU-T, "Spectral grids for WDM applications: CWDM ITU-T, "Spectral grids for WDM applications: CWDM
wavelength grid", ITU-T Recommendation G.694.2, December wavelength grid", ITU-T Recommendation G.694.2, December
2003. 2003.
[ITU-Tg709]
ITU-T, "Interfaces for the optical transport network",
ITU-T Recommendation G.709, June 2016.
[RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688,
DOI 10.17487/RFC3688, January 2004, DOI 10.17487/RFC3688, January 2004,
<https://www.rfc-editor.org/info/rfc3688>. <https://www.rfc-editor.org/info/rfc3688>.
[RFC7446] Lee, Y., Ed., Bernstein, G., Ed., Li, D., and W. Imajuku, [RFC7446] Lee, Y., Ed., Bernstein, G., Ed., Li, D., and W. Imajuku,
"Routing and Wavelength Assignment Information Model for "Routing and Wavelength Assignment Information Model for
Wavelength Switched Optical Networks", RFC 7446, Wavelength Switched Optical Networks", RFC 7446,
DOI 10.17487/RFC7446, February 2015, DOI 10.17487/RFC7446, February 2015,
<https://www.rfc-editor.org/info/rfc7446>. <https://www.rfc-editor.org/info/rfc7446>.
skipping to change at line 966 skipping to change at line 964
Haomian Zheng Haomian Zheng
Huawei Technologies Huawei Technologies
H1, Huawei Xiliu Beipo Village, Songshan Lake H1, Huawei Xiliu Beipo Village, Songshan Lake
Dongguan Dongguan
Guangdong, 523808 Guangdong, 523808
China China
Email: zhenghaomian@huawei.com Email: zhenghaomian@huawei.com
Additional contact information:
郑好棉
中国
523808
广东 东莞
松山湖华为溪流背坡村H1
华为技术有限公司
Young Lee Young Lee
Samsung Samsung
South Korea South Korea
Email: younglee.tx@gmail.com Email: younglee.tx@gmail.com
Aihua Guo Aihua Guo
Futurewei Futurewei
Email: aihuaguo.ietf@gmail.com Email: aihuaguo.ietf@gmail.com
Victor Lopez Victor Lopez
Telefonica Nokia
Email: victor.lopezalvarez@telefonica.com Email: victor.lopez@nokia.com
Daniel King Daniel King
University of Lancaster University of Lancaster
Email: d.king@lancaster.ac.uk Email: d.king@lancaster.ac.uk
 End of changes. 59 change blocks. 
87 lines changed or deleted 94 lines changed or added

This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/