draft-ietf-ccamp-wson-yang-01.txt   draft-ietf-ccamp-wson-yang-02.txt 
CCAMP Working Group Y. Lee (Editor) CCAMP Working Group Y. Lee (Editor)
D. Dhody D. Dhody
X. Zhang X. Zhang
Internet Draft Huawei Internet Draft Huawei
Intended status: Standard Track A. Guo Intended status: Standard Track A. Guo
Huawei Huawei
V. Lopez V. Lopez
Telefonica Telefonica
D. King D. King
U. of Lancaster U. of Lancaster
B. Yoon B. Yoon
ETRI ETRI
Expires: October 5, 2016 April 5, 2016 Expires: January 8, 2017 July 8, 2016
A Yang Data Model for WSON Optical Networks A Yang Data Model for WSON Optical Networks
draft-ietf-ccamp-wson-yang-01.txt draft-ietf-ccamp-wson-yang-02.txt
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). optical networks (WSONs).
Status of this Memo Status of this Memo
This Internet-Draft is submitted to IETF in full conformance with This Internet-Draft is submitted to IETF in full conformance with
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 October 5, 2016. This Internet-Draft will expire on October 8, 2016.
Copyright Notice Copyright Notice
Copyright (c) 2016 IETF Trust and the persons identified as the Copyright (c) 2016 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
respect to this document. Code Components extracted from this respect to this document. Code Components extracted from this
document must include Simplified BSD License text as described in document must include Simplified BSD License text as described in
Section 4.e of the Trust Legal Provisions and are provided without Section 4.e of the Trust Legal Provisions and are provided without
warranty as described in the Simplified BSD License. warranty as described in the Simplified BSD License.
Table of Contents Table of Contents
1. Introduction...................................................2 1. Introduction...................................................2
2. YANG Model (Tree Structure)....................................3 2. YANG Model (Tree Structure)....................................3
3. WSON-RWA YANG Model............................................4 3. WSON-RWA YANG Model............................................4
4. Security Considerations........................................9 4. Security Considerations.......................................10
5. IANA Considerations...........................................10 5. IANA Considerations...........................................10
6. Acknowledgments...............................................10 6. Acknowledgments...............................................10
7. References....................................................11 7. References....................................................11
7.1. Normative References.....................................11 7.1. Normative References.....................................11
7.2. Informative References...................................11 7.2. Informative References...................................11
8. Contributors..................................................11 8. Contributors..................................................11
Authors' Addresses...............................................11 Authors' Addresses...............................................11
1. Introduction 1. Introduction
skipping to change at page 3, line 7 skipping to change at page 3, line 7
based on the information model developed in [RFC7446] and the two based on the information model developed in [RFC7446] and the two
encoding documents [RFC7581] and [RFC7579] that developed protocol encoding documents [RFC7581] and [RFC7579] that developed protocol
independent encodings based on [RFC7446]. This document augments the independent encodings based on [RFC7446]. This document augments the
generic TE topology draft [TE-TOPO]. generic TE topology draft [TE-TOPO].
What is not in scope of this document is both impairment-aware WSON What is not in scope of this document is both impairment-aware WSON
and flex-grid. and flex-grid.
2. YANG Model (Tree Structure) 2. YANG Model (Tree Structure)
module: ietf-wson-topology module: ietf-wson-topology
augment /tet:te-topologies/tet:topology/tet:topology-types/tet:te- augment /nd:networks/nd:network/nd:network-types/tet:te-topology:
topology: +--rw wson-topology!
+--rw wson-topology augment /nd:networks/nd:network/nd:node/tet:te/tet:config/tet:te-node-attributes/tet:connectivity-matrix:
augment /tet:te-topologies/tet:topology/tet:node/tet:te-node- +--rw wson-matrix
attributes/tet:connectivity-matrix: +--rw device-type? devicetype
+--rw wson-matrix +--rw dir? directionality
+--rw device-type? devicetype +--rw matrix-interface* [in-port-id]
+--rw dir? directionality +--rw in-port-id wson-interface-ref
+--rw matrix-interface* [in-port-id] +--rw out-port-id? wson-interface-ref
+--rw in-port-id wson-interface-ref augment /nd:networks/nd:network/lnk:link/tet:te/tet:config:
+--rw out-port-id? wson-interface-ref +--rw wavelength-available-bitmap* boolean
augment /tet:te-topologies/tet:topology/tet:node/tet:te-node- augment /nd:networks/nd:network/nd:node/tet:te/tet:config:
attributes/tet:te-link: +--rw resource-pool* [resource-pool-id]
+--rw wavelength-available-bitmap* boolean +--rw resource-pool-id uint32
augment /tet:te-topologies/tet:topology/tet:node: +--rw pool-state? boolean
+--rw resource-pool* [resource-pool-id] +--rw matrix-interface* [in-port-id]
+--rw resource-pool-id uint32 +--rw in-port-id wson-interface-ref
+--rw pool-state? boolean +--rw out-port-id? wson-interface-ref
+--rw matrix-interface* [in-port-id]
+--rw in-port-id wson-interface-ref
+--rw out-port-id? wson-interface-ref
3. WSON-RWA YANG Model 3. WSON-RWA YANG Model
<CODE BEGINS> file "ietf-wson-topology@2015-10-14.yang" <CODE BEGINS> file "ietf-wson-topology@2016-07-08.yang"
module ietf-wson-topology { module ietf-wson-topology {
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 {
prefix "nd";
}
import ietf-network-topology {
prefix "lnk";
}
import ietf-inet-types { import ietf-inet-types {
prefix inet; prefix "inet";
} }
import ietf-te-topology { import ietf-te-topology {
prefix "tet"; prefix "tet";
} }
organization organization
"IETF CCAMP Working Group"; "IETF CCAMP Working Group";
contact contact
skipping to change at page 6, line 24 skipping to change at page 6, line 34
description description
"output direction"; "output direction";
} }
} }
description description
"The directionality of link set"; "The directionality of link set";
} }
typedef wson-interface-ref { typedef wson-interface-ref {
type leafref { type leafref {
path "/tet:te-topologies/tet:topology/tet:node" path "/nd:networks/nd:network/lnk:link/lnk:link-id";
+ "/tet:te-node-attributes/tet:te-link"
+ "/tet:te-link-id";
} }
description description
"This type is used by data models that need to "This type is used by data models that need to
reference WSON interface."; reference WSON interface.";
} }
augment "/tet:te-topologies/tet:topology/tet:topology-types" grouping wson-topology-type {
+ "/tet:te-topology" { description
description "WSON augmentation."; "Identifies the wson topology type.";
container wson-topology{
container wson-topology {
presence "Indicates WSON topology.";
description
"Its presence identifies the WSON topology type.";
}
} // wson-topology-type
augment "/nd:networks/nd:network/nd:network-types/tet:te-
topology" {
description "Augment network-types to include WSON topology";
uses wson-topology-type {
description description
"An empty WSON container to identify "An empty WSON container to identify
the topology type."; the topology type.";
} }
} }
augment "/tet:te-topologies/tet:topology/tet:node"
augment "/nd:networks/nd:network/nd:node/tet:te/tet:config"
+"/tet:te-node-attributes" +"/tet:te-node-attributes"
+"/tet:connectivity-matrix" { +"/tet:connectivity-matrix" {
when "/tet:te-topologies/tet:topology/tet:topology-types" when "nd:network-types/tet:te-topology/wson-topology" {
+"/tet:te-topology/wson-topology" {
description description
"This augment is only valid for WSON."; "This augment is only valid for WSON.";
} }
description "WSON Connectivity Matrix augmentation."; description "WSON Connectivity Matrix augmentation.";
container wson-matrix{ container wson-matrix{
description "WSON specific Matrix."; description "WSON specific Matrix.";
leaf device-type { leaf device-type {
type devicetype; type devicetype;
description description
"device type: fixed (ADM) or switched "device type: fixed (ADM) or switched
skipping to change at page 8, line 10 skipping to change at page 8, line 27
leaf out-port-id { leaf out-port-id {
type wson-interface-ref; type wson-interface-ref;
description description
"The reference to out-port"; "The reference to out-port";
} }
} }
} }
} }
augment "/tet:te-topologies/tet:topology/tet:node" augment "/nd:networks/nd:network/lnk:link/tet:te/tet:config" {
+ "/tet:te-node-attributes/tet:te-link" {
when "/tet:te-topologies/tet:topology/tet:topology-types" when "nd:network-types/tet:te-topology/wson-topology" {
+"/tet:te-topology/wson-topology" {
description description
"This augment is only valid for WSON."; "This augment is only valid for WSON.";
} }
description "WSON Link augmentation."; description "WSON Link augmentation.";
leaf-list wavelength-available-bitmap { leaf-list wavelength-available-bitmap {
type boolean; type boolean;
description description
"array of bits (i.e., bitmap) that indicates "array of bits (i.e., bitmap) that indicates
if a wavelength is available or not on each if a wavelength is available or not on each
channel."; channel.";
} }
} }
augment "/nd:networks/nd:network/nd:node/tet:te/tet:config" {
augment "/tet:te-topologies/tet:topology/tet:node" { when "nd:network-types/tet:te-topology/wson-topology" {
when "/tet:te-topologies/tet:topology/tet:topology-types"
+"/tet:te-topology/wson-topology" {
description description
"This augment is only valid for WSON."; "This augment is only valid for WSON.";
} }
description "WSON Node augmentation."; description "WSON Node augmentation.";
list resource-pool { list resource-pool {
key "resource-pool-id"; key "resource-pool-id";
description description
"The resource pool list"; "The resource pool list";
 End of changes. 16 change blocks. 
51 lines changed or deleted 63 lines changed or added

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