draft-qgp-lsr-isis-pics-srmpls-yang-01.txt   draft-qgp-lsr-isis-pics-srmpls-yang-02.txt 
Internet Y. Qu Internet Y. Qu
Internet-Draft Futurewei Technologies Internet-Draft Futurewei Technologies
Intended status: Standards Track L. Ginsberg Intended status: Standards Track L. Ginsberg
Expires: 10 November 2024 Cisco Systems Expires: 4 January 2025 Cisco Systems
A. Przygienda A. Przygienda
Juniper Networks Juniper Networks
Y. Zhu Y. Zhu
China Telecom China Telecom
9 May 2024 3 July 2024
YANG Model for IS-IS Segment Routing MPLS PICS YANG Data Model for IS-IS Segment Routing MPLS PICS
draft-qgp-lsr-isis-pics-srmpls-yang-01 draft-qgp-lsr-isis-pics-srmpls-yang-02
Abstract Abstract
The YANG model in this document is to query an IS-IS Protocol The YANG model in this document is to query an IS-IS Protocol
Implementation Conformance Statement (PICS) of Segment Routing on Implementation Conformance Statement (PICS) of Segment Routing on
MPLS data plane. MPLS data plane.
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
skipping to change at page 1, line 37 skipping to change at page 1, line 37
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 10 November 2024. This Internet-Draft will expire on 4 January 2025.
Copyright Notice Copyright Notice
Copyright (c) 2024 IETF Trust and the persons identified as the Copyright (c) 2024 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 (https://trustee.ietf.org/ Provisions Relating to IETF Documents (https://trustee.ietf.org/
license-info) in effect on the date of publication of this document. license-info) in effect on the date of publication of this document.
Please review these documents carefully, as they describe your rights Please review these documents carefully, as they describe your rights
skipping to change at page 2, line 20 skipping to change at page 2, line 20
extracted from this document must include Revised BSD License text as extracted from this document must include Revised BSD License text as
described in Section 4.e of the Trust Legal Provisions and are described in Section 4.e of the Trust Legal Provisions and are
provided without warranty as described in the Revised BSD License. provided without warranty as described in the Revised BSD License.
Table of Contents Table of Contents
1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1. Requirements Language . . . . . . . . . . . . . . . . . . 2 1.1. Requirements Language . . . . . . . . . . . . . . . . . . 2
2. Design of the Model . . . . . . . . . . . . . . . . . . . . . 3 2. Design of the Model . . . . . . . . . . . . . . . . . . . . . 3
3. ISIS PICS for SR MPLS Tree . . . . . . . . . . . . . . . . . 3 3. ISIS PICS for SR MPLS Tree . . . . . . . . . . . . . . . . . 3
4. IS-IS PICS SR-MPLS YANG Modules . . . . . . . . . . . . . . . 3 4. IS-IS PICS SR-MPLS YANG Modules . . . . . . . . . . . . . . . 4
5. Security Considerations . . . . . . . . . . . . . . . . . . . 7 5. Security Considerations . . . . . . . . . . . . . . . . . . . 11
6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 8 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 11
7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 8 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 12
8. Normative References . . . . . . . . . . . . . . . . . . . . 8 8. Normative References . . . . . . . . . . . . . . . . . . . . 12
9. Informative References . . . . . . . . . . . . . . . . . . . 10 9. Informative References . . . . . . . . . . . . . . . . . . . 13
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 10 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 14
1. Overview 1. Overview
YANG [RFC7950] is a data definition language used to define the YANG [RFC7950] is a data definition language used to define the
contents of a conceptual data store that allows networked devices to contents of a conceptual data store that allows networked devices to
be managed using NETCONF [RFC6241]. YANG is proving relevant beyond be managed using NETCONF [RFC6241]. YANG is proving relevant beyond
its initial confines, as bindings to other interfaces (e.g., ReST) its initial confines, as bindings to other interfaces (e.g., ReST)
and encodings other than XML (e.g., JSON) are being defined. and encodings other than XML (e.g., JSON) are being defined.
Furthermore, YANG data models can be used as the basis for Furthermore, YANG data models can be used as the basis for
implementation of other interfaces, such as CLI and programmatic implementation of other interfaces, such as CLI and programmatic
skipping to change at page 3, line 28 skipping to change at page 4, line 10
3. ISIS PICS for SR MPLS Tree 3. ISIS PICS for SR MPLS Tree
This document uses the graphical representation of data models This document uses the graphical representation of data models
defined in [RFC8340]. defined in [RFC8340].
module: ietf-isis-pics-sr-mpls module: ietf-isis-pics-sr-mpls
+--ro isis-pics-sr-mpls +--ro isis-pics-sr-mpls
+--ro sr-capability-sub-tlv-support! +--ro sr-capability-sub-tlv-support!
| +--ro i-bit-support? isis-pics:support | +--ro i-bit-support? isis-pics:support
| +--ro v-bit-support? isis-pics:support | +--ro v-bit-support? isis-pics:support
+--ro prefix-sid-sub-tlv-support? isis-pics:support +--ro prefix-sid-sub-tlv-support!
+--ro adj-sid-sub-tlv-support? isis-pics:support | +--ro tlv-135? isis-pics:support
+--ro lan-adj-sid-sub-tlv-support? isis-pics:support | +--ro tlv-235? isis-pics:support
| +--ro tlv-236? isis-pics:support
| +--ro tlv-237? isis-pics:support
+--ro adj-sid-sub-tlv-support!
| +--ro tlv-22? isis-pics:support
| +--ro tlv-222? isis-pics:support
| +--ro tlv-23? isis-pics:support
| +--ro tlv-223? isis-pics:support
| +--ro tlv-141? isis-pics:support
+--ro lan-adj-sid-sub-tlv-support!
| +--ro tlv-22? isis-pics:support
| +--ro tlv-222? isis-pics:support
| +--ro tlv-23? isis-pics:support
| +--ro tlv-223? isis-pics:support
+--ro sid-label-tlv-support? isis-pics:support +--ro sid-label-tlv-support? isis-pics:support
+--ro sid-label-binding-tlv-support? isis-pics:support +--ro sid-label-binding-tlv-support!
+--ro mt-sid-label-binding-tlv-support? isis-pics:support | +--ro srms
| | +--ro sending? isis-pics:support
| | +--ro receiving? isis-pics:support
| +--ro mirror-sid? isis-pics:support
+--ro mt-sid-label-binding-tlv-support!
| +--ro srms
| | +--ro sending? isis-pics:support
| | +--ro receiving? isis-pics:support
| +--ro mirror-sid? isis-pics:support
+--ro sr-algorithm-tlv-support! +--ro sr-algorithm-tlv-support!
| +--ro algo-support* uint8 | +--ro algo-support* uint8
+--ro sr-lb-tlv-support? isis-pics:support +--ro sr-lb-tlv-support? isis-pics:support
+--ro srms-preference-tlv-support? isis-pics:support +--ro srms-preference-tlv-support? isis-pics:support
augment /isis-pics:isis-pics/isis-pics:isis-pics-mptlv: augment /isis-pics:isis-pics/isis-pics:isis-pics-mptlv:
+--ro sid-label-binding-support? isis-pics:support +--ro sid-label-binding-support? isis-pics:support
+--ro mt-sid-label-binding-support? isis-pics:support +--ro mt-sid-label-binding-support? isis-pics:support
4. IS-IS PICS SR-MPLS YANG Modules 4. IS-IS PICS SR-MPLS YANG Modules
<CODE BEGINS> file "ietf-isis-pics-sr-mpls@2024-07-03.yang"
<CODE BEGINS> file "ietf-isis-pics-sr-mpls@2024-03-03.yang"
module ietf-isis-pics-sr-mpls { module ietf-isis-pics-sr-mpls {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-isis-pics-sr-mpls"; namespace "urn:ietf:params:xml:ns:yang:ietf-isis-pics-sr-mpls";
prefix isis-pics-sr-mpls; prefix isis-pics-sr-mpls;
import iana-isis-pics { import iana-isis-pics {
prefix "iana-isis-pics"; prefix "iana-isis-pics";
} }
import ietf-isis-pics { import ietf-isis-pics {
prefix "isis-pics"; prefix "isis-pics";
} }
organization organization
"IETF LSR - Link State Routing Working Group"; "IETF LSR - Link State Routing Working Group";
contact contact
"WG Web: <http://datatracker.ietf.org/wg/lsr> "WG Web: <http://datatracker.ietf.org/wg/lsr>
WG List: <mailto:lsr@ietf.org> WG List: <mailto:lsr@ietf.org>
Author: Yingzhen Qu Author: Yingzhen Qu
<mailto:yingzhen.ietf@gmail.com> <mailto:yingzhen.ietf@gmail.com>
Author: Les Ginsberg Author: Les Ginsberg
<mailto:ginsberg@cisco.com> <mailto:ginsberg@cisco.com>
Author: Tony Przygienda Author: Tony Przygienda
<mailto:prz@juniper.net>"; <mailto:prz@juniper.net>
Author: Yongqing Zhu
<mailto:zhuyq8@chinatelecom.cn>";
description description
"The YANG module is used to query an IS-IS Protocol "The YANG module is used to query an IS-IS Protocol
Implementation Conformance Statement (PICS) of Segment Implementation Conformance Statement (PICS) of Segment
Routing for MPLS data plane (RFC8667). Routing for MPLS data plane (RFC8667).
This YANG model conforms to the Network Management This YANG model conforms to the Network Management
Datastore Architecture (NMDA) as described in RFC 8342. Datastore Architecture (NMDA) as described in RFC 8342.
Copyright (c) 2024 IETF Trust and the persons identified as Copyright (c) 2024 IETF Trust and the persons identified as
skipping to change at page 4, line 44 skipping to change at page 6, line 5
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 Revised BSD License set the license terms contained in, the Revised 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
(https://trustee.ietf.org/license-info). (https://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX This version of this YANG module is part of RFC XXXX
(https://www.rfc-editor.org/info/rfcXXXX); see the RFC itself (https://www.rfc-editor.org/info/rfcXXXX); see the RFC itself
for full legal notices. for full legal notices.";
The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED',
'MAY', and 'OPTIONAL' in this document are to be interpreted as
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
they appear in all capitals, as shown here.";
reference reference
"RFC XXXX: YANG Data Model for IS-IS Segment Routing MPLS PICS"; "RFC XXXX: YANG Data Model for IS-IS Segment Routing MPLS PICS";
revision 2024-03-03 { revision 2024-07-03 {
description description
"Initial Version"; "Initial Version";
reference reference
"RFC XXXX: YANG Data Model for IS-IS Segment Routing MPLS PICS."; "RFC XXXX: YANG Data Model for IS-IS Segment Routing MPLS PICS.";
} }
container isis-pics-sr-mpls { container isis-pics-sr-mpls {
when "/isis-pics:isis-pics/isis-pics:supported-isis-pics " when "/isis-pics:isis-pics/isis-pics:supported-isis-pics "
+ "= 'iana-isis-pics:isis-pics-sr-mpls'" { + "= 'iana-isis-pics:isis-pics-sr-mpls'" {
description description
skipping to change at page 5, line 30 skipping to change at page 6, line 35
description description
"IS-IS Protocol Implementation Conformance Statement (PICS) of "IS-IS Protocol Implementation Conformance Statement (PICS) of
Segment Routing on MPLS data plane."; Segment Routing on MPLS data plane.";
reference reference
"RFC 8667: IS-IS Extensions for Segment Routing"; "RFC 8667: IS-IS Extensions for Segment Routing";
container sr-capability-sub-tlv-support { container sr-capability-sub-tlv-support {
presence "Support of sr-capability sub-tlv."; presence "Support of sr-capability sub-tlv.";
//config false; //config false;
description description
"Support of sr-capability sub-tlv."; "Support of sr-capability sub-tlv (Type 2).";
leaf i-bit-support { leaf i-bit-support {
type isis-pics:support; type isis-pics:support;
description description
"support mpls-ipv4 capability."; "support mpls-ipv4 capability.";
} }
leaf v-bit-support { leaf v-bit-support {
type isis-pics:support; type isis-pics:support;
description description
"support mpls-ipv6 capability."; "support mpls-ipv6 capability.";
} }
} }
leaf prefix-sid-sub-tlv-support { container prefix-sid-sub-tlv-support {
type isis-pics:support; presence "Support of prefix-sid sub-tlv.";
description description
"Support of prefix-sid sub-tlv."; "Support of prefix-sid sub-tlv (Type 3).";
leaf tlv-135 {
type isis-pics:support;
description
"May present in TLV-135, extended IPv4 reachability.";
}
leaf tlv-235 {
type isis-pics:support;
description
"May present in TLV-235, multi-topology IPv4 reachability.";
}
leaf tlv-236 {
type isis-pics:support;
description
"May present in TLV-236, IPv6 IP reachability.";
}
leaf tlv-237 {
type isis-pics:support;
description
"May present in TLV-237, multi-topology IPv6 IP
reachability.";
}
} }
leaf adj-sid-sub-tlv-support { container adj-sid-sub-tlv-support {
type isis-pics:support; presence "Support of adj-sid sub-tlv.";
description description
"Support of Adjacency Segment Identifier sub-tlv."; "Support of adjacency segment identifier sub-tlv (Type 31).";
leaf tlv-22 {
type isis-pics:support;
description
"May present in TLV-22, extended IS reachability.";
}
leaf tlv-222 {
type isis-pics:support;
description
"May present in TLV-222, MT-ISN.";
}
leaf tlv-23 {
type isis-pics:support;
description
"May present in TLV-23, IS neighbor attribute.";
}
leaf tlv-223 {
type isis-pics:support;
description
"May present in TLV-223, MT IS neighbor attribute.";
}
leaf tlv-141 {
type isis-pics:support;
description
"May present in TLV-141, inter-AS reachability information.";
}
} }
leaf lan-adj-sid-sub-tlv-support { container lan-adj-sid-sub-tlv-support {
type isis-pics:support; presence "Support of lan-adj-sid sub-tlv.";
description description
"Support of LAN adj-sid sub-tlv."; "Support of LAN adj-sid sub-tlv (Type 32).";
leaf tlv-22 {
type isis-pics:support;
description
"May present in TLV-22, extended IS reachability.";
}
leaf tlv-222 {
type isis-pics:support;
description
"May present in TLV-222, MT-ISN.";
}
leaf tlv-23 {
type isis-pics:support;
description
"May present in TLV-23, IS neighbor attribute.";
}
leaf tlv-223 {
type isis-pics:support;
description
"May present in TLV-223, MT IS neighbor attribute.";
}
} }
leaf sid-label-tlv-support { leaf sid-label-tlv-support {
type isis-pics:support; type isis-pics:support;
description description
"Support of SID/Label sub-tlv."; "Support of sid/label sub-tlv (Type 1).";
} }
leaf sid-label-binding-tlv-support { container sid-label-binding-tlv-support {
type isis-pics:support; presence "Support of sid-label-binding sub-tlv.";
description description
"Support of SID/Label Binding tlv."; "Support of sid/label binding tlv (Type 149).";
container srms {
description
"Support to advertise or receive prefix to sid/label
mapping.";
leaf sending {
type isis-pics:support;
description
"Support to advertise SR mappings.";
}
leaf receiving {
type isis-pics:support;
description
"Support to receive and use the MS mapping advertisement.";
}
}
leaf mirror-sid {
type isis-pics:support;
description
"Support to advertise a mirror sid indicating the ability
of a node to process traffic originally destined to
another IGP node.";
}
} }
leaf mt-sid-label-binding-tlv-support { container mt-sid-label-binding-tlv-support {
type isis-pics:support; presence "Support of multi-topology sid-label-binding sub-tlv.";
description description
"Support of Multi-Topology SID/Label Binding TLV."; "Support of multi-topology sid/label binding tlv (Type 150).";
container srms {
description
"Support to advertise or receive prefix to sid/label
mapping.";
leaf sending {
type isis-pics:support;
description
"Support to advertise SR mappings.";
}
leaf receiving {
type isis-pics:support;
description
"Support to receive and use the MS mapping advertisement.";
}
}
leaf mirror-sid {
type isis-pics:support;
description
"Support to advertise a mirror sid indicating the ability
of a node to process traffic originally destined to
another IGP node.";
}
} }
container sr-algorithm-tlv-support { container sr-algorithm-tlv-support {
presence "Support of SR-Algorithm sub-tlv."; presence "Support of SR-Algorithm sub-tlv.";
description description
"Support of SR-Algorithm sub-tlv."; "Support of SR-Algorithm sub-tlv (Type 19).";
leaf-list algo-support { leaf-list algo-support {
type uint8; type uint8;
description description
"Supported algorithms."; "Supported algorithms.";
} }
} }
leaf sr-lb-tlv-support { leaf sr-lb-tlv-support {
type isis-pics:support; type isis-pics:support;
description description
"Support of the SR Local Block sub-tlv."; "Support of the SR Local Block sub-tlv (Type 22).";
} }
leaf srms-preference-tlv-support { leaf srms-preference-tlv-support {
type isis-pics:support; type isis-pics:support;
description description
"Support of the SRMS Preference sub-tlv."; "Support of the SRMS Preference sub-tlv (Type 24).";
} }
} }
augment "/isis-pics:isis-pics/isis-pics:isis-pics-mptlv" augment "/isis-pics:isis-pics/isis-pics:isis-pics-mptlv"
{ {
description description
"Augment isis-pics-mptlv container with the TLVs defined "Augment isis-pics-mptlv container with the tlvs defined
in RFC 8667."; in RFC 8667.";
leaf sid-label-binding-support { leaf sid-label-binding-support {
type isis-pics:support; type isis-pics:support;
description description
"MP-TLV support of Segment Identifier/Label Binding TLV "MP-TLV support of sid/label binding tlv (Type 149).";
(type 149).";
} }
leaf mt-sid-label-binding-support { leaf mt-sid-label-binding-support {
type isis-pics:support; type isis-pics:support;
description description
"MP-TLV support of Multi-Topology Segment Identifier/Label "MP-TLV support of multi-topology sid/label
Binding TLV(type 150)."; binding tlv (Type 150).";
} }
} }
} }
<CODE ENDS> <CODE ENDS>
5. Security Considerations 5. Security Considerations
The YANG modules specified in this document define a schema for data The YANG modules specified in this document define a schema for data
that is designed to be accessed via network management protocols such that is designed to be accessed via network management protocols such
as NETCONF [RFC6241] or RESTCONF [RFC8040]. The lowest NETCONF layer as NETCONF [RFC6241] or RESTCONF [RFC8040]. The lowest NETCONF layer
skipping to change at page 10, line 17 skipping to change at page 13, line 43
Extensions for Segment Routing", RFC 8667, Extensions for Segment Routing", RFC 8667,
DOI 10.17487/RFC8667, December 2019, DOI 10.17487/RFC8667, December 2019,
<https://www.rfc-editor.org/info/rfc8667>. <https://www.rfc-editor.org/info/rfc8667>.
[ISO10589] ISO, "Intermediate system to Intermediate system routing [ISO10589] ISO, "Intermediate system to Intermediate system routing
information exchange protocol for use in conjunction with information exchange protocol for use in conjunction with
the Protocol for providing the Connectionless-mode Network the Protocol for providing the Connectionless-mode Network
Service (ISO 8473)", August 1987, <ISO/IEC 10589:2002>. Service (ISO 8473)", August 1987, <ISO/IEC 10589:2002>.
[I-D.qgp-lsr-isis-pics-yang] [I-D.qgp-lsr-isis-pics-yang]
Qu, Y., Ginsberg, L., and T. Przygienda, "YANG Model for Qu, Y., Ginsberg, L., Przygienda, A., and Y. Zhu, "YANG
IS-IS Protocol Implementation Conformance Statement Model for IS-IS Protocol Implementation Conformance
(PICS)", Work in Progress, Internet-Draft, draft-qgp-lsr- Statement (PICS)", Work in Progress, Internet-Draft,
isis-pics-yang-00, 22 October 2023, draft-qgp-lsr-isis-pics-yang-03, 9 May 2024,
<https://datatracker.ietf.org/doc/html/draft-qgp-lsr-isis- <https://datatracker.ietf.org/api/v1/doc/document/draft-
pics-yang-00>. qgp-lsr-isis-pics-yang/>.
9. Informative References 9. Informative References
[RFC8340] Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams", [RFC8340] Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams",
BCP 215, RFC 8340, DOI 10.17487/RFC8340, March 2018, BCP 215, RFC 8340, DOI 10.17487/RFC8340, March 2018,
<https://www.rfc-editor.org/info/rfc8340>. <https://www.rfc-editor.org/info/rfc8340>.
Authors' Addresses Authors' Addresses
Yingzhen Qu Yingzhen Qu
 End of changes. 33 change blocks. 
60 lines changed or deleted 193 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/