CCAMP Working Group Y. Lee
D. Dhody
Huawei
Internet Draft V. Lopez
Intended status: Standard Track Telefonica
D. King
U. of Lancaster
B. Yoon
ETRI
R. Vilalta
CTTC
Expires: December 20, 2017 June 20, 2017
A Yang Data Model for WSON Tunnel
draft-lee-ccamp-wson-tunnel-model-00.txt
Abstract
This document provides a YANG data model for WSON TE tunnel.
Status of this Memo
This Internet-Draft is submitted to IETF in full conformance with
the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that
other groups may also distribute working documents as Internet-
Drafts.
Internet-Drafts are draft documents valid for a maximum of six
months and may be updated, replaced, or obsoleted by other documents
at any time. It is inappropriate to use Internet-Drafts as
reference material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt
The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html
This Internet-Draft will expire on December 20, 2017.
Copyright Notice
Lee, et al. Expires December 2017 [Page 1]
Internet-Draft WSON YANG Model June 2017
Copyright (c) 2017 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with
respect to this document. Code Components extracted from this
document must include Simplified BSD License text as described in
Section 4.e of the Trust Legal Provisions and are provided without
warranty as described in the Simplified BSD License.
Table of Contents
1. Introduction...................................................2
2. YANG Model (Tree Structure)....................................2
3. WSON-RWA YANG Model............................................3
4. Security Considerations........................................7
5. IANA Considerations............................................7
6. Acknowledgments................................................7
7. References.....................................................8
7.1. Normative References......................................8
7.2. Informative References....................................8
8. Contributors...................................................8
Authors' Addresses................................................8
1. Introduction
This document provides a YANG data model for WSON tunnel model. The
YANG model described in this document is a WSON technology-specific
Yang Tunnel model based on the information model developed in
[RFC7446] and the two encoding documents [RFC7581] and [RFC7579]
that developed protocol independent encodings based on [RFC7446].
This document augments the generic TE tunnel model [TE-Tunnel].
2. YANG Model (Tree Structure)
module: ietf-te-wson
augment /te:te/te:tunnels/te:tunnel/te:config:
+--rw wavelength-assignment? identityref
+--rw selected-frequency? decimal64
+--rw channel-spacing? decimal64
augment /te:te/te:tunnels/te:tunnel/te:state:
Lee, et al. Expires December 2017 [Page 2]
Internet-Draft WSON YANG Model June 2017
+--ro wavelength-assignment? identityref
+--ro selected-frequency? decimal64
+--ro channel-spacing? decimal64
augment /te:te/te:lsps-state/te:lsp:
+--ro wavelength-assignment? identityref
+--ro selected-frequency? decimal64
+--ro channel-spacing? decimal64
augment /te:te/te-dev:interfaces/te-dev:interface:
+--rw selected-frequency? decimal64
+--rw channel-spacing? decimal64
3. TE Tunnel Model for WSON
<CODE BEGINS> file "ietf-te-wson- @2017-06-20.yang"
module ietf-te-wson {
namespace "urn:ietf:params:xml:ns:yang:ietf-te-wson";
prefix "te-wson";
import ietf-te {
prefix "te";
}
import ietf-te-device {
prefix "te-dev";
}
organization
"IETF Traffic Engineering Architecture and Signaling (TEAS)
Working Group";
contact
"WG Web: <http://tools.ietf.org/wg/teas/>
WG List: <mailto:teas@ietf.org>
WG Chair: Lou Berger
<mailto:lberger@labn.net>
WG Chair: Vishnu Pavan Beeram
<mailto:vbeeram@juniper.net>
Editor: Young Lee <leeyoung@huawei.com>
Lee, et al. Expires December 2017 [Page 3]
Internet-Draft WSON YANG Model June 2017
Editor: Dhruv Dhody <dhruv.ietf@gmail.com>
Editor: Ricard Vilalta <ricard.vilalta@cttc.es>";
description
"Latest update to WSON TE YANG data model.";
revision "2017-06-20" {
description "Update to WSON TE YANG initial revision.";
reference "";
}
identity wavelength-assignment {
description "Wavelength selection base";
}
identity unspecified-wavelength-assignment {
base wavelength-assignment;
description "No method specified";
}
identity first-fit-wavelength-asignment {
base wavelength-assignment;
description "All the available wavelengths are numbered, and this WA method
chooses the available wavelength with the lowest index.";
}
identity random-wavelength-asignment {
base wavelength-assignment;
description "This WA method chooses an available wavelength randomly.";
}
identity least-loaded-wavelength-asignment {
base wavelength-assignment;
description "This WA method selects the wavelength that has the largest residual
capacity on the most loaded link along the route (in muli-fiber networks).";
}
/* TE WSON LSPs groupings */
grouping lsp-attributes-flags-wson_config {
description
"Configuration parameters relating to TE WSON LSP
attribute flags";
leaf wavelength-assignment {
type identityref {
base wavelength-assignment;
}
description "Wavelength Allocation Method";
Lee, et al. Expires December 2017 [Page 4]
Internet-Draft WSON YANG Model June 2017
}
leaf selected-frequency {
type decimal64 {
fraction-digits 5;
}
units THz;
default 193.1;
description "Selected Central Frequency";
}
leaf channel-spacing {
type decimal64 {
fraction-digits 5;
}
units GHz;
description "This is fixed channel spacing for WSON,
e.g, 12.5, 25, 50, 100, ..";
}
}
grouping tunnel-properties-wson {
description
"Top level grouping for LSP properties.";
uses lsp-attributes-flags-wson_config;
}
grouping lsp-properties-wson {
description
"Top level grouping for LSP properties.";
uses lsp-attributes-flags-wson_config;
}
/* End of TE WSON LSPs groupings */
/**
* Interface groupings
*/
grouping wson-reservable {
description "Top level grouping for interface properties";
leaf selected-frequency {
type decimal64 {
fraction-digits 5;
}
units THz;
Lee, et al. Expires December 2017 [Page 5]
Internet-Draft WSON YANG Model June 2017
default 193.1;
description "Selected Central Frequency";
}
leaf channel-spacing {
type decimal64 {
fraction-digits 5;
}
units GHz;
description "This is fixed channel spacing for WSON,
e.g, 12.5, 25, 50, 100, ..";
}
}
/* End of interface groupings */
/**
* Augmentation to TE generic module
*/
augment "/te:te/te:tunnels/te:tunnel/te:config" {
description
"Augmentations for WSON TE tunnel properties";
uses tunnel-properties-wson;
}
augment "/te:te/te:tunnels/te:tunnel/te:state" {
description
"Augmentations for WSON TE tunnel properties";
uses tunnel-properties-wson;
}
augment "/te:te/te:lsps-state/te:lsp" {
description
" WSON LSP state properties";
uses lsp-properties-wson;
}
augment "/te:te/te-dev:interfaces/te-dev:interface" {
description
"WSON reservable bandwidth configuration properties";
uses wson-reservable;
}
}
<CODE ENDS>
Lee, et al. Expires December 2017 [Page 6]
Internet-Draft WSON YANG Model June 2017
4. Security Considerations
TDB
5. IANA Considerations
TDB
6. Acknowledgments
This document was prepared using 2-Word-v2.0.template.dot.
Lee, et al. Expires December 2017 [Page 7]
Internet-Draft WSON YANG Model June 2017
7. References
7.1. Normative References
[TE-TOPO] X. Liu, et al., "YANG Data Model for TE Topologies", work
in progress: draft-ietf-teas-yang-te-topo.
7.2. Informative References
[RFC7446] Y. Lee, G. Bernstein, D. Li, W. Imajuku, "Routing and
Wavelength Assignment Information Model for Wavelength
Switched Optical Networks", RFC 7446, Feburary 2015.
[RFC7579] G. Bernstein, Y. Lee, D. Li, W. Imajuku, "General
Network Element Constraint Encoding for GMPLS Controlled
Networks", RFC 7579, June 2015.
[RFC7581] G. Bernstein, Y. Lee, D. Li, W. Imajuku, "Routing and
Wavelength Assignment Information Encoding for Wavelength
Switched Optical Networks", RFC 7581, June 2015.
8. Contributors
Authors' Addresses
Young Lee (ed.)
Huawei Technologies
5340 Legacy Drive, Building 3
Plano, TX 75023
USA
Phone: (469) 277-5838
Email: leeyoung@huawei.com
Dhruv Dhody
Huawei Technologies India Pvt. Ltd,
Near EPIP Industrial Area, Kundalahalli Village, Whitefield,
Bangalore - 560 037 [H1-2A-245]
Lee, et al. Expires December 2017 [Page 8]
Internet-Draft WSON YANG Model June 2017
Email: dhruv.dhody@huawei.com
Victor Lopez
Telefonica
Email: victor.lopezalvarez@telefonica.com
Daniel King
University of Lancaster
Email: d.king@lancaster.ac.uk
Bin Yeong Yoon
ETRI
218 Gaijeongro, Yuseong-gu
Daejeon, Korea
Email: byyun@etri.re.kr
Ricard Vilalta
CTTC
Email: ricard.vilalta@cttc.es
Lee, et al. Expires December 2017 [Page 9]