< draft-ietf-ccamp-wson-yang-17.txt   draft-ietf-ccamp-wson-yang-18.txt >
CCAMP Working Group Y. Lee (Editor) CCAMP Working Group Y. Lee (Editor)
Internet Draft D. Dhody Internet Draft D. Dhody
Intended status: Standard Track A. Guo Intended status: Standard Track A. Guo
Expires: May 27, 2019 Huawei Expires: June 3, 2019 Huawei
V. Lopez V. Lopez
Telefonica Telefonica
D. King D. King
U. of Lancaster U. of Lancaster
November 26, 2018 December 3, 2018
A YANG Data Model for WSON Optical Networks A YANG Data Model for WSON (Wavelength Switched Optical Networks)
draft-ietf-ccamp-wson-yang-17 draft-ietf-ccamp-wson-yang-18
Abstract Abstract
This document provides a YANG data model for the routing and This document provides a YANG data model for the routing and
wavelength assignment (RWA) TE topology in wavelength switched wavelength assignment (RWA) TE topology in wavelength switched
optical networks (WSONs). The YANG data model defined in this optical networks (WSONs). The YANG data model defined in this
document conforms to the Network Management Datastore Architecture document conforms to the Network Management Datastore Architecture
defined in RFC 8342. defined in RFC 8342.
Status of this Memo Status of this Memo
skipping to change at page 1, line 48 skipping to change at page 1, line 48
months and may be updated, replaced, or obsoleted by other documents months and may be updated, replaced, or obsoleted by other documents
at any time. It is inappropriate to use Internet-Drafts as at any time. It is inappropriate to use Internet-Drafts as
reference material or to cite them other than as "work in progress." reference material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt http://www.ietf.org/ietf/1id-abstracts.txt
The list of Internet-Draft Shadow Directories can be accessed at The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html http://www.ietf.org/shadow.html
This Internet-Draft will expire on May 27, 2019. This Internet-Draft will expire on June 3, 2019.
Copyright Notice Copyright Notice
Copyright (c) 2018 IETF Trust and the persons identified as the Copyright (c) 2018 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
(http://trustee.ietf.org/license-info) in effect on the date of (http://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
carefully, as they describe your rights and restrictions with carefully, as they describe your rights and restrictions with
skipping to change at page 3, line 26 skipping to change at page 3, line 26
topology and expose it to a controller. A controller can further topology and expose it to a controller. A controller can further
propagate the topology to other controllers. The YANG model is used propagate the topology to other controllers. The YANG model is used
by NETCONF [RFC6020], [RFC8341] or a RESTCONF [RFC8040] protocol. by NETCONF [RFC6020], [RFC8341] or a RESTCONF [RFC8040] protocol.
The YANG data model defined in this document conforms to the Network The YANG data model defined in this document conforms to the Network
Management Datastore Architecture [RFC8342]. Management Datastore Architecture [RFC8342].
1.1. Requirements Language 1.1. Requirements Language
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in BCP "OPTIONAL" in this document are to be interpreted as described in BCP
14 [RFC2119] [RFC8174] when, and only when, they appear in all 14 [RFC2119] [RFC8174] when, and only when, they appear in all
capitals, as shown here. capitals, as shown here.
1.2. Terminology 1.2. Terminology
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. document.
The following terms are defined in [RFC7950] and are not redefined The following terms are defined in [RFC7950] and are not redefined
here: here:
skipping to change at page 4, line 39 skipping to change at page 4, line 39
| nw | ietf-network | [RFC8345] | | nw | ietf-network | [RFC8345] |
| nt | ietf-network-topology | [RFC8345] | | nt | ietf-network-topology | [RFC8345] |
| tet | ietf-te-topology | [TE-TOPO] | | tet | ietf-te-topology | [TE-TOPO] |
+-------------+-------------------------+-----------------+ +-------------+-------------------------+-----------------+
Table 1: Prefixes and corresponding YANG modules Table 1: Prefixes and corresponding YANG modules
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 draft becomes an RFC. the RFC once this draft becomes an RFC.
YANG module "ietf-layer0-types" (defined in Section 4) references
[RFC6163], [RFC7205], and [RFC7698].
2. YANG Model (Tree Structure) 2. YANG Model (Tree Structure)
module: ietf-wson-topology module: ietf-wson-topology
augment /nw:networks/nw:network/nw:network-types/tet:te-topology: augment /nw:networks/nw:network/nw:network-types/tet:te-topology:
+-rw wson-topology! +-rw wson-topology!
augment /nw:networks/nw:network/nt:link/tet:te/tet:te-link-attributes: augment /nw:networks/nw:network/nt:link/tet:te/tet:te-link-attributes:
augment /nw:networks/nw:network/nw:node/nt:termination-point/tet:te: augment /nw:networks/nw:network/nw:node/nt:termination-point/tet:te:
+-rw supported-payload-types* [index] +-rw supported-payload-types* [index]
| +-rw index uint16 | +-rw index uint16
| +-rw payload-type? string | +-rw payload-type? string
+-rw client-facing? boolean +-rw client-facing? boolean
augment /nw:networks/nw:network/nw:node/tet:te/tet:te-node-attributes: augment /nw:networks/nw:network/nw:node/tet:te/tet:te-node-attributes:
+-rw wson-node +-rw wson-node
+-rw node-type? identityref +-rw node-type? identityref
augment /nw:networks/nw:network/nw:node/tet:te/tet:tunnel-termination-point: augment /nw:networks/nw:network/nw:node/tet:te/tet:tunnel-termination-point:
+-rw supported-operational-modes* layer0-types:operational-mode +-rw supported-operational-modes* layer0-types:operational-mode
skipping to change at page 22, line 7 skipping to change at page 22, line 7
label/tet:technology: label/tet:technology:
+-:(wson) +-:(wson)
+-rw (grid-type)? +-rw (grid-type)?
+-:(dwdm) +-:(dwdm)
| +-rw channel-freq? frequency-thz | +-rw channel-freq? frequency-thz
+-:(cwdm) +-:(cwdm)
+-rw channel-wavelength? uint32 +-rw channel-wavelength? uint32
3. IETF-WSON-Topology YANG Model 3. IETF-WSON-Topology YANG Model
<CODE BEGINS> file "ietf-wson-topology@2018-11-26.yang" <CODE BEGINS> file "ietf-wson-topology@2018-12-03.yang"
module ietf-wson-topology { module ietf-wson-topology {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-wson-topology"; namespace "urn:ietf:params:xml:ns:yang:ietf-wson-topology";
prefix "wson"; prefix "wson";
import ietf-network { import ietf-network {
skipping to change at page 22, line 32 skipping to change at page 22, line 32
import ietf-network-topology { import ietf-network-topology {
prefix "nt"; prefix "nt";
reference reference
"RFC 8345: A YANG Data Model for Network Topologies"; "RFC 8345: A YANG Data Model for Network Topologies";
} }
import ietf-te-topology { import ietf-te-topology {
prefix "tet"; prefix "tet";
reference reference
"draft-ietf-teas-yang-te-topo-18: YANG Data Model for "RFC YYYY: YANG Data Model for
Traffic Engineering (TE) Topologies"; Traffic Engineering (TE) Topologies";
} }
/* Note: The RFC Editor will replace YYYY with the number assigned to
the RFC once draft-ietf-teas-yang-te-topo becomes an RFC.*/
import ietf-layer0-types { import ietf-layer0-types {
prefix "layer0-types"; prefix "layer0-types";
reference reference
"draft-ietf-teas-yang-te-types-01: Traffic Engineering "RFC XXXX: A YANG Data Model for WSON
Common YANG Types"; (Wavelength Switched Optical Networks)";
} }
/* Note: The RFC Editor will replace XXXX with the number assigned to
the RFC once draft-ietf-ccamp-wson-yang becomes an RFC.*/
organization organization
"IETF CCAMP Working Group"; "IETF CCAMP Working Group";
contact contact
"Editor: Young Lee <leeyoung@huawei.com> "Editor: Young Lee <leeyoung@huawei.com>
Editor: Aihua Guo <aihuaguo@huawei.com>"; Editor: Aihua Guo <aihuaguo@huawei.com>";
description description
"This module provides a YANG data model for the routing and "This module provides a YANG data model for the routing and
wavelength assignment (RWA) Traffic Engineering (TE) wavelength assignment (RWA) Traffic Engineering (TE)
skipping to change at page 23, line 35 skipping to change at page 23, line 30
Copyright (c) 2018 IETF Trust and the persons identified Copyright (c) 2018 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
(http://trustee.ietf.org/license-info)."; (http://trustee.ietf.org/license-info).";
revision 2018-11-26 { revision 2018-12-03 {
description description
"Initial Version"; "Initial Version";
reference reference
"RFC XXX: A YANG Data Model for WSON (Wavelenghth Switched "RFC XXXX: A YANG Data Model for WSON (Wavelenghth Switched
Optical Networks)"; Optical Networks)";
} }
/* /*
* Groupings * Groupings
*/ */
grouping wson-node-attributes { grouping wson-node-attributes {
description "WSON node attributes"; description "WSON node attributes";
container wson-node { container wson-node {
description "WSON node attrtibutes"; description "WSON node attrtibutes";
skipping to change at page 59, line 34 skipping to change at page 59, line 30
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).";
revision "2018-11-26" { revision "2018-11-26" {
description description
"Initial Version"; "Initial Version";
reference reference
"RFC XXX: A YANG Data Model for WSON (Wavelenghth Switched "RFC XXXX: A YANG Data Model for WSON (Wavelenghth Switched
Optical Networks)"; Optical Networks)";
} }
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 conformant B-DScW-ytz(v) where all these attributes are conformant
to the ITU-T recomendation"; to the ITU-T recomendation";
skipping to change at page 67, line 14 skipping to change at page 67, line 10
"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 channel-freq { leaf channel-freq {
type frequency-thz; type frequency-thz;
description description
"The DWDM fixed-grid channel frequency in THz, "The DWDM fixed-grid channel frequency in THz,
e.g., 193.12500"; e.g., 193.12500";
} }
} }
case super { case super {
leaf-list subcarrier-channels { leaf-list subcarrier-channels {
type frequency-thz; type frequency-thz;
description description
"List of subcarrier channels for super channel"; "List of subcarrier channels for super channel";
} }
} }
} }
} }
case cwdm { case cwdm {
leaf channel-wavelength { leaf channel-wavelength {
type uint32; type uint32;
units nm; units nm;
description description
"The CWDM wavelength in nanometer, e.g., 1511"; "The CWDM wavelength in nanometer, e.g., 1511";
reference reference
skipping to change at page 72, line 37 skipping to change at page 72, line 32
URI: urn:ietf:params:xml:ns:yang: ietf-wson-topology URI: urn:ietf:params:xml:ns:yang: ietf-wson-topology
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.
-------------------------------------------------------------------- --------------------------------------------------------------------
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 the following YANG modules in the YANG This document registers the following YANG modules in the YANG
Module Names registry [RFC7950]: Module Names registry [RFC7950] & [RFC6020]:
-------------------------------------------------------------------- --------------------------------------------------------------------
name: ietf-wson-topology name: ietf-wson-topology
namespace: urn:ietf:params:xml:ns:yang:ietf-wson-topology namespace: urn:ietf:params:xml:ns:yang:ietf-wson-topology
reference: RFC XXXX (TDB) reference: RFC XXXX (TDB)
-------------------------------------------------------------------- --------------------------------------------------------------------
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
reference: RFC XXXX (TDB) reference: RFC XXXX (TDB)
-------------------------------------------------------------------- --------------------------------------------------------------------
7. Acknowledgments 7. Acknowledgments
This document was prepared using 2-Word-v2.0.template.dot. This document was prepared using 2-Word-v2.0.template.dot.
8. References 8. References
8.1. Normative References 8.1. Normative References
 End of changes. 20 change blocks. 
19 lines changed or deleted 29 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/