draft-ietf-ccamp-wson-yang-02.txt   draft-ietf-ccamp-wson-yang-03.txt 
skipping to change at page 1, line 15 skipping to change at page 1, line 15
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: January 8, 2017 July 8, 2016 Expires: January 20, 2017 July 20, 2016
A Yang Data Model for WSON Optical Networks A Yang Data Model for WSON Optical Networks
draft-ietf-ccamp-wson-yang-02.txt draft-ietf-ccamp-wson-yang-03.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 8, 2016. This Internet-Draft will expire on January 20, 2017.
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
skipping to change at page 3, line 10 skipping to change at page 3, line 10
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 /nd:networks/nd:network/nd:network-types/tet:te-topology: augment /nd:networks/nd:network/nd:network-types/tet:te-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 /nd:networks/nd:network/nd:node/tet:te/tet:config/tet:te-node-attribut
es/tet:connectivity-matrix:
+--rw wson-matrix +--rw wson-matrix
+--rw device-type? devicetype +--rw device-type? devicetype
+--rw dir? directionality +--rw dir? directionality
+--rw matrix-interface* [in-port-id] +--rw matrix-interface* [in-port-id]
+--rw in-port-id wson-interface-ref +--rw in-port-id wson-interface-ref
+--rw out-port-id? wson-interface-ref +--rw out-port-id? wson-interface-ref
augment /nd:networks/nd:network/lnk:link/tet:te/tet:config: augment /nd:networks/nd:network/lnk:link/tet:te/tet:config:
+--rw wavelength-available-bitmap* boolean +--rw wavelength-available-bitmap* boolean
augment /nd:networks/nd:network/nd:node/tet:te/tet:config: augment /nd:networks/nd:network/nd:node/tet:te/tet:config:
+--rw resource-pool* [resource-pool-id] +--rw resource-pool* [resource-pool-id]
+--rw resource-pool-id uint32 +--rw resource-pool-id uint32
+--rw pool-state? boolean +--rw pool-state? boolean
+--rw matrix-interface* [in-port-id] +--rw matrix-interface* [in-port-id]
+--rw in-port-id wson-interface-ref +--rw in-port-id wson-interface-ref
+--rw out-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@2016-07-08.yang" <CODE BEGINS> file "ietf-wson-topology@2016-07-09.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 { import ietf-network {
prefix "nd"; prefix "nd";
} }
skipping to change at page 4, line 40 skipping to change at page 5, line 9
organization organization
"IETF CCAMP Working Group"; "IETF CCAMP Working Group";
contact contact
"Editor: Young Lee <leeyoung@huawei.com>"; "Editor: Young Lee <leeyoung@huawei.com>";
description description
"This module contains a collection of YANG definitions for "This module contains a collection of YANG definitions for
RWA WSON. RWA WSON.
Copyright (c) 2015 IETF Trust and the persons identified as Copyright (c) 2016 IETF Trust and the persons identified as
authors of the code. All rights reserved. authors of the code. All rights reserved.
Redistribution and use in source and binary forms, with or Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD to the license terms contained in, the Simplified BSD
License set forth in Section 4.c of the IETF Trust's Legal License set forth in Section 4.c of the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info)."; (http://trustee.ietf.org/license-info).";
revision 2015-10-14 { revision 2016-07-09 {
description description
"version 2."; "Version 3";
reference reference
"RFC XXX: A Yang Data Model for WSON Optical Networks "; "RFC XXX: A Yang Data Model for WSON Optical Networks ";
} }
typedef wson-topology-id { typedef wson-topology-id {
type inet:uri; type inet:uri;
description description
"The WSON Topology ID"; "The WSON Topology ID";
} }
skipping to change at page 7, line 4 skipping to change at page 7, line 11
path "/nd:networks/nd:network/lnk:link/lnk:link-id"; path "/nd:networks/nd:network/lnk:link/lnk: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.";
} }
grouping wson-topology-type { grouping wson-topology-type {
description description
"Identifies the wson topology type."; "Identifies the wson topology type.";
container wson-topology { container wson-topology {
presence "Indicates WSON topology."; presence "Indicates WSON topology.";
description description
"Its presence identifies the WSON topology type."; "Its presence identifies the WSON topology type.";
} }
} // wson-topology-type } // wson-topology-type
augment "/nd:networks/nd:network/nd:network-types/tet:te- augment "/nd:networks/nd:network/nd:network-types"
topology" { + "/tet:te-topology" {
description "Augment network-types to include WSON topology"; description "Augment network-types to include WSON topology";
uses wson-topology-type { 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 "/nd:networks/nd:network/nd:node/tet:te/tet:config" augment "/nd:networks/nd:network/nd:node/tet:te/tet:config"
 End of changes. 10 change blocks. 
11 lines changed or deleted 11 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/