draft-ietf-teas-yang-sr-te-topo-05.txt   draft-ietf-teas-yang-sr-te-topo-06.txt 
Network Working Group X. Liu Network Working Group X. Liu
Internet-Draft Volta Networks Internet-Draft Volta Networks
Intended status: Standards Track I. Bryskin Intended status: Standards Track I. Bryskin
Expires: January 9, 2020 Futurewei Expires: May 6, 2020 Individual
V. Beeram V. Beeram
T. Saad T. Saad
Juniper Networks Juniper Networks
H. Shah H. Shah
Ciena Ciena
S. Litkowski S. Litkowski
Orange Business Service Cisco
July 8, 2019 November 3, 2019
YANG Data Model for SR and SR TE Topologies YANG Data Model for SR and SR TE Topologies
draft-ietf-teas-yang-sr-te-topo-05 draft-ietf-teas-yang-sr-te-topo-06
Abstract Abstract
This document defines a YANG data model for Segment Routing (SR) This document defines a YANG data model for Segment Routing (SR)
topology and Segment Routing (SR) traffic engineering (TE) topology. topology and Segment Routing (SR) traffic engineering (TE) topology.
Status of This Memo Status of This Memo
This Internet-Draft is submitted in full conformance with the This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and BCP 79.
skipping to change at page 1, line 39 skipping to change at page 1, line 39
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 January 9, 2020. This Internet-Draft will expire on May 6, 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 25 skipping to change at page 2, line 25
2. Modeling Considerations . . . . . . . . . . . . . . . . . . . 3 2. Modeling Considerations . . . . . . . . . . . . . . . . . . . 3
2.1. Segment Routing (SR) Topology . . . . . . . . . . . . . . 3 2.1. Segment Routing (SR) Topology . . . . . . . . . . . . . . 3
2.2. Segment Routing (SR) TE Topology . . . . . . . . . . . . 3 2.2. Segment Routing (SR) TE Topology . . . . . . . . . . . . 3
2.3. Relations to ietf-segment-routing . . . . . . . . . . . . 4 2.3. Relations to ietf-segment-routing . . . . . . . . . . . . 4
2.4. Topology Type Modeling . . . . . . . . . . . . . . . . . 5 2.4. Topology Type Modeling . . . . . . . . . . . . . . . . . 5
2.5. Topology Attributes . . . . . . . . . . . . . . . . . . . 5 2.5. Topology Attributes . . . . . . . . . . . . . . . . . . . 5
2.6. Node Attributes . . . . . . . . . . . . . . . . . . . . . 5 2.6. Node Attributes . . . . . . . . . . . . . . . . . . . . . 5
2.7. Link Attributes . . . . . . . . . . . . . . . . . . . . . 6 2.7. Link Attributes . . . . . . . . . . . . . . . . . . . . . 6
3. Model Structure . . . . . . . . . . . . . . . . . . . . . . . 7 3. Model Structure . . . . . . . . . . . . . . . . . . . . . . . 7
4. YANG Module . . . . . . . . . . . . . . . . . . . . . . . . . 9 4. YANG Module . . . . . . . . . . . . . . . . . . . . . . . . . 9
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 17 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 16
6. Security Considerations . . . . . . . . . . . . . . . . . . . 17 6. Security Considerations . . . . . . . . . . . . . . . . . . . 17
7. References . . . . . . . . . . . . . . . . . . . . . . . . . 19 7. References . . . . . . . . . . . . . . . . . . . . . . . . . 18
7.1. Normative References . . . . . . . . . . . . . . . . . . 19 7.1. Normative References . . . . . . . . . . . . . . . . . . 18
7.2. Informative References . . . . . . . . . . . . . . . . . 20 7.2. Informative References . . . . . . . . . . . . . . . . . 19
Appendix A. Companion YANG Model for Non-NMDA Compliant Appendix A. Companion YANG Model for Non-NMDA Compliant
Implementations . . . . . . . . . . . . . . . . . . 21 Implementations . . . . . . . . . . . . . . . . . . 21
A.1. SR Topology State Module . . . . . . . . . . . . . . . . 21 A.1. SR Topology State Module . . . . . . . . . . . . . . . . 21
Appendix B. Data Tree Example . . . . . . . . . . . . . . . . . 24 Appendix B. Data Tree Example . . . . . . . . . . . . . . . . . 24
Appendix C. Contributors . . . . . . . . . . . . . . . . . . . . 31 Appendix C. Contributors . . . . . . . . . . . . . . . . . . . . 31
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 31 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 31
1. Introduction 1. Introduction
This document defines a YANG [RFC7950] data model for describing the This document defines a YANG [RFC7950] data model for describing the
skipping to change at page 9, line 7 skipping to change at page 9, line 7
+--rw is-part-of-set? boolean +--rw is-part-of-set? boolean
+--rw is-persistent? boolean +--rw is-persistent? boolean
+--rw is-on-lan? boolean +--rw is-on-lan? boolean
+--ro information-source? enumeration +--ro information-source? enumeration
+--ro information-source-instance? string +--ro information-source-instance? string
+--ro information-source-state +--ro information-source-state
+--ro credibility-preference? uint16 +--ro credibility-preference? uint16
4. YANG Module 4. YANG Module
<CODE BEGINS> file "ietf-sr-topology@2019-06-28.yang" <CODE BEGINS> file "ietf-sr-topology@2019-11-02.yang"
module ietf-sr-topology { module ietf-sr-topology {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-sr-topology"; namespace "urn:ietf:params:xml:ns:yang:ietf-sr-topology";
prefix "srt"; prefix "srt";
import ietf-network { import ietf-network {
prefix "nw"; prefix "nw";
reference "RFC 8345: A YANG Data Model for Network Topologies"; reference "RFC 8345: A YANG Data Model for Network Topologies";
} }
import ietf-network-topology { import ietf-network-topology {
skipping to change at page 10, line 26 skipping to change at page 10, line 26
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 to without modification, is permitted pursuant to, and subject to
the license terms contained in, the Simplified BSD License set the license terms contained in, the Simplified BSD License set
forth in Section 4.c of the IETF Trust's Legal Provisions forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents 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 the This version of this YANG module is part of RFC XXXX; see the
RFC itself for full legal notices."; RFC itself for full legal notices.";
revision 2019-06-28 { revision 2019-11-02 {
description "Initial revision"; description "Initial revision";
reference reference
"RFC XXXX: YANG Data Model for SR and SR TE Topologies"; "RFC XXXX: YANG Data Model for SR and SR TE Topologies";
} }
feature msd { feature msd {
description description
"Support of signaling MSD (Maximum SID Depth) in IGP."; "Support of signaling MSD (Maximum SID Depth) in IGP.";
} }
skipping to change at page 11, line 49 skipping to change at page 11, line 49
} }
description "Augment link configuration"; description "Augment link configuration";
uses sr-link-attributes; uses sr-link-attributes;
} }
grouping sr-topology-attributes { grouping sr-topology-attributes {
description "SR topology scope attributes."; description "SR topology scope attributes.";
container sr { container sr {
description description
"Containing SR attributes."; "Containing SR attributes.";
uses sr-cmn:srgb { uses sr-cmn:srgb;
refine srgb {
must "lower-bound <= upper-bound" {
error-message
"lower-bound must not be greater than upper-bound.";
}
}
}
} // sr } // sr
} // sr-topology-attributes } // sr-topology-attributes
grouping information-source-attributes { grouping information-source-attributes {
description description
"The attributes identifying source that has provided the "The attributes identifying source that has provided the
related information, and the source credibility."; related information, and the source credibility.";
leaf information-source { leaf information-source {
type enumeration { type enumeration {
enum "unknown" { enum "unknown" {
description "The source is unknown."; description "The source is unknown.";
} }
enum "locally-configured" { enum "locally-configured" {
skipping to change at page 13, line 31 skipping to change at page 13, line 23
Higher value is more preferable."; Higher value is more preferable.";
} }
} }
} // information-source-attributes } // information-source-attributes
grouping sr-node-attributes { grouping sr-node-attributes {
description "SR node scope attributes."; description "SR node scope attributes.";
container sr { container sr {
description description
"Containing SR attributes."; "Containing SR attributes.";
uses sr-cmn:srgb { uses sr-cmn:srgb;
refine srgb { uses sr-cmn:srlb;
must "lower-bound <= upper-bound" {
error-message
"lower-bound must not be greater than upper-bound.";
}
}
}
uses sr-cmn:srlb {
refine srlb {
must "lower-bound <= upper-bound" {
error-message
"lower-bound must not be greater than upper-bound.";
}
}
}
uses sr-cmn:node-capabilities; uses sr-cmn:node-capabilities;
leaf msd { leaf msd {
if-feature "msd"; if-feature "msd";
type uint8; type uint8;
description description
"Node MSD is the lowest MSD supported by the node."; "Node MSD is the lowest MSD supported by the node.";
} }
// Operational state data // Operational state data
uses information-source-attributes; uses information-source-attributes;
} // sr } // sr
skipping to change at page 21, line 27 skipping to change at page 21, line 27
The companion module, ietf-sr-topology-state, is redundant and SHOULD The companion module, ietf-sr-topology-state, is redundant and SHOULD
NOT be supported by implementations that support NMDA. NOT be supported by implementations that support NMDA.
As the structure of the companion module mirrors that of the As the structure of the companion module mirrors that of the
coorespinding NMDA model, the YANG tree of the companion module is coorespinding NMDA model, the YANG tree of the companion module is
not depicted separately. not depicted separately.
A.1. SR Topology State Module A.1. SR Topology State Module
<CODE BEGINS> file "ietf-sr-topology-state@2019-06-28.yang" <CODE BEGINS> file "ietf-sr-topology-state@2019-11-02.yang"
module ietf-sr-topology-state { module ietf-sr-topology-state {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-sr-topology-state"; namespace "urn:ietf:params:xml:ns:yang:ietf-sr-topology-state";
prefix "srt-s"; prefix "srt-s";
import ietf-sr-topology { import ietf-sr-topology {
prefix "srt"; prefix "srt";
} }
import ietf-network-state { import ietf-network-state {
prefix "nw-s"; prefix "nw-s";
skipping to change at page 22, line 50 skipping to change at page 22, line 50
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 to without modification, is permitted pursuant to, and subject to
the license terms contained in, the Simplified BSD License set the license terms contained in, the Simplified BSD License set
forth in Section 4.c of the IETF Trust's Legal Provisions forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents 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 the This version of this YANG module is part of RFC XXXX; see the
RFC itself for full legal notices."; RFC itself for full legal notices.";
revision 2019-06-28 { revision 2019-11-02 {
description "Initial revision"; description "Initial revision";
reference reference
"RFC XXXX: YANG Data Model for SR and SR TE Topologies"; "RFC XXXX: YANG Data Model for SR and SR TE Topologies";
} }
augment "/nw-s:networks/nw-s:network/nw-s:network-types/" augment "/nw-s:networks/nw-s:network/nw-s:network-types/"
+ "l3t-s:l3-unicast-topology" { + "l3t-s:l3-unicast-topology" {
description description
"Defines the SR topology type."; "Defines the SR topology type.";
uses srt:sr-topology-type; uses srt:sr-topology-type;
skipping to change at page 31, line 21 skipping to change at page 31, line 21
Email: yingzhen.qu@huawei.com Email: yingzhen.qu@huawei.com
Authors' Addresses Authors' Addresses
Xufeng Liu Xufeng Liu
Volta Networks Volta Networks
EMail: xufeng.liu.ietf@gmail.com EMail: xufeng.liu.ietf@gmail.com
Igor Bryskin Igor Bryskin
Futurewei Individual
EMail: igor.bryskin@futurewei.com EMail: i_bryskin@yahoo.com
Vishnu Pavan Beeram Vishnu Pavan Beeram
Juniper Networks Juniper Networks
EMail: vbeeram@juniper.net EMail: vbeeram@juniper.net
Tarek Saad Tarek Saad
Juniper Networks Juniper Networks
EMail: tsaad@juniper.net EMail: tsaad@juniper.net
Himanshu Shah Himanshu Shah
Ciena Ciena
EMail: hshah@ciena.com EMail: hshah@ciena.com
Stephane Litkowski Stephane Litkowski
Orange Business Service Cisco
EMail: stephane.litkowski@orange.com EMail: slitkows.ietf@gmail.com
 End of changes. 17 change blocks. 
41 lines changed or deleted 19 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/