< draft-ietf-ccamp-layer0-types-03.txt | draft-ietf-ccamp-layer0-types-04.txt > | |||
---|---|---|---|---|
CCAMP Working Group H. Zheng | CCAMP Working Group H. Zheng | |||
Internet-Draft Huawei Technologies | Internet-Draft Huawei Technologies | |||
Intended status: Standards Track Y. Lee | Intended status: Standards Track Y. Lee | |||
Expires: May 31, 2020 SKKU | Expires: June 27, 2020 SKKU | |||
A. Guo | A. Guo | |||
Futurewei | Futurewei | |||
V. Lopez | V. Lopez | |||
Telefonica | Telefonica | |||
D. King | D. King | |||
University of Lancaster | University of Lancaster | |||
November 28, 2019 | December 25, 2019 | |||
A YANG Data Model for Layer 0 Types | A YANG Data Model for Layer 0 Types | |||
draft-ietf-ccamp-layer0-types-03 | draft-ietf-ccamp-layer0-types-04 | |||
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. | |||
skipping to change at page 1, line 42 ¶ | skipping to change at page 1, line 42 ¶ | |||
Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
Task Force (IETF). Note that other groups may also distribute | Task Force (IETF). Note that other groups may also distribute | |||
working documents as Internet-Drafts. The list of current Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
Drafts is at https://datatracker.ietf.org/drafts/current/. | Drafts is at https://datatracker.ietf.org/drafts/current/. | |||
Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
This Internet-Draft will expire on May 31, 2020. | This Internet-Draft will expire on June 27, 2020. | |||
Copyright Notice | Copyright Notice | |||
Copyright (c) 2019 IETF Trust and the persons identified as the | Copyright (c) 2019 IETF Trust and the persons identified as the | |||
document authors. All rights reserved. | document authors. All rights reserved. | |||
This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
Provisions Relating to IETF Documents | Provisions Relating to IETF Documents | |||
(https://trustee.ietf.org/license-info) in effect on the date of | (https://trustee.ietf.org/license-info) in effect on the date of | |||
publication of this document. Please review these documents | publication of this document. Please review these documents | |||
skipping to change at page 2, line 20 ¶ | skipping to change at page 2, line 20 ¶ | |||
to this document. Code Components extracted from this document must | to this document. Code Components extracted from this document must | |||
include Simplified BSD License text as described in Section 4.e of | include Simplified BSD License text as described in Section 4.e of | |||
the Trust Legal Provisions and are provided without warranty as | the Trust Legal Provisions and are provided without warranty as | |||
described in the Simplified BSD License. | described in the Simplified BSD License. | |||
Table of Contents | Table of Contents | |||
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 | 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 | |||
1.1. Terminology and Notations . . . . . . . . . . . . . . . . 3 | 1.1. Terminology and Notations . . . . . . . . . . . . . . . . 3 | |||
1.2. Prefix in Data Node Names . . . . . . . . . . . . . . . . 3 | 1.2. Prefix in Data Node Names . . . . . . . . . . . . . . . . 3 | |||
2. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 3 | 2. Layer 0 Types Module Contents . . . . . . . . . . . . . . . . 3 | |||
2.1. Layer 0 Types Module Contents . . . . . . . . . . . . . . 3 | 3. YANG Code for Layer 0 Types . . . . . . . . . . . . . . . . . 6 | |||
3. YANG Code for Layer0 Types . . . . . . . . . . . . . . . . . 6 | ||||
4. Security Considerations . . . . . . . . . . . . . . . . . . . 22 | 4. Security Considerations . . . . . . . . . . . . . . . . . . . 22 | |||
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 23 | 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 22 | |||
6. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 23 | 6. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 23 | |||
7. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 24 | 7. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 23 | |||
8. References . . . . . . . . . . . . . . . . . . . . . . . . . 24 | 8. References . . . . . . . . . . . . . . . . . . . . . . . . . 23 | |||
8.1. Normative References . . . . . . . . . . . . . . . . . . 24 | 8.1. Normative References . . . . . . . . . . . . . . . . . . 23 | |||
8.2. Informative References . . . . . . . . . . . . . . . . . 25 | 8.2. Informative References . . . . . . . . . . . . . . . . . 24 | |||
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 26 | Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 25 | |||
1. Introduction | 1. Introduction | |||
YANG [RFC6020] and [RFC7950] is a data modeling language used to | YANG [RFC7950] is a data modeling language used to model | |||
model configuration data, state data, Remote Procedure Calls, and | configuration data, state data, Remote Procedure Calls, and | |||
notifications for network management protocols such as NETCONF | notifications for network management protocols such as NETCONF | |||
[RFC6241]. The YANG language supports a small set of built-in data | [RFC6241]. The YANG language supports a small set of built-in data | |||
types and provides mechanisms to derive other types from the built-in | types and provides mechanisms to derive other types from the built-in | |||
types. | 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 aspect) for Layer 0 optical networks in | network configuration aspect) for Layer 0 optical networks in | |||
skipping to change at page 3, line 23 ¶ | skipping to change at page 3, line 23 ¶ | |||
1.2. Prefix in Data Node Names | 1.2. Prefix in Data Node Names | |||
In this document, names of data nodes and other data model objects | In this document, names of data nodes and other data model objects | |||
are prefixed using the standard prefix associated with the | are prefixed using the standard prefix associated with the | |||
corresponding YANG imported modules. | corresponding YANG imported modules. | |||
+-------------+---------------------------+----------------------+ | +-------------+---------------------------+----------------------+ | |||
| Prefix | YANG module | Reference | | | Prefix | YANG module | Reference | | |||
+-------------+---------------------------+----------------------+ | +-------------+---------------------------+----------------------+ | |||
| layer0-types| ietf-layer0-types | [RFCXXXX] | | | l0-types | ietf-layer0-types | [RFCXXXX] | | |||
+-------------+---------------------------+----------------------+ | +-------------+---------------------------+----------------------+ | |||
Note: The RFC Editor will replace XXXX with the number assigned to | Note: The RFC Editor will replace XXXX with the number assigned to | |||
the RFC once this document becomes an RFC. | the RFC once this document becomes an RFC. | |||
YANG module ietf-layer0-types (defined in Section 3) references | YANG module ietf-layer0-types (defined in Section 3) references | |||
[RFC6163], [RFC7205], and [RFC7698]. | [RFC6163], [RFC7205], and [RFC7698]. | |||
2. Overview | 2. Layer 0 Types Module Contents | |||
This document defines YANG module for common Layer 0 types, ietf- | This document defines 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. | networks. The ietf-layer0-types module contains the following YANG | |||
reusable types and groupings: | ||||
2.1. Layer 0 Types Module Contents | ||||
The ietf-layer0-types module contains the following YANG reusable | ||||
types and groupings: | ||||
Operational-mode: | Operational-mode: | |||
A type that represents operational mode as defined in [ITU-Tg6982]. | A type that represents operational mode as defined in [ITU-Tg6982]. | |||
layer0-node-type: | layer0-node-type: | |||
A base YANG identity for supported node type as defined in [RFC6163]. | A base YANG identity for supported node type as defined in [RFC6163]. | |||
wavelength-assignment: | wavelength-assignment: | |||
skipping to change at page 4, line 22 ¶ | skipping to change at page 4, line 17 ¶ | |||
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]. | |||
term-type: | term-type: | |||
A base YANG identity for the supported termination type as defined in | A base YANG identity for the supported termination type as defined in | |||
[ITU-Tg709]. | [ITU-Tg709]. | |||
layer0-bandwidth-type: | layer0-bandwidth-type: | |||
A base YANG identity for the layer0 bandwidth type as defined in | A base YANG identity for the layer 0 bandwidth type as defined in | |||
[ITU-Tg709]. | [ITU-Tg709]. | |||
dwdm-ch-spc-type: | dwdm-ch-spc-type: | |||
A base YANG identity for the DWDM channel spacing type as defined in | A base YANG identity for the DWDM channel spacing type as defined in | |||
[RFC6205]. | [RFC6205]. | |||
cwdm-ch-spc-type: | cwdm-ch-spc-type: | |||
A base YANG identity for the CWDM channel spacing type as defined in | A base YANG identity for the CWDM channel spacing type as defined in | |||
skipping to change at page 6, line 13 ¶ | skipping to change at page 6, line 8 ¶ | |||
flexi-grid-label-range-info: | flexi-grid-label-range-info: | |||
A YANG grouping that defines flexi-grid label range information and | A YANG grouping that defines flexi-grid label range information and | |||
per priority level as defined in [RFC7698] and [RFC8363]. | per priority level as 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 | |||
[I-D.ietf-teas-yang-te-types]. | [I-D.ietf-teas-yang-te-types]. | |||
3. YANG Code for Layer0 Types | 3. YANG Code for Layer 0 Types | |||
<CODE BEGINS>file "ietf-layer0-types@2019-11-28.yang" | <CODE BEGINS>file "ietf-layer0-types@2019-12-25.yang" | |||
module ietf-layer0-types { | module ietf-layer0-types { | |||
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 "layer0-types"; | prefix "l0-types"; | |||
organization | organization | |||
"IETF CCAMP Working Group"; | "IETF CCAMP Working Group"; | |||
contact | contact | |||
"WG Web: <http://tools.ietf.org/wg/ccamp/> | "WG Web: <http://tools.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> | |||
skipping to change at page 7, line 13 ¶ | skipping to change at page 7, line 9 ¶ | |||
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 | |||
(http://trustee.ietf.org/license-info). | (http://trustee.ietf.org/license-info). | |||
This version of this YANG module is part of RFC XXXX; see | This version of this YANG module is part of RFC XXXX; see | |||
the RFC itself for full legal notices."; | the RFC itself for full legal notices."; | |||
revision "2019-11-28" { | revision "2019-12-25" { | |||
description | description | |||
"Initial Version"; | "Initial Version"; | |||
reference | reference | |||
"RFC XXXX: A YANG Data Model for Layer 0 Types"; | "RFC XXXX: A YANG Data Model for Layer 0 Types"; | |||
} | } | |||
typedef operational-mode { | typedef operational-mode { | |||
type string; | type string; | |||
description | description | |||
"Vendor-specific mode that guarantees interoperability. | "Vendor-specific mode that guarantees interoperability. | |||
It must be an string with the following format: | It must be an string with the following format: | |||
B-DScW-ytz(v) where all these attributes are conforming | B-DScW-ytz(v) where all these attributes are conforming | |||
to the ITU-T recommendation"; | to the ITU-T recommendation"; | |||
reference "ITU-T G.698.2 (11/2018) Section 5.3"; | reference "ITU-T G.698.2 (11/2018) Section 5.3"; | |||
} | } | |||
typedef frequency-thz { | typedef dwdm-n { | |||
type decimal64 { | ||||
fraction-digits 6; | ||||
} | ||||
units THz; | ||||
description | ||||
"The DWDM frequency in THz, e.g., 193.112500"; | ||||
reference | ||||
"RFC6205: Generalized Labels for | ||||
Lambda-Switch-Capable (LSC) Label Switching Routers"; | ||||
} | ||||
typedef frequency-ghz { | ||||
type decimal64 { | ||||
fraction-digits 3; | ||||
} | ||||
units GHz; | ||||
description | ||||
"The DWDM frequency in GHz, e.g., 193112.500"; | ||||
reference | ||||
"RFC6205: Generalized Labels for | ||||
Lambda-Switch-Capable (LSC) Label Switching Routers"; | ||||
} | ||||
typedef dwdm-n | ||||
{ | ||||
type int16; | type int16; | |||
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. | |||
The nominal central frequency, 'f' is defined by, | The nominal central frequency, 'f' is defined by, | |||
f = 193100.000 GHz + N x 12.500 GHz, | f = 193100.000 GHz + N x 12.500 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. "; | frequency' for transmission over the C band. "; | |||
reference | reference | |||
"RFC6205: Generalized Labels for | "RFC6205: Generalized Labels for | |||
Lambda-Switch-Capable (LSC) Label Switching Routers"; | Lambda-Switch-Capable (LSC) Label Switching Routers"; | |||
} | } | |||
typedef cwdm-n | typedef cwdm-n { | |||
{ | ||||
type int16; | type int16; | |||
description | description | |||
"The given value 'N' is used to compute the channel | "The given value 'N' is used to compute the channel | |||
wavelength as per the formula: | wavelength as per the formula: | |||
Wavelength (nm) = 1471 + N x 20 "; | Wavelength (nm) = 1471 + N x 20 "; | |||
reference | reference | |||
"RFC6205: Generalized Labels for | "RFC6205: Generalized Labels for | |||
Lambda-Switch-Capable (LSC) Label Switching Routers"; | Lambda-Switch-Capable (LSC) Label Switching Routers"; | |||
} | } | |||
typedef flexi-n { | ||||
typedef flexi-n | ||||
{ | ||||
type int16; | type int16; | |||
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. | |||
The nominal central frequency, 'f' is defined by, | The nominal central frequency, 'f' is defined by, | |||
f = 193100.000 GHz + N x 6.250 GHz, | f = 193100.000 GHz + N x 6.250 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. "; | frequency' for transmission over the C band. "; | |||
reference | reference | |||
"RFC7698: Framework and Requirements for GMPLS-Based Control | "RFC7698: 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"; | |||
} | } | |||
skipping to change at page 8, line 52 ¶ | skipping to change at page 8, line 19 ¶ | |||
The nominal central frequency, 'f' is defined by, | The nominal central frequency, 'f' is defined by, | |||
f = 193100.000 GHz + N x 6.250 GHz, | f = 193100.000 GHz + N x 6.250 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. "; | frequency' for transmission over the C band. "; | |||
reference | reference | |||
"RFC7698: Framework and Requirements for GMPLS-Based Control | "RFC7698: 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"; | |||
} | } | |||
typedef flexi-m { | ||||
type int16; | ||||
description | ||||
"M is used to determine the slot width. A slot width is | ||||
constrained to be M x SWG (that is, M x 12.500 GHz), | ||||
where M is a positive integer. "; | ||||
reference | ||||
"RFC7698: Framework and Requirements for GMPLS-Based Control | ||||
of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM) | ||||
Networks"; | ||||
} | ||||
identity layer0-node-type { | identity layer0-node-type { | |||
description | description | |||
"layer0 node type."; | "layer 0 node type."; | |||
reference | reference | |||
"RFC6163:Framework for GMPLS and Path Computation Element | "RFC6163:Framework for GMPLS and Path Computation Element | |||
(PCE) Control of Wavelength Switched Optical Networks (WSONs)"; | (PCE) Control of Wavelength Switched Optical Networks (WSONs)"; | |||
} | } | |||
identity flexi-grid-node { | identity flexi-grid-node { | |||
base layer0-node-type; | base layer0-node-type; | |||
description | description | |||
"Flexi-grid node"; | "Flexi-grid node"; | |||
} | } | |||
skipping to change at page 11, line 20 ¶ | skipping to change at page 10, line 47 ¶ | |||
reference | reference | |||
"ITU-T G.709: Interfaces for the Optical Transport Network"; | "ITU-T G.709: Interfaces for the Optical Transport Network"; | |||
} | } | |||
identity term-phys { | identity term-phys { | |||
base term-type; | base term-type; | |||
description | description | |||
"Physical layer termination"; | "Physical layer termination"; | |||
} | } | |||
identity term-otu { | identity term-OTU { | |||
base term-type; | base term-type; | |||
description | description | |||
"OTU (Optical Transport Unit) termination"; | "OTU (Optical Transport Unit) termination"; | |||
} | } | |||
identity term-ODU { | ||||
identity term-odu { | ||||
base term-type; | base term-type; | |||
description | description | |||
"ODU (Optical Data Unit) termination"; | "ODU (Optical Data Unit) termination"; | |||
} | } | |||
identity term-opu { | identity term-OPU { | |||
base term-type; | base term-type; | |||
description | description | |||
"OPU (Optical Payload Unit) termination"; | "OPU (Optical Payload Unit) termination"; | |||
} | } | |||
identity term-section { | identity term-section { | |||
base term-type; | base term-type; | |||
description | description | |||
"Section layer termination"; | "Section layer termination"; | |||
} | } | |||
identity layer0-bandwidth-type { | identity layer0-bandwidth-type { | |||
description | description | |||
"Bandwidth type carried by a single wavelength channel"; | "Bandwidth type carried by a single wavelength channel"; | |||
reference | reference | |||
"ITU-T G.709: Interfaces for the Optical Transport Network"; | "ITU-T G.709: Interfaces for the Optical Transport Network"; | |||
} | } | |||
identity bw-otu1 { | identity bw-OTU1 { | |||
base layer0-bandwidth-type; | base layer0-bandwidth-type; | |||
description | description | |||
"OTU1 (2.66G)"; | "OTU1 (2.66G)"; | |||
} | } | |||
identity bw-otu1e { | identity bw-OTU1e { | |||
base layer0-bandwidth-type; | base layer0-bandwidth-type; | |||
description | description | |||
"OTU1e (11.04G)"; | "OTU1e (11.04G)"; | |||
} | } | |||
identity bw-otu1f { | identity bw-OTU1f { | |||
base layer0-bandwidth-type; | base layer0-bandwidth-type; | |||
description | description | |||
"OTU1f (11.27G)"; | "OTU1f (11.27G)"; | |||
} | } | |||
identity bw-otu2 { | identity bw-OTU2 { | |||
base layer0-bandwidth-type; | base layer0-bandwidth-type; | |||
description | description | |||
"OTU2 (10.70G)"; | "OTU2 (10.70G)"; | |||
} | } | |||
identity bw-OTU2e { | ||||
identity bw-otu2e { | ||||
base layer0-bandwidth-type; | base layer0-bandwidth-type; | |||
description | description | |||
"OTU2e (11.09G)"; | "OTU2e (11.09G)"; | |||
} | } | |||
identity bw-otu2f { | identity bw-OTU2f { | |||
base layer0-bandwidth-type; | base layer0-bandwidth-type; | |||
description | description | |||
"OTU2f (11.31G)"; | "OTU2f (11.31G)"; | |||
} | } | |||
identity bw-otu3 { | identity bw-OTU3 { | |||
base layer0-bandwidth-type; | base layer0-bandwidth-type; | |||
description | description | |||
"OTU3 (43.01G)"; | "OTU3 (43.01G)"; | |||
} | } | |||
identity bw-otu3e1 { | identity bw-OTU3e1 { | |||
base layer0-bandwidth-type; | base layer0-bandwidth-type; | |||
description | description | |||
"OTU3e1 (44.57G)"; | "OTU3e1 (44.57G)"; | |||
} | } | |||
identity bw-otu3e2 { | identity bw-OTU3e2 { | |||
base layer0-bandwidth-type; | base layer0-bandwidth-type; | |||
description | description | |||
"OTU3e2 (44.58G)"; | "OTU3e2 (44.58G)"; | |||
} | } | |||
identity bw-otu4 { | identity bw-OTU4 { | |||
base layer0-bandwidth-type; | base layer0-bandwidth-type; | |||
description | description | |||
"OTU4 (111.80G)"; | "OTU4 (111.80G)"; | |||
} | } | |||
identity bw-otucn { | identity bw-OTUCn { | |||
base layer0-bandwidth-type; | base layer0-bandwidth-type; | |||
description | description | |||
"OTUCn (beyond 100G)"; | "OTUCn (beyond 100G)"; | |||
} | } | |||
identity dwdm-ch-spc-type { | identity dwdm-ch-spc-type { | |||
description | description | |||
"DWDM channel spacing type"; | "DWDM channel spacing type"; | |||
reference | reference | |||
"RFC6205: Generalized Labels for | "RFC6205: Generalized Labels for | |||
skipping to change at page 16, line 10 ¶ | skipping to change at page 15, line 36 ¶ | |||
grouping wson-label-start-end { | grouping wson-label-start-end { | |||
description | description | |||
"The WSON label-start or label-end used to | "The WSON label-start or label-end used to | |||
specify WSON label range."; | specify WSON label 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 { | |||
type layer0-types:dwdm-n; | type l0-types:dwdm-n; | |||
description | description | |||
"The central frequency of DWDM. "; | "The central frequency of DWDM. "; | |||
reference | reference | |||
"RFC6205: Generalized Labels for | "RFC6205: Generalized Labels for | |||
Lambda-Switch-Capable (LSC) Label Switching Routers"; | Lambda-Switch-Capable (LSC) Label Switching Routers"; | |||
} | } | |||
} | } | |||
case cwdm { | case cwdm { | |||
leaf cwdm-n { | leaf cwdm-n { | |||
type layer0-types:cwdm-n; | type l0-types:cwdm-n; | |||
description | description | |||
"Channel wavelength computing input. "; | "Channel wavelength computing input. "; | |||
reference | reference | |||
"RFC6205: Generalized Labels for | "RFC6205: Generalized Labels for | |||
ambda-Switch-Capable (LSC) Label Switching Routers"; | ambda-Switch-Capable (LSC) Label Switching Routers"; | |||
} | } | |||
} | } | |||
} | } | |||
reference | reference | |||
"RFC6205: Generalized Labels for | "RFC6205: Generalized Labels for | |||
Lambda-Switch-Capable (LSC) Label Switching Routers"; | Lambda-Switch-Capable (LSC) Label Switching Routers"; | |||
} | } | |||
grouping wson-label-hop { | grouping wson-label-hop { | |||
description | description | |||
skipping to change at page 16, line 45 ¶ | skipping to change at page 16, line 24 ¶ | |||
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 layer0-types:dwdm-n; | type l0-types:dwdm-n; | |||
description | description | |||
"The central frequency of DWDM. "; | "The central frequency of DWDM. "; | |||
} | } | |||
} | } | |||
case super { | case super { | |||
leaf-list subcarrier-dwdm-n { | leaf-list subcarrier-dwdm-n { | |||
type layer0-types:dwdm-n; | type l0-types:dwdm-n; | |||
description | description | |||
"List of center frequencies for each subcarrier | "List of center frequencies for each subcarrier | |||
channels."; | channels."; | |||
reference | reference | |||
"ITU-T Recommendation G.694.1: Spectral girds for | "ITU-T Recommendation G.694.1: Spectral grids for | |||
WDM applications: DWDM frequency grid"; | WDM applications: DWDM frequency grid"; | |||
} | } | |||
} | } | |||
} | } | |||
} | } | |||
case cwdm { | case cwdm { | |||
leaf cwdm-n { | leaf cwdm-n { | |||
type layer0-types:cwdm-n; | type l0-types:cwdm-n; | |||
description | description | |||
"Channel wavelength computing input. "; | "Channel wavelength computing input. "; | |||
reference | reference | |||
"RFC6205: Generalized Labels for | "RFC6205: Generalized Labels for | |||
Lambda-Switch-Capable (LSC) Label Switching Routers"; | Lambda-Switch-Capable (LSC) Label Switching Routers"; | |||
} | } | |||
} | } | |||
} | } | |||
reference | reference | |||
"RFC6205: Generalized Labels for | "RFC6205: Generalized Labels for | |||
Lambda-Switch-Capable (LSC) Label Switching Routers"; | Lambda-Switch-Capable (LSC) Label Switching Routers"; | |||
} | } | |||
grouping layer0-label-range-info { | grouping layer0-label-range-info { | |||
description | description | |||
"Information for layer0 label range."; | "Information for layer 0 label range."; | |||
leaf grid-type { | leaf grid-type { | |||
type identityref { | type identityref { | |||
base layer0-grid-type; | base layer0-grid-type; | |||
} | } | |||
description "Grid type"; | description "Grid type"; | |||
} | } | |||
leaf priority { | leaf priority { | |||
type uint8; | type uint8; | |||
description "Priority"; | description | |||
"Priority in Interface Switching Capability | ||||
Descriptor (ISCD)."; | ||||
reference "RFC4203."; | ||||
} | } | |||
reference | reference | |||
"RFC6205: Generalized Labels for | "RFC6205: Generalized Labels for | |||
Lambda-Switch-Capable (LSC) Label Switching Routers"; | Lambda-Switch-Capable (LSC) Label Switching Routers"; | |||
} | } | |||
grouping wson-label-step { | grouping wson-label-step { | |||
description "Label step information for WSON"; | description "Label step information for WSON"; | |||
choice layer0-grid-type { | choice layer0-grid-type { | |||
description | description | |||
"Grid type: DWDM, CWDM, etc."; | "Grid type: DWDM, CWDM, etc."; | |||
case dwdm { | case dwdm { | |||
leaf wson-dwdm { | leaf wson-dwdm { | |||
type identityref { | type identityref { | |||
base dwdm-ch-spc-type; | base dwdm-ch-spc-type; | |||
} | } | |||
skipping to change at page 18, line 44 ¶ | skipping to change at page 18, line 23 ¶ | |||
} | } | |||
} | } | |||
reference | reference | |||
"RFC6205: Generalized Labels for | "RFC6205: Generalized Labels for | |||
Lambda-Switch-Capable (LSC) Label Switching Routers"; | Lambda-Switch-Capable (LSC) Label Switching Routers"; | |||
} | } | |||
grouping flexi-grid-node-attributes { | grouping flexi-grid-node-attributes { | |||
description "Flexi-grid node attributes"; | description "Flexi-grid node attributes"; | |||
container flexi-grid-node { | container flexi-grid-node { | |||
description "Flexi-grid node attrtibutes"; | description "Flexi-grid node attributes"; | |||
leaf node-type { | leaf node-type { | |||
type identityref { | type identityref { | |||
base layer0-node-type; | base layer0-node-type; | |||
} | } | |||
description "Flexi-grid node type"; | description "Flexi-grid node type"; | |||
} | } | |||
} | } | |||
reference | reference | |||
"RFC7698: Framework and Requirements for GMPLS-Based Control | "RFC7698: Framework and Requirements for GMPLS-Based Control | |||
of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM) | of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM) | |||
skipping to change at page 19, line 42 ¶ | skipping to change at page 19, line 21 ¶ | |||
reference | reference | |||
"RFC7698: Framework and Requirements for GMPLS-Based Control | "RFC7698: 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-start-end { | grouping flexi-grid-label-start-end { | |||
description | description | |||
"Label-start and Label-end information for Flexi-grid."; | "Label-start and Label-end information for Flexi-grid."; | |||
leaf flexi-n { | leaf flexi-n { | |||
type int16; | type l0-types:flexi-n; | |||
description | description | |||
"The central frequency in Flexi-grid."; | "The central frequency in Flexi-grid."; | |||
} | } | |||
reference | reference | |||
"RFC7698: Framework and Requirements for GMPLS-Based Control | "RFC7698: 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-channel { | grouping flexi-grid-channel { | |||
description "Flexi-grid channel grouping."; | description "Flexi-grid channel grouping."; | |||
uses flexi-grid-label-start-end; | uses flexi-grid-label-start-end; | |||
leaf flexi-m { | leaf flexi-m { | |||
type uint16 { | type l0-types:flexi-m; | |||
range "1..max"; | ||||
} | ||||
description | description | |||
"M is used to determine the slot width. A slot width is | "M is used to determine the slot width. A slot width is | |||
constrained to be M x SWG (that is, M x 12.500 GHz), | constrained to be M x SWG (that is, M x 12.500 GHz), | |||
where M is a positive integer."; | where M is a positive integer."; | |||
} | } | |||
reference | reference | |||
"RFC7698: Framework and Requirements for GMPLS-Based Control | "RFC7698: 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 "Flexi-grid path label."; | description "Flexi-grid path label."; | |||
choice single-or-super-channel { | choice single-or-super-channel { | |||
description "single of super channel"; | description "single of super channel"; | |||
skipping to change at page 23, line 9 ¶ | skipping to change at page 22, line 26 ¶ | |||
The NETCONF access control model [RFC8341] provides the means to | The NETCONF access control model [RFC8341] provides the means to | |||
restrict access for particular NETCONF users to a preconfigured | restrict access for particular NETCONF users to a preconfigured | |||
subset of all available NETCONF protocol operations and content. The | subset of all available NETCONF protocol operations and content. The | |||
NETCONF Protocol over Secure Shell (SSH) [RFC6242] describes a method | NETCONF Protocol over Secure Shell (SSH) [RFC6242] describes a method | |||
for invoking and running NETCONF within a Secure Shell (SSH) session | for invoking and running NETCONF within a Secure Shell (SSH) session | |||
as an SSH subsystem. The NETCONF access control model [RFC8341] | as an SSH subsystem. The NETCONF access control model [RFC8341] | |||
provides the means to restrict access for particular NETCONF or | provides the means to restrict access for particular NETCONF or | |||
RESTCONF users to a preconfigured subset of all available NETCONF or | RESTCONF users to a preconfigured subset of all available NETCONF or | |||
RESTCONF protocol operations and content. | RESTCONF protocol operations and content. | |||
The YANG module in this document defines optical layer0 type | The YANG module in this document defines optical layer 0 type | |||
definitions (i.e., typedef, identity and grouping statements) in YANG | definitions (i.e., typedef, identity and grouping statements) in YANG | |||
data modeling language to be imported and used by other layer 0 | data modeling language to be imported and used by other layer 0 | |||
specific modules. When imported and used, the resultant schema will | specific modules. When imported and used, the resultant schema will | |||
have data nodes that can be writable, or readable. The access to | have data nodes that can be writable, or readable. The access to | |||
such data nodes may be considered sensitive or vulnerable in some | such data nodes may be considered sensitive or vulnerable in some | |||
network environments. Write operations (e.g., edit-config) to these | network environments. Write operations (e.g., edit-config) to these | |||
data nodes without proper protection can have a negative effect on | data nodes without proper protection can have a negative effect on | |||
network operations. | network operations. | |||
The security considerations spelled out in the YANG 1.1 specification | The security considerations spelled out in the YANG 1.1 specification | |||
skipping to change at page 23, line 36 ¶ | skipping to change at page 23, line 10 ¶ | |||
URI: urn:ietf:params:xml:ns:yang:ietf-layer0-types | URI: urn:ietf:params:xml:ns:yang:ietf-layer0-types | |||
Registrant Contact: The IESG | Registrant Contact: The IESG | |||
XML: N/A; the requested URI is an XML namespace. | XML: N/A; the requested URI is an XML namespace. | |||
This document registers following YANG modules in the YANG Module | This document registers following YANG modules in the YANG Module | |||
Names registry [RFC7950]. | Names registry [RFC7950]. | |||
name: ietf-layer0-types | name: ietf-layer0-types | |||
namespace: urn:ietf:params:xml:ns:yang:ietf-layer0-types | namespace: urn:ietf:params:xml:ns:yang:ietf-layer0-types | |||
prefix: layer0-types | prefix: l0-types | |||
reference: RFC XXXX(TBD) | reference: RFC XXXX(TBD) | |||
6. Acknowledgements | 6. Acknowledgements | |||
The authors and the working group give their sincere thanks for | The authors and the working group give their sincere thanks for | |||
Robert Wilton for the YANG doctor review, and Tom Petch for his | Robert Wilton for the YANG doctor review, and Tom Petch for his | |||
comments during the model and document development. | comments during the model and document development. | |||
7. Contributors | 7. Contributors | |||
skipping to change at page 24, line 27 ¶ | skipping to change at page 23, line 41 ¶ | |||
Email: ricard.vilalta@cttc.es | Email: ricard.vilalta@cttc.es | |||
Italo Busi | Italo Busi | |||
Huawei | Huawei | |||
Email: Italo.Busi@huawei.com | Email: Italo.Busi@huawei.com | |||
8. References | 8. References | |||
8.1. Normative References | 8.1. Normative References | |||
[RFC6020] Bjorklund, M., Ed., "YANG - A Data Modeling Language for | ||||
the Network Configuration Protocol (NETCONF)", RFC 6020, | ||||
DOI 10.17487/RFC6020, October 2010, | ||||
<https://www.rfc-editor.org/info/rfc6020>. | ||||
[RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., | [RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., | |||
and A. Bierman, Ed., "Network Configuration Protocol | and A. Bierman, Ed., "Network Configuration Protocol | |||
(NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011, | (NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011, | |||
<https://www.rfc-editor.org/info/rfc6241>. | <https://www.rfc-editor.org/info/rfc6241>. | |||
[RFC6242] Wasserman, M., "Using the NETCONF Protocol over Secure | [RFC6242] Wasserman, M., "Using the NETCONF Protocol over Secure | |||
Shell (SSH)", RFC 6242, DOI 10.17487/RFC6242, June 2011, | Shell (SSH)", RFC 6242, DOI 10.17487/RFC6242, June 2011, | |||
<https://www.rfc-editor.org/info/rfc6242>. | <https://www.rfc-editor.org/info/rfc6242>. | |||
[RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", | [RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", | |||
skipping to change at page 25, line 19 ¶ | skipping to change at page 24, line 32 ¶ | |||
[RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol | [RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol | |||
Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018, | Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018, | |||
<https://www.rfc-editor.org/info/rfc8446>. | <https://www.rfc-editor.org/info/rfc8446>. | |||
8.2. Informative References | 8.2. Informative References | |||
[I-D.ietf-teas-yang-te-types] | [I-D.ietf-teas-yang-te-types] | |||
Saad, T., Gandhi, R., Liu, X., Beeram, V., and I. Bryskin, | Saad, T., Gandhi, R., Liu, X., Beeram, V., and I. Bryskin, | |||
"Traffic Engineering Common YANG Types", draft-ietf-teas- | "Traffic Engineering Common YANG Types", draft-ietf-teas- | |||
yang-te-types-12 (work in progress), November 2019. | yang-te-types-13 (work in progress), November 2019. | |||
[ITU-Tg6941] | [ITU-Tg6941] | |||
International Telecommunication Union, "Spectral grids for | International Telecommunication Union, "Spectral grids for | |||
WDM applications: DWDM frequency grid", ITU-T G.694.1, | WDM applications: DWDM frequency grid", ITU-T G.694.1, | |||
February 2012. | February 2012. | |||
[ITU-Tg6982] | [ITU-Tg6982] | |||
International Telecommunication Union, "Amplified | International Telecommunication Union, "Amplified | |||
multichannel dense wavelength division multiplexing | multichannel dense wavelength division multiplexing | |||
applications with single channel optical interfaces", | applications with single channel optical interfaces", | |||
End of changes. 60 change blocks. | ||||
104 lines changed or deleted | 74 lines changed or added | |||
This html diff was produced by rfcdiff 1.47. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |