rfc9020v4.txt   rfc9020.txt 
skipping to change at line 12 skipping to change at line 12
Internet Engineering Task Force (IETF) S. Litkowski Internet Engineering Task Force (IETF) S. Litkowski
Request for Comments: 9020 Cisco Systems Request for Comments: 9020 Cisco Systems
Category: Standards Track Y. Qu Category: Standards Track Y. Qu
ISSN: 2070-1721 Futurewei ISSN: 2070-1721 Futurewei
A. Lindem A. Lindem
Cisco Systems Cisco Systems
P. Sarkar P. Sarkar
VMware, Inc VMware, Inc
J. Tantsura J. Tantsura
Juniper Networks Juniper Networks
April 2021 May 2021
YANG Data Model for Segment Routing YANG Data Model for Segment Routing
Abstract Abstract
This document defines three YANG data models. The first is for This document defines three YANG data models. The first is for
Segment Routing (SR) configuration and operation, which is to be Segment Routing (SR) configuration and operation, which is to be
augmented by different Segment Routing data planes. The next is a augmented by different Segment Routing data planes. The next is a
YANG data model that defines a collection of generic types and YANG data model that defines a collection of generic types and
groupings for SR. The third module defines the configuration and groupings for SR. The third module defines the configuration and
skipping to change at line 900 skipping to change at line 900
description description
"Grouping for IGP interface configuration."; "Grouping for IGP interface configuration.";
container segment-routing { container segment-routing {
description description
"Container for SR interface configuration."; "Container for SR interface configuration.";
container adjacency-sid { container adjacency-sid {
description description
"Adjacency SID (Adj-SID) configuration."; "Adjacency SID (Adj-SID) configuration.";
reference reference
"RFC 8660: Segment Routing with the MPLS "RFC 8660: Segment Routing with the MPLS
Data Plane"; Data Plane";
list adj-sids { list adj-sids {
key "value"; key "value";
uses sr-cmn:sid-value-type; uses sr-cmn:sid-value-type;
leaf value { leaf value {
type uint32; type uint32;
description description
"Value of the Adj-SID."; "Value of the Adj-SID.";
} }
leaf protected { leaf protected {
type boolean; type boolean;
skipping to change at line 937 skipping to change at line 937
"List of Adj-SIDs and their configuration."; "List of Adj-SIDs and their configuration.";
} }
list advertise-adj-group-sid { list advertise-adj-group-sid {
key "group-id"; key "group-id";
description description
"Control advertisement of S-flag or G-flag. Enable "Control advertisement of S-flag or G-flag. Enable
advertisement of a common Adj-SID for parallel advertisement of a common Adj-SID for parallel
links."; links.";
reference reference
"RFC 8665: OSPF Extensions for Segment Routing, "RFC 8665: OSPF Extensions for Segment Routing,
Section 6.1 Section 6.1
RFC 8667: IS-IS Extensions for Segment RFC 8667: IS-IS Extensions for Segment
Routing, Section 2.2.1"; Routing, Section 2.2.1";
leaf group-id { leaf group-id {
type uint32; type uint32;
description description
"The value is an internal value to identify a "The value is an internal value to identify a
group-ID. Interfaces with the same group-ID group-ID. Interfaces with the same group-ID
will be bundled together."; will be bundled together.";
} }
} }
skipping to change at line 1097 skipping to change at line 1097
} }
description description
"Scope of this label block."; "Scope of this label block.";
} }
} }
container sid-db { container sid-db {
config false; config false;
description description
"List of prefix and SID associations."; "List of prefix and SID associations.";
list sid { list sid {
key "target SID source source-protocol binding-type"; key "target sid source source-protocol binding-type";
ordered-by system; ordered-by system;
description description
"SID binding."; "SID binding.";
leaf target { leaf target {
type string; type string;
description description
"Defines the target of the binding. It can be a "Defines the target of the binding. It can be a
prefix or something else."; prefix or something else.";
} }
leaf sid { leaf sid {
skipping to change at line 1352 skipping to change at line 1352
Denial-of-Service (DoS) attack or redirection traffic destined for Denial-of-Service (DoS) attack or redirection traffic destined for
those routers. those routers.
10. IANA Considerations 10. IANA Considerations
This document registers a URI in the "IETF XML Registry" [RFC3688]. This document registers a URI in the "IETF XML Registry" [RFC3688].
Following the format in [RFC3688], the following registration is Following the format in [RFC3688], the following registration is
requested to be made: requested to be made:
ID: yang:ietf-segment-routing-common ID: yang:ietf-segment-routing-common
URI: urn:ietf:params:xml:ns:yang:ietf-segment-routing-commmon URI: urn:ietf:params:xml:ns:yang:ietf-segment-routing-common
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.
ID: yang:ietf-segment-routing ID: yang:ietf-segment-routing
URI: urn:ietf:params:xml:ns:yang:ietf-segment-routing URI: urn:ietf:params:xml:ns:yang:ietf-segment-routing
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.
ID: yang:ietf-segment-routing-mpls ID: yang:ietf-segment-routing-mpls
URI: urn:ietf:params:xml:ns:yang:ietf-segment-routing-mpls URI: urn:ietf:params:xml:ns:yang:ietf-segment-routing-mpls
 End of changes. 5 change blocks. 
5 lines changed or deleted 5 lines changed or added

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