SIDR Operations Y. Liu Internet-Draft China Mobile Intended status: Standards Track C. Lin Expires: 5 June 2027 New H3C Technologies J. Roy HPE H. Wang Huawei Technologies J. Haas HPE H. Liu ZTE Corporation D. Ma ZDNS 2 December 2026 A YANG Data Model for Resource Public Key Infrastructure (RPKI) to Router Protocol draft-ietf-sidrops-rtr-yang-15 Abstract This document specifies a YANG data model for managing Resource Public Key Infrastructure (RPKI) to Router (RTR) protocol. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. 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." This Internet-Draft will expire on 5 June 2027. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. Liu, et al. Expires 5 June 2027 [Page 1] Internet-Draft YANG Data Model for RTR December 2026 This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://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 Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Terminology and Notation Conventions . . . . . . . . . . . . 3 2.1. Requirements Notation . . . . . . . . . . . . . . . . . . 3 2.2. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 2.3. Tree Diagrams . . . . . . . . . . . . . . . . . . . . . . 4 3. Data Model Overview . . . . . . . . . . . . . . . . . . . . . 4 4. RPKI-to-Router (RTR) YANG Module . . . . . . . . . . . . . . 5 4.1. Tree View . . . . . . . . . . . . . . . . . . . . . . . . 5 4.1.1. Overall Structure . . . . . . . . . . . . . . . . . . 5 4.1.2. RTR Session Structure . . . . . . . . . . . . . . . . 6 4.1.3. RTR Session State . . . . . . . . . . . . . . . . . . 10 4.2. YANG Module . . . . . . . . . . . . . . . . . . . . . . . 15 5. RPKI Table YANG Module . . . . . . . . . . . . . . . . . . . 33 5.1. Tree View . . . . . . . . . . . . . . . . . . . . . . . . 33 5.1.1. Overall Structure . . . . . . . . . . . . . . . . . . 33 5.1.2. VRP Table . . . . . . . . . . . . . . . . . . . . . . 34 5.1.3. Router Key Table . . . . . . . . . . . . . . . . . . 36 5.1.4. ASPA Table . . . . . . . . . . . . . . . . . . . . . 37 5.2. YANG Module . . . . . . . . . . . . . . . . . . . . . . . 38 6. Implementation Status . . . . . . . . . . . . . . . . . . . . 47 6.1. Juniper Networks (HPE) . . . . . . . . . . . . . . . . . 48 6.2. New H3C Technologies . . . . . . . . . . . . . . . . . . 49 7. Operational Considerations . . . . . . . . . . . . . . . . . 50 8. Security Considerations . . . . . . . . . . . . . . . . . . . 51 9. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 55 9.1. YANG Module Registration . . . . . . . . . . . . . . . . 55 9.2. IANA-Maintained YANG Modules Maintenance . . . . . . . . 56 9.2.1. PDU Type YANG Module . . . . . . . . . . . . . . . . 56 9.2.2. Error Type YANG Module . . . . . . . . . . . . . . . 57 10. References . . . . . . . . . . . . . . . . . . . . . . . . . 57 10.1. Normative References . . . . . . . . . . . . . . . . . . 57 10.2. Informative References . . . . . . . . . . . . . . . . . 60 Appendix A. IANA-Maintained PDU Type YANG Module . . . . . . . . 61 Appendix B. IANA-Maintained Error Type YANG Module . . . . . . . 64 Appendix C. Full Tree of RPKI to Router YANG Module . . . . . . 67 Appendix D. Full Tree of RPKI Table YANG Module . . . . . . . . 69 Appendix E. Usage Examples . . . . . . . . . . . . . . . . . . . 71 Liu, et al. Expires 5 June 2027 [Page 2] Internet-Draft YANG Data Model for RTR December 2026 E.1. RTR Session Configuration . . . . . . . . . . . . . . . . 71 E.2. VRP Table State . . . . . . . . . . . . . . . . . . . . . 72 E.3. ASPA Table State . . . . . . . . . . . . . . . . . . . . 74 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 74 Contributors . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 75 1. Introduction [RFC6810] and [RFC8210] describe a protocol to deliver Resource Public Key Infrastructure (RPKI) prefix origin data and router keys from a trusted cache server to a router, referred to as the RPKI-to- Router (RTR) protocol. [I-D.ietf-sidrops-8210bis] describes version 2 of the RTR protocol, which adds a new Autonomous System Provider Authorization (ASPA) PDU type. This document defines a YANG [RFC7950] data model for managing RTR protocol ([RFC6810], [RFC8210], and [I-D.ietf-sidrops-8210bis]). 2. Terminology and Notation Conventions 2.1. Requirements Notation 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 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. 2.2. Terminology The following terms are defined in [RFC7950] and are not redefined here: * augment * data model * data node * module * namespace Liu, et al. Expires 5 June 2027 [Page 3] Internet-Draft YANG Data Model for RTR December 2026 2.3. Tree Diagrams Tree diagrams used in this document follow the notation defined in [RFC8340]. 3. Data Model Overview This document defines two IETF YANG modules: "ietf-rpki-rtr" (Section 4) and "ietf-rpki-table" (Section 5). The document also creates two IANA-maintained YANG modules: "iana-rpki-pdu" (Appendix A) and "iana-rpki-error" (Appendix B). The "ietf-rpki-rtr" YANG module provides the methods for managing RTR protocol. It includes: * Connectivity parameters such as RPKI cache server IP address and destination port number. * Session parameters such as refresh interval, retry interval, expire interval, and hold interval. * Session status and statistics such as session ID, serial number, and number of received and transmitted messages. The "ietf-rpki-table" YANG module provides the methods for managing records of RTR protocol and the corresponding state hash, which is a hash value used in the Canonical Cache Representation (CCR) content [I-D.ietf-sidrops-rpki-ccr]. It includes: * Validated ROA Payload (VRP) records, * Router Key records, * ASPA records, and * CCR state hash, which is optional and is used to verify the integrity and consistency of RPKI data originating from the RPKI cache. The IANA-maintained "iana-rpki-pdu" YANG module exposes the IANA "rpki-rtr-pdu" registry ([IANA-RPKI-PDU]) as the enumeration type "rpki-pdu-type". It is imported by "ietf-rpki-rtr", which uses "rpki-pdu-type" as the key of the "pdu-counter" list inside the "pdu- counters" container. Liu, et al. Expires 5 June 2027 [Page 4] Internet-Draft YANG Data Model for RTR December 2026 The IANA-maintained "iana-rpki-error" YANG module exposes the IANA "rpki-rtr-error" registry ([IANA-RPKI-ERROR]) as the enumeration type "rpki-error-type". It is imported by "ietf-rpki-rtr", which uses "rpki-error-type" as the key of the "error-pdu-counter" list inside the "error-pdu-counters" container. The "ietf-rpki-rtr" module defines the following YANG features (Section 5.6.2 of [RFC7950]) to make portions of the data model conditional: the 'router-key' feature indicates support for Router Key records and the 'aspa' feature indicates support for ASPA records. The "ietf-rpki-table" module imports these features to make its record tables conditional. Support for Validated ROA Payload (VRP) records is mandatory and is not conditioned by a feature; the corresponding VRP data nodes are therefore always present. 4. RPKI-to-Router (RTR) YANG Module 4.1. Tree View The full tree of the "ietf-rpki-rtr" YANG module is provided in Appendix C. The following subsections provide the subtree structures. 4.1.1. Overall Structure The overall tree structure of the "ietf-rpki-rtr" YANG module is shown in Figure 1. The "ietf-rpki-rtr" YANG module augments the core routing YANG module "ietf-routing" specified in [RFC8349] for managing RTR protocol sessions. Specifically, this YANG module augments "/rt:routing/ rt:control-plane-protocols/rt:control-plane-protocol". Liu, et al. Expires 5 June 2027 [Page 5] Internet-Draft YANG Data Model for RTR December 2026 module: ietf-rpki-rtr augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol: +--rw rpki-rtr +--rw sessions +--rw session* [server-address] +--rw server-address inet:ip-address +--rw server-port? inet:port-number +--rw local-address? union +--rw local-port? inet:port-number +--rw enabled? boolean +--rw preference? uint32 +--rw server-description? string +--rw reconnect-interval? uint32 +--ro session-state? enumeration +--rw enable-authentication? boolean +--rw authentication | ... +--rw vrp-limit | ... +--rw aspa-limit {aspa}? | ... +--ro statistics | ... +--ro connection-data | ... +--rw protocol-data | ... +--ro pdu-counters | ... +--ro error-pdu-counters ... Figure 1: Overall RPKI-to-Router (RTR) Tree Structure The "ietf-rpki-rtr" YANG module has a root container 'rpki-rtr', which has a subcontainer 'sessions'. The container 'sessions' contains a list 'session', where each entry represents a session configuration and state to a specific RPKI cache server. 4.1.2. RTR Session Structure The RTR session structure for the list 'session' is shown in Figure 2. Liu, et al. Expires 5 June 2027 [Page 6] Internet-Draft YANG Data Model for RTR December 2026 module: ietf-rpki-rtr augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol: +--rw rpki-rtr +--rw sessions +--rw session* [server-address] +--rw server-address inet:ip-address +--rw server-port? inet:port-number +--rw local-address? union +--rw local-port? inet:port-number +--rw enabled? boolean +--rw preference? uint32 +--rw server-description? string +--rw reconnect-interval? uint32 +--rw enable-authentication? boolean +--rw authentication | ... +--rw vrp-limit | ... +--rw aspa-limit {aspa}? | ... +--rw protocol-data | ... Figure 2: RTR Session Configuration Subtree Structure The data nodes for the list 'session' are described as follows: 'server-address': Indicates the IP address of the RPKI cache server. 'server-port': Indicates the port number that the server listens on. 'local-address': Indicates the source IP address used when initiating a RTR session connection locally. 'local-port': Indicates the source port number used when initiating a RTR session connection locally. 'enabled': Indicates the management switch (true/false) for the RTR session. 'preference': Indicates the priority for connecting to the RPKI cache server. 'server-description': Indicates the description information for the RTR session. 'reconnect-interval': Indicates the reconnection interval, in Liu, et al. Expires 5 June 2027 [Page 7] Internet-Draft YANG Data Model for RTR December 2026 minutes, after a session disconnection. 'enable-authentication': Indicates the switch (true/false) to enable connection authentication for the RTR session. 'authentication': Indicates the information of connection authentication for the RTR session, as shown in Figure 3. module: ietf-rpki-rtr augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol: +--rw rpki-rtr +--rw sessions +--rw session* [server-address] ... +--rw authentication | +--rw (option)? | +--:(md5) | | +--rw md5-password? ianach:crypt-hash | +--:(ssh) | | +--rw client-identity | | | +--rw username? string | | | +--rw public-key! | | | {client-ident-publickey}? | | | +--rw password! | | | {client-ident-password}? | | | +--rw hostbased! | | | {client-ident-hostbased}? | | | +--rw none? empty {client-ident-none}? | | | +--rw certificate! | | | {sshcmn:ssh-x509-certs}? | | +--rw server-authentication | | | +--rw ssh-host-keys! | | | +--rw ca-certs! {sshcmn:ssh-x509-certs}? | | | +--rw ee-certs! {sshcmn:ssh-x509-certs}? | | +--rw transport-params | | | {sshcmn:transport-params}? | | +--rw keepalives! {ssh-client-keepalives}? | | +--rw max-wait? uint16 | | +--rw max-attempts? uint8 | +--:(tcp-ao-keychain) | +--rw keychain-name? key-chain:key-chain-ref +--rw vrp-limit | ... +--rw aspa-limit {aspa}? | ... Figure 3: RTR Session Authentication Subtree Structure Liu, et al. Expires 5 June 2027 [Page 8] Internet-Draft YANG Data Model for RTR December 2026 'vrp-limit' (Figure 4): Indicates the limit on the number of VRP records received from the RTR session. 'aspa-limit' (Figure 4): Indicates the limit on the number of ASPA records received from the RTR session. module: ietf-rpki-rtr augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol: +--rw rpki-rtr +--rw sessions +--rw session* [server-address] ... +--rw authentication | ... +--rw vrp-limit | +--rw max-number? uint64 | +--rw threshold-percentage? rt-types:percentage | +--rw over-threshold-action? identityref +--rw aspa-limit {aspa}? | +--rw max-number? uint64 | +--rw threshold-percentage? rt-types:percentage | +--rw over-threshold-action? identityref Figure 4: RTR Session Received Record Limit Subtree Structure As depicted in Figure 4, 'vrp-limit' and 'aspa-limit' have the same structure, both having a maximum number of records allowed to be received from an RTR session ('max-number'), threshold percentage for record maximum number ('threshold-percentage'), and a handling strategy when exceeding the record threshold ('over-threshold- action'). 'protocol-data': Indicates the protocol parameters of the RTR session. The related data nodes include the preferred protocol version ('preferred-protocol-version') and the intervals for refresh ('refresh-interval'), retry ('retry-interval'), expire ('expire-interval'), and hold ('hold-interval') timers, all in seconds, as shown in Figure 5. Liu, et al. Expires 5 June 2027 [Page 9] Internet-Draft YANG Data Model for RTR December 2026 module: ietf-rpki-rtr augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol: +--rw rpki-rtr +--rw sessions +--rw session* [server-address] ... +--rw protocol-data | +--rw preferred-protocol-version? uint8 | +--rw refresh-interval? uint32 | +--rw retry-interval? uint32 | +--rw expire-interval? uint32 | +--rw hold-interval? uint32 | ... ... Figure 5: RTR Session Protocol Data Configuration Subtree Structure 4.1.3. RTR Session State The RTR session state structure for the list 'session' is shown in Figure 6. module: ietf-rpki-rtr augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol: +--rw rpki-rtr +--rw sessions +--rw session* [server-address] +--ro session-state? enumeration +--ro statistics | ... +--ro connection-data | ... +--rw protocol-data | ... +--ro pdu-counters | ... +--ro error-pdu-counters ... Figure 6: RTR Session State Subtree Structure The state data nodes for the list 'session' are described as follows: 'session-state': Indicates the connection status of the RTR session. 'statistics': Indicates the statistics of RPKI records or messages Liu, et al. Expires 5 June 2027 [Page 10] Internet-Draft YANG Data Model for RTR December 2026 received from the server of the RTR session, as shown in Figure 7. module: ietf-rpki-rtr augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol: +--rw rpki-rtr +--rw sessions +--rw session* [server-address] ... +--ro statistics | +--ro total-vrp-records? yang:zero-based-counter64 | +--ro ipv4-vrp-records? yang:zero-based-counter64 | +--ro ipv6-vrp-records? yang:zero-based-counter64 | +--ro router-key-records? yang:zero-based-counter64 | | {router-key}? | +--ro aspa-records? yang:zero-based-counter64 | | {aspa}? | +--ro in-total-messages? yang:zero-based-counter64 | +--ro out-total-messages? yang:zero-based-counter64 | +--ro discontinuity-time? yang:date-and-time +--ro connection-data | ... +--rw protocol-data | ... +--ro pdu-counters | ... +--ro error-pdu-counters ... Figure 7: RTR Session Statistics Subtree Structure 'connection-data': Indicates the state information relating to the session connection with the RPKI cache server, as shown in Figure 8. Liu, et al. Expires 5 June 2027 [Page 11] Internet-Draft YANG Data Model for RTR December 2026 module: ietf-rpki-rtr augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol: +--rw rpki-rtr +--rw sessions +--rw session* [server-address] ... +--ro statistics | ... +--ro connection-data | +--ro flaps? uint32 | +--ro last-session-up-down? yang:date-and-time | +--ro last-update-sync? yang:date-and-time | +--ro last-full-sync? yang:date-and-time | +--ro last-serial-query? yang:date-and-time | +--ro last-reset-query? yang:date-and-time | +--ro last-eod-received? yang:date-and-time | +--ro last-config-change? yang:date-and-time | +--ro last-error? yang:date-and-time | +--ro last-connection-error? yang:date-and-time | +--ro last-connection? yang:date-and-time | +--ro error-reason? string +--rw protocol-data | ... +--ro pdu-counters | ... +--ro error-pdu-counters ... Figure 8: RTR Session Connection Data Subtree Structure 'protocol-data': Indicates the state parameters of the RTR protocol of the session. The state parameters include the negotiated protocol version ('protocol-version'), the scheduled time points for refresh ('refresh-time'), response ('response-time'), record lifetime ('record-lifetime'), and hold ('hold-time'), as well as the session identifier ('session-id') and serial numbers ('serial- full' and 'serial-incremental'), as shown in Figure 9. The configurable protocol parameters in 'protocol-data' are described in Section 4.1.2. Liu, et al. Expires 5 June 2027 [Page 12] Internet-Draft YANG Data Model for RTR December 2026 module: ietf-rpki-rtr augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol: +--rw rpki-rtr +--rw sessions +--rw session* [server-address] ... +--ro statistics | ... +--ro connection-data | ... +--rw protocol-data | ... | +--ro protocol-version? uint8 | +--ro refresh-time? yang:date-and-time | +--ro response-time? yang:date-and-time | +--ro record-lifetime? yang:date-and-time | +--ro hold-time? yang:date-and-time | +--ro session-id? uint16 | +--ro serial-full? uint32 | +--ro serial-incremental? uint32 +--ro pdu-counters | ... +--ro error-pdu-counters ... Figure 9: RTR Session Protocol Data State Subtree Structure 'pdu-counters': Reports the send and receive statistics of various types of RTR PDUs, as shown in Figure 10. Liu, et al. Expires 5 June 2027 [Page 13] Internet-Draft YANG Data Model for RTR December 2026 module: ietf-rpki-rtr augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol: +--rw rpki-rtr +--rw sessions +--rw session* [server-address] ... +--ro statistics | ... +--ro connection-data | ... +--rw protocol-data | ... +--ro pdu-counters | +--ro pdu-counter* [pdu] | | +--ro pdu rpki-pdu:rpki-pdu-type | | +--ro counter? yang:zero-based-counter64 | +--ro discontinuity-time? yang:date-and-time +--ro error-pdu-counters ... Figure 10: RTR Session PDU Counters Subtree Structure 'error-pdu-counters': Reports counters of Error Report PDUs exchanged with the RPKI cache server, by error type, as shown in Figure 11. module: ietf-rpki-rtr augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol: +--rw rpki-rtr +--rw sessions +--rw session* [server-address] ... +--ro statistics | ... +--ro connection-data | ... +--rw protocol-data | ... +--ro pdu-counters | ... +--ro error-pdu-counters +--ro error-pdu-counter* [error] | +--ro error rpki-error:rpki-error-type | +--ro counter? yang:zero-based-counter64 +--ro discontinuity-time? yang:date-and-time Liu, et al. Expires 5 June 2027 [Page 14] Internet-Draft YANG Data Model for RTR December 2026 Figure 11: RTR Session Error PDU Counters Subtree Structure 4.2. YANG Module This YANG module has normative references to [RFC6810], [RFC8177], [RFC8210], [RFC8294], [RFC8343], [RFC8349], [RFC9644], [RFC9911], [I-D.ietf-sidrops-8210bis], [I-D.ietf-sidrops-rpki-ccr], [IANA_CH_URL], [IANA-RPKI-ERROR], and [IANA-RPKI-PDU]. Note to the RFC Editor: "RFC XXXX" in this YANG module must be replaced by the publication version of this document, "RFC ZZZZ" must be replaced by the RFC number assigned to [I-D.ietf-sidrops-8210bis], and "RFC YYYY" with the RFC number assigned to [I-D.ietf-sidrops-rpki-ccr]. This note is to be removed in the final version of the document. file "ietf-rpki-rtr@2026-11-25.yang" module ietf-rpki-rtr { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-rpki-rtr"; prefix rpki-rtr; import ietf-yang-types { prefix yang; reference "RFC 9911: Common YANG Data Types, Section 3"; } import ietf-inet-types { prefix inet; reference "RFC 9911: Common YANG Data Types, Section 4"; } import ietf-routing { prefix rt; reference "RFC 8349: A YANG Data Model for Routing Management (NMDA Version)"; } import ietf-routing-types { prefix rt-types; reference "RFC 8294: Common YANG Data Types for the Routing Area"; } import iana-crypt-hash { prefix ianach; reference "https://www.iana.org/assignments/iana-crypt-hash"; } Liu, et al. Expires 5 June 2027 [Page 15] Internet-Draft YANG Data Model for RTR December 2026 import ietf-ssh-client { prefix sshc; reference "RFC 9644: YANG Groupings for SSH Clients and SSH Servers"; } import ietf-interfaces { prefix if; reference "RFC 8343: A YANG Data Model for Interface Management"; } import ietf-key-chain { prefix key-chain; reference "RFC 8177: YANG Data Model for Key Chains"; } import iana-rpki-pdu { prefix rpki-pdu; reference "https://www.iana.org/assignments/iana-rpki-pdu"; } import iana-rpki-error { prefix rpki-error; reference "https://www.iana.org/assignments/iana-rpki-error"; } organization "IETF Secure Inter-Domain Routing Operations (SIDROPS) Working Group"; contact "WG Web: https://datatracker.ietf.org/wg/sidrops WG List: SIDROPS Editor: Yisong Liu Editor: Changwang Lin Editor: Haibo Wang Editor: Jishnu Roy Editor: Jeffrey Haas Editor: Hongwei Liu Editor: Di Ma "; description Liu, et al. Expires 5 June 2027 [Page 16] Internet-Draft YANG Data Model for RTR December 2026 "This module describes a YANG module for the Resource Public Key Infrastructure (RPKI) to Router (RTR) protocol management. 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. Copyright (c) 2026 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Revised BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info). All revisions of IETF and IANA published modules can be found at the YANG Parameters registry group (https://www.iana.org/assignments/yang-parameters). This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; revision 2026-11-25 { description "Initial Version"; reference "RFC XXXX: A YANG Data Model for Resource Public Key Infrastructure (RPKI) to Router Protocol"; } feature router-key { description "The implementation supports Router Key records received from the RPKI cache server."; reference "RFC 8210: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 1"; } feature aspa { description "The implementation supports Autonomous System Provider Authorization (ASPA) records received from the RPKI cache server."; Liu, et al. Expires 5 June 2027 [Page 17] Internet-Draft YANG Data Model for RTR December 2026 reference "RFC ZZZZ: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 2"; } feature ccr { description "The implementation supports Canonical Cache Representation (CCR) state hashing for records received from the RPKI cache server."; reference "RFC YYYY: A Profile for Resource Public Key Infrastructure (RPKI) Canonical Cache Representation (CCR)"; } identity rpki-rtr { base rt:routing-protocol; description "RTR protocol."; } identity over-threshold-action { description "Base identity for the action to be taken when the number of received records of the corresponding type exceeds the threshold defined by 'max-number' and 'threshold-percentage'."; } identity alert-only { base over-threshold-action; description "Generates alert messages when the threshold is exceeded, without discarding records or resetting the session. The specific mechanism used to generate and deliver the alert (e.g., a log entry, a syslog message, a NETCONF or RESTCONF notification, or any other alarm or reporting mechanism supported by the implementation) is a matter for each implementation."; } identity discard { base over-threshold-action; description "Discards the excess records."; } Liu, et al. Expires 5 June 2027 [Page 18] Internet-Draft YANG Data Model for RTR December 2026 identity reconnect { base over-threshold-action; description "Disconnects from the RPKI cache server and tries to reconnect after the reconnection timer expires."; } identity idle-forever { base over-threshold-action; description "Disconnects from the RPKI cache server forever."; } grouping records-limit { description "Limit of records that can be received from an RPKI cache server."; leaf max-number { type uint64; description "Indicates the maximum number of records that can be received from the RPKI cache server."; } leaf threshold-percentage { type rt-types:percentage; units "percent"; description "Specifies the threshold percentage for record maximum number. When the number of records of the corresponding type received from the RPKI cache server reaches this percentage of 'max-number', the action configured in 'over-threshold-action' is applied. If this leaf is not configured, the record count threshold is not applied and only 'max-number' is enforced."; } leaf over-threshold-action { type identityref { base over-threshold-action; } description "The action to be taken when the record count for the corresponding record type exceeds the threshold derived from 'max-number' and 'threshold-percentage'. Liu, et al. Expires 5 June 2027 [Page 19] Internet-Draft YANG Data Model for RTR December 2026 When set to 'alert-only', the implementation generates an alert as described for that identity. How the alert is generated and delivered is implementation-specific and outside the scope of this module. New actions can be added by deriving new identities from the base 'over-threshold-action' identity without modifying this module."; } } augment "/rt:routing/rt:control-plane-protocols/" + "rt:control-plane-protocol" { when "derived-from-or-self(rt:type, 'rpki-rtr:rpki-rtr')" { description "This augmentation is valid for a routing protocol instance of RTR."; } description "RTR protocol augmentation of the 'ietf-routing' module control plane protocol."; container rpki-rtr { description "Data nodes for the RTR protocol."; container sessions { description "Parameters of RPKI sessions to cache servers."; list session { key "server-address"; description "Each entry contains parameters for an RPKI session identified by the 'server-address' key."; leaf server-address { type inet:ip-address; mandatory true; description "The IP address of the RPKI cache server resembling a session."; } leaf server-port { type inet:port-number; default 323; description "The remote port number for the connection to the RPKI cache server."; } leaf local-address { type union { Liu, et al. Expires 5 June 2027 [Page 20] Internet-Draft YANG Data Model for RTR December 2026 type inet:ip-address; type if:interface-ref; } description "The local IP (either IPv4 or IPv6) address to use for the connection to the RPKI cache server. This may be expressed as either an IP address or reference to the name of an interface. The local address must belong to the same address family as the 'server-address' leaf (both IPv4 or both IPv6). A mismatch between the two address families is treated as an anomaly: the connection cannot be established, and the implementation should log the condition (and raise an alarm where supported) and should not treat the session as operational until the configuration is corrected."; } leaf local-port { type inet:port-number; description "The local port number for the connection to the RPKI cache server. If this leaf is not configured, no default value is assumed: the implementation lets the local transport stack select an ephemeral source port for the connection."; } leaf enabled { type boolean; default "true"; description "Whether the RPKI cache server is enabled (when set to 'true') or disabled (when set to 'false')."; } leaf preference { type uint32; description "The router's preference to connect to that cache. The lower the value, the more preferred."; reference "RFC 8210: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 1, Section 10"; } leaf server-description { type string; Liu, et al. Expires 5 June 2027 [Page 21] Internet-Draft YANG Data Model for RTR December 2026 description "Records a textual description of the RPKI cache server."; } leaf reconnect-interval { type uint32 { range "1..30000"; } units "minutes"; description "Time interval for the reconnection timer. The value range '1..30000' is defined by this module, not by the RTR protocol itself. The reconnection timer is related to the retry behavior of the RTR protocol."; reference "RFC 8210: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 1, Section 6"; } leaf session-state { type enumeration { enum idle { description "The session is down."; } enum connect { description "The session is waiting for the underlying transport session to be established."; } enum establish { description "The session is up."; } enum exchange-incremental { description "Incremental update of records in progress."; } enum exchange-full { description "Full update of records in progress."; } } config false; description "The session state. Liu, et al. Expires 5 June 2027 [Page 22] Internet-Draft YANG Data Model for RTR December 2026 These states are defined by this module and are not enumerated in the RTR protocol specification itself. Their semantics correspond to the RTR protocol sequences (start/restart, incremental update, and full update) described in RFC 8210, Section 8."; reference "RFC 8210: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 1, Section 8"; } leaf enable-authentication { type boolean; default "false"; description "Specifies whether the session is secured. It is enabled when set to 'true' and disabled when set to 'false'. Authentication is disabled by default because there is no single transport that provides authentication and integrity protection on all platforms, so the protocol requires unprotected transport to be implemented."; reference "RFC 8210: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 1, Section 9"; } container authentication { when "../enable-authentication = 'true'"; description "Container for describing how a particular session is to be secured."; choice option { description "Choice for session securing methods."; case md5 { leaf md5-password { type ianach:crypt-hash; description "The password for MD5 authentication."; } description "Uses TCP-MD5 to secure the session."; } case ssh { uses sshc:ssh-client-grouping { Liu, et al. Expires 5 June 2027 [Page 23] Internet-Draft YANG Data Model for RTR December 2026 reference "RFC 9644: YANG Groupings for SSH Clients and SSH Servers"; } description "Uses SSH to secure the session."; } case tcp-ao-keychain { leaf keychain-name { type key-chain:key-chain-ref; description "Name of key chain."; reference "RFC 8177: YANG Data Model for Key Chains"; } description "Uses key-chain to secure the session."; } } } container vrp-limit { description "Limit of Validated ROA Payload (VRP) records that can be received from the RPKI cache server."; uses records-limit; } container aspa-limit { if-feature aspa; description "Limit of Autonomous System Provider Authorization (ASPA) records that can be received from the RPKI cache server."; uses records-limit; } container statistics { config false; description "Statistics of the RPKI cache server."; leaf total-vrp-records { type yang:zero-based-counter64; description "The total number of Validated ROA Payloads received from the RPKI cache server."; } leaf ipv4-vrp-records { type yang:zero-based-counter64; description "The number of Validated ROA Payloads for IPv4 Liu, et al. Expires 5 June 2027 [Page 24] Internet-Draft YANG Data Model for RTR December 2026 prefixes received from the RPKI cache server."; } leaf ipv6-vrp-records { type yang:zero-based-counter64; description "The number of Validated ROA Payloads for IPv6 prefixes received from the RPKI cache server."; } leaf router-key-records { if-feature router-key; type yang:zero-based-counter64; description "The number of Router Keys received from the RPKI cache server."; } leaf aspa-records { if-feature aspa; type yang:zero-based-counter64; description "The number of ASPAs received from the RPKI cache server."; } leaf in-total-messages { type yang:zero-based-counter64; description "The total number of messages received from the RPKI cache server."; } leaf out-total-messages { type yang:zero-based-counter64; description "The total number of messages transmitted to the RPKI cache server."; } leaf discontinuity-time { type yang:date-and-time; description "The time on the most recent occasion at which any one or more of this RPKI-RTR session's counters suffered a discontinuity. If no such discontinuities have occurred since the last re-initialization of the session, then this node contains the time when the session was last re-initialized or the session was established."; } } container connection-data { Liu, et al. Expires 5 June 2027 [Page 25] Internet-Draft YANG Data Model for RTR December 2026 config false; description "State information relating to the connection with the RPKI cache server. These timestamps in this container can be correlated with the 'refresh-interval' and 'expire-interval' in the 'protocol-data' container to detect anomalies: for example, if no new End of Data is received within the 'refresh-interval', the data have not been refreshed, and they must not be used past the 'expire-interval'."; reference "RFC 8210: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 1, Section 6"; leaf flaps { type uint32; description "Count for number of flaps observed on the session."; } leaf last-session-up-down { type yang:date-and-time; description "The date and time the RPKI-RTR session last transitioned into or out of the 'establish' state of the 'session-state' leaf (i.e., the session coming up or going down)."; reference "RFC 6810: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Section 6"; } leaf last-update-sync { type yang:date-and-time; description "The date and time of the last serial sync with the cache server."; } leaf last-full-sync { type yang:date-and-time; description "The date and time of the last reset sync with the cache server."; } leaf last-serial-query { type yang:date-and-time; description Liu, et al. Expires 5 June 2027 [Page 26] Internet-Draft YANG Data Model for RTR December 2026 "The date and time the last serial query was sent to the cache server."; } leaf last-reset-query { type yang:date-and-time; description "The date and time the last reset query was sent to the cache server."; } leaf last-eod-received { type yang:date-and-time; description "The date and time the last End of Data (EOD) was received."; } leaf last-config-change { type yang:date-and-time; description "The date and time of the last host, port, VRF or local interface change."; } leaf last-error { type yang:date-and-time; description "The date and time of the last protocol error sent to or received from the cache server."; } leaf last-connection-error { type yang:date-and-time; description "The date and time of the last connection error to the cache server."; } leaf last-connection { type yang:date-and-time; description "The date and time of the last connection to the cache server."; } leaf error-reason { type string; description "A human-readable reason for the most recent connection error, as recorded by the local implementation. This leaf is updated whenever a connection error occurs, and it holds the reason for the last such error; it is not present when no connection error has been Liu, et al. Expires 5 June 2027 [Page 27] Internet-Draft YANG Data Model for RTR December 2026 observed since the session was established or last reset."; } } container protocol-data { description "Parameters related to the RTR protocol."; leaf preferred-protocol-version { type uint8; description "The preferred version number of the RTR protocol to be used when establishing the session. If not configured, the router will use its default protocol version."; } leaf refresh-interval { type uint32 { range "1..86400"; } units "seconds"; default 3600; description "Number of seconds a router waits in between sending periodic serial queries to the RPKI cache server. If configured, this value overrides the value announced by the cache server in the End of Data PDU."; reference "RFC ZZZZ: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 2, Section 6"; } leaf retry-interval { type uint32 { range "1..7200"; } units "seconds"; default 600; description "Number of seconds between poll error and cache server poll. If configured, this value overrides the value announced by the cache server in the End of Data PDU."; reference "RFC ZZZZ: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 2, Section 6"; } Liu, et al. Expires 5 June 2027 [Page 28] Internet-Draft YANG Data Model for RTR December 2026 leaf expire-interval { type uint32 { range "600..172800"; } units "seconds"; default 7200; description "Number of seconds to retain data synced from cache server. If configured, this value overrides the value announced by the cache server in the End of Data PDU."; reference "RFC ZZZZ: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 2, Section 6"; } leaf hold-interval { type uint32; units "seconds"; description "Maximum number of seconds to wait without receiving any RTR PDUs from the cache server before tearing down the RTR session. Any incoming PDU resets this timer. The hold-interval value MUST be at least twice the configured refresh-interval. If not configured, implementations should choose a value that is at least twice the configured refresh-interval. The rule that the hold-interval must be at least twice the refresh-interval is defined by this module, not by the RTR protocol itself. The notion of tearing down a session that is no longer exchanging PDUs is related to the handling of a transport stall; see RFC ZZZZ, Section 9."; reference "RFC ZZZZ: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 2, Section 9"; } leaf protocol-version { type uint8; config false; description "The negotiated version number of the RTR protocol currently in use for this session."; } Liu, et al. Expires 5 June 2027 [Page 29] Internet-Draft YANG Data Model for RTR December 2026 leaf refresh-time { type yang:date-and-time; config false; description "The date and time when the next refresh of RPKI data from the RPKI cache server will occur."; } leaf response-time { type yang:date-and-time; config false; description "The date and time when a response to a serial or reset query to the RPKI cache server is expected."; } leaf record-lifetime { type yang:date-and-time; config false; description "The date and time when the records received from the RPKI cache server will expire."; } leaf hold-time { type yang:date-and-time; config false; description "The date and time when the RTR session will be torn down if no RTR PDUs are received from the cache server."; } leaf session-id { type uint16; config false; description "When a cache server is started, it generates a Session ID to identify the instance of the cache and to bind it to the sequence of Serial Numbers that cache instance will generate."; reference "RFC 6810: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Section 5.1 RFC 8210: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 1, Section 5.1"; } leaf serial-full { type uint32; config false; description Liu, et al. Expires 5 June 2027 [Page 30] Internet-Draft YANG Data Model for RTR December 2026 "A 32-bit strictly increasing unsigned integer which wraps from 2^32-1 to 0. It denotes the logical version of a cache. It resembles the latest full query."; reference "RFC 6810: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Section 5.4 RFC 8210: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 1, Section 5.4"; } leaf serial-incremental { type uint32; config false; description "A 32-bit strictly increasing unsigned integer which wraps from 2^32-1 to 0. It denotes the logical version of a cache. It resembles the latest incremental query."; reference "RFC 6810: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Section 5.3 RFC 8210: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 1, Section 5.3"; } } container pdu-counters { config false; description "Counters of RTR PDUs exchanged with the RPKI cache server, by PDU type."; list pdu-counter { key "pdu"; description "One entry per RTR PDU type. Each instance reports the number of PDUs of the given type exchanged with the RPKI cache server. Keys are taken from the IANA 'rpki-rtr-pdu' registry."; leaf pdu { type rpki-pdu:rpki-pdu-type; description "The RTR PDU type this counter applies to."; } leaf counter { type yang:zero-based-counter64; description Liu, et al. Expires 5 June 2027 [Page 31] Internet-Draft YANG Data Model for RTR December 2026 "Number of PDUs of the PDU type identified by the 'pdu' key exchanged with the RPKI cache server."; } } leaf discontinuity-time { type yang:date-and-time; description "The time on the most recent occasion at which any one or more of this RPKI-RTR session's counters suffered a discontinuity. If no such discontinuities have occurred since the last re-initialization of the session, then this node contains the time when the session was last re-initialized or the session was established."; } } container error-pdu-counters { config false; description "Counters of Error Report PDUs exchanged with the RPKI cache server, by error type."; list error-pdu-counter { key "error"; description "One entry per Error Report PDU error type. Each instance reports the number of Error Report PDUs of the given error type exchanged with the RPKI cache server. Keys are taken from the IANA 'rpki-rtr-error' registry."; leaf error { type rpki-error:rpki-error-type; description "The Error Report PDU error type this counter applies to."; } leaf counter { type yang:zero-based-counter64; description "Number of Error Report PDUs of the error type identified by the 'error' key exchanged with the RPKI cache server."; } } leaf discontinuity-time { type yang:date-and-time; description "The time on the most recent occasion at which any Liu, et al. Expires 5 June 2027 [Page 32] Internet-Draft YANG Data Model for RTR December 2026 one or more of this RPKI-RTR session's counters suffered a discontinuity. If no such discontinuities have occurred since the last re-initialization of the session, then this node contains the time when the session was last re-initialized or the session was established."; } } } } } } } 5. RPKI Table YANG Module 5.1. Tree View The full tree of the "ietf-rpki-table" YANG module is provided in Appendix D. The following subsections list the subtree structures. 5.1.1. Overall Structure The overall tree structure of the "ietf-rpki-table" YANG module is shown in Figure 12. The "ietf-rpki-table" YANG module also augments the core routing YANG module "ietf-routing" specified in [RFC8349]. Specifically, this YANG module augments "/rt:routing". module: ietf-rpki-table augment /rt:routing: +--ro vrp-tables | +--ro vrp-table* [name] | ... +--ro router-key-tables {rpki-rtr:router-key}? | +--ro router-key-table* [name] | ... +--ro aspa-tables {rpki-rtr:aspa}? +--ro aspa-table* [name] ... Figure 12: Overall RPKI Table Tree Structure The "ietf-rpki-table" YANG module has three containers: 'vrp-tables', 'router-key-tables', and 'aspa-tables'. Liu, et al. Expires 5 June 2027 [Page 33] Internet-Draft YANG Data Model for RTR December 2026 The 'vrp-tables' container lists the VRP records received from all RPKI cache servers, and each list 'vrp-table' identifies a VRP record table received from a RPKI cache server. The 'router-key-tables' container lists the Router Key records received from all RPKI cache servers, and each list 'router-key- table' identifies a Router Key record table received from a RPKI cache server. The 'aspa-tables' container lists the ASPA records received from all RPKI cache servers, and each list 'aspa-table' identifies an ASPA record table received from a RPKI cache server. 5.1.2. VRP Table The structure of the list 'vrp-table' is shown in Figure 13. Liu, et al. Expires 5 June 2027 [Page 34] Internet-Draft YANG Data Model for RTR December 2026 module: ietf-rpki-table augment /rt:routing: +--ro vrp-tables | +--ro vrp-table* [name] | +--ro name string | +--ro ccr-roapayloadstate-hash? ccr-hash {rpki-rtr:ccr}? | +--ro ipv4 | | +--ro vrps | | | +--ro vrp* [prefix max-len asn source] | | | +--ro prefix inet:ipv4-prefix | | | +--ro max-len ipv4-prefix-length | | | +--ro asn inet:as-number | | | +--ro source union | | +--ro total-records? yang:gauge32 | | +--ro records-added? yang:counter64 | | +--ro records-deleted? yang:counter64 | | +--ro discontinuity-time? yang:date-and-time | +--ro ipv6 | +--ro vrps | | +--ro vrp* [prefix max-len asn source] | | +--ro prefix inet:ipv6-prefix | | +--ro max-len ipv6-prefix-length | | +--ro asn inet:as-number | | +--ro source union | +--ro total-records? yang:gauge32 | +--ro records-added? yang:counter64 | +--ro records-deleted? yang:counter64 | +--ro discontinuity-time? yang:date-and-time +--ro router-key-tables {rpki-rtr:router-key}? | +--ro router-key-table* [name] | ... +--ro aspa-tables {rpki-rtr:aspa}? +--ro aspa-table* [name] ... Figure 13: RPKI VRP Table Subtree Structure The 'vrp-table' data nodes are described as follows: 'name': Indicates a name that uniquely identifies a VRP table among available VRP tables under /rt:routing. 'ccr-roapayloadstate-hash': Indicates the CCR state hash [I-D.ietf-sidrops-rpki-ccr] for the ROA payload. 'ipv4': Indicates detailed information and statistics of IPv4 VRP records in the VRP table. Liu, et al. Expires 5 June 2027 [Page 35] Internet-Draft YANG Data Model for RTR December 2026 This data node includes 'vrps', 'total-records', 'records-added', and 'records-deleted'. The 'vrps' indicates all IPv4 VRP records in the VRP table, and each list 'vrp' indicates an IPv4 VRP record, which includes the IPv4 prefix ('prefix'), the maximum IPv4 prefix length ('max-len'), the origin AS number of the IPv4 prefix ('asn'), and the source of the IPv4 VRP record ('source'). The 'total-records' indicates the total number of IPv4 VRP records. The 'records-added' indicates the number of IPv4 VRP records cumulatively added. The 'records-deleted' indicates the number of IPv4 VRP records cumulatively deleted. The 'discontinuity-time' indicates the time when the counter values most recently suffered a discontinuity. 'ipv6': Indicates detailed information and statistics of IPv6 VRP records in the VRP table. This data node has the same structure as the data node 'ipv4', except that it covers IPv6 addresses. 5.1.3. Router Key Table The structure of the list 'router-key-table' is shown in Figure 14. module: ietf-rpki-table augment /rt:routing: +--ro vrp-tables | +--ro vrp-table* [name] | ... +--ro router-key-tables {rpki-rtr:router-key}? | +--ro router-key-table* [name] | +--ro name string | +--ro ccr-routerkeystate-hash? ccr-hash {rpki-rtr:ccr}? | +--ro router-keys | +--ro router-key* [ski asn key server-address] | +--ro ski subject-key-id | +--ro asn inet:as-number | +--ro key binary | +--ro server-address inet:ip-address +--ro aspa-tables {rpki-rtr:aspa}? +--ro aspa-table* [name] ... Figure 14: RPKI Router Key Table Subtree Structure The 'router-key-table' data nodes are described as follows: 'name': Indicates the name of the Router Key table. Liu, et al. Expires 5 June 2027 [Page 36] Internet-Draft YANG Data Model for RTR December 2026 'ccr-routerkeystate-hash': Indicates the CCR state hash for the Router Key payload. 'router-keys': Indicates detailed information of Router Key records in the Router Key table. This data node only includes a list 'router-key', which contains the Subject Key Identifier (SKI) of the Router Key ('ski'), the AS number of the router which the Router Key belongs to ('asn'), the subjectPublicKeyInfo value of the Router Key (see Section 3.1.1 of [RFC8608]) ('key'), and the IP address of the RPKI cache server ('server-address'). 5.1.4. ASPA Table The structure of the list 'aspa-table' is shown in Figure 15. module: ietf-rpki-table augment /rt:routing: +--ro vrp-tables | +--ro vrp-table* [name] | ... +--ro router-key-tables {rpki-rtr:router-key}? | +--ro router-key-table* [name] | ... +--ro aspa-tables {rpki-rtr:aspa}? +--ro aspa-table* [name] +--ro name string +--ro ccr-aspapayloadstate-hash? ccr-hash {rpki-rtr:ccr}? +--ro aspa* [customer-asn] +--ro customer-asn inet:as-number +--ro server-address? inet:ip-address +--ro provider-asn* [asn] +--ro asn inet:as-number Figure 15: RPKI ASPA Table Subtree Structure The 'aspa-table' data nodes are described as follows: 'name': Indicates the name of the ASPA table. 'ccr-aspapayloadstate-hash': Indicates the CCR state hash for the ASPA payload. 'aspa': Indicates detailed information of ASPA records in the ASPA table. This data node includes a leaf 'customer-asn', a leaf 'server- Liu, et al. Expires 5 June 2027 [Page 37] Internet-Draft YANG Data Model for RTR December 2026 address', and a list 'provider-asn'. The 'customer-asn' indicates the AS number of a customer. The 'server-address' indicates the IP address of the RPKI cache server from which ASPA records are received. The list 'provider-asn' contains a leaf 'asn' which indicates the AS number of a provider of the customer. 5.2. YANG Module This YANG module has normative references to [RFC6487], [RFC8349], [RFC8608], [RFC9911], [I-D.ietf-sidrops-8210bis], and [I-D.ietf-sidrops-rpki-ccr]. Note to the RFC Editor: "RFC XXXX" in this YANG module must be replaced by the publication version of this document, "RFC YYYY" must be replaced by the publication version of [I-D.ietf-sidrops-rpki-ccr], and "RFC ZZZZ" must be replaced by the publication version of [I-D.ietf-sidrops-8210bis]. Please remove this note in the final version of the document. file "ietf-rpki-table@2026-11-25.yang" module ietf-rpki-table { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-rpki-table"; prefix rpki-table; import ietf-yang-types { prefix yang; reference "RFC 9911: Common YANG Data Types, Section 3"; } import ietf-inet-types { prefix inet; reference "RFC 9911: Common YANG Data Types, Section 4"; } import ietf-routing { prefix rt; reference "RFC 8349: A YANG Data Model for Routing Management (NMDA Version)"; } import ietf-rpki-rtr { prefix rpki-rtr; reference "RFC XXXX: A YANG Data Model for Resource Public Key Infrastructure (RPKI) to Router Protocol"; } Liu, et al. Expires 5 June 2027 [Page 38] Internet-Draft YANG Data Model for RTR December 2026 organization "IETF Secure Inter-Domain Routing Operations (SIDROPS) Working Group"; contact "WG Web: https://datatracker.ietf.org/wg/sidrops WG List: SIDROPS Editor: Yisong Liu Editor: Changwang Lin Editor: Haibo Wang Editor: Jishnu Roy Editor: Jeffrey Haas Editor: Hongwei Liu Editor: Di Ma "; description "This module describes a YANG module for managing the Resource Public Key Infrastructure (RPKI) data tables on a router, namely the Validated ROA Payload (VRP) tables, the Router Key tables, and the Autonomous System Provider Authorization (ASPA) tables that a router obtains and maintains from the RPKI cache server via the RPKI to Router (RTR) protocol. It augments the routing data model with these read-only tables and their statistics. 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. Copyright (c) 2026 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Revised BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info). All revisions of IETF and IANA published modules can be found Liu, et al. Expires 5 June 2027 [Page 39] Internet-Draft YANG Data Model for RTR December 2026 at the YANG Parameters registry group (https://www.iana.org/assignments/yang-parameters). This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; revision 2026-11-25 { description "Initial Version"; reference "RFC XXXX: A YANG Data Model for Resource Public Key Infrastructure (RPKI) to Router Protocol"; } typedef ipv4-prefix-length { type uint8 { range "0..32"; } description "IPv4 Prefix Length."; } typedef ipv6-prefix-length { type uint8 { range "0..128"; } description "IPv6 Prefix Length."; } typedef subject-key-id { type binary { length "20"; } description "Subject Key Identifier."; } typedef ccr-hash { type binary { length "32"; } description "Canonical Cache Representation (CCR) state hash. This represents a 256-bit SHA-256 hash of the canonical representation of RPKI data. Liu, et al. Expires 5 June 2027 [Page 40] Internet-Draft YANG Data Model for RTR December 2026 The hash provides a compact, verifiable representation of the complete state of RPKI validation data, enabling efficient synchronization and consistency verification between caches."; reference "RFC YYYY: A Profile for Resource Public Key Infrastructure (RPKI) Canonical Cache Representation (CCR)"; } grouping aspa-overall-records { description "ASPA records received from all RPKI cache servers."; reference "RFC ZZZZ: The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 2"; list aspa { key "customer-asn"; description "An entry for ASPA."; leaf customer-asn { type inet:as-number; description "The AS number of a customer."; } leaf server-address { type inet:ip-address; description "IP address of the RPKI cache server."; } list provider-asn { key "asn"; description "Providers of the customer."; leaf asn { type inet:as-number; description "The AS number of a provider."; } } } } grouping vrp-record-counters { description "Statistics on the number of Validated ROA Payload records held in a VRP table. They apply to both the IPv4 and IPv6 subtrees of the table."; leaf total-records { Liu, et al. Expires 5 June 2027 [Page 41] Internet-Draft YANG Data Model for RTR December 2026 type yang:gauge32; description "Total number of Validated ROA Payload records currently held. As a gauge, it reflects the current size of the table and increases or decreases as records are added or deleted; it is not a cumulative count."; } leaf records-added { type yang:counter64; description "Number of Validated ROA Payload records cumulatively added."; } leaf records-deleted { type yang:counter64; description "Number of Validated ROA Payload records cumulatively deleted."; } leaf discontinuity-time { type yang:date-and-time; description "The time on the most recent occasion at which any one or more of this table's counters suffered a discontinuity, e.g., when the counters were reset following a session resynchronization. If no such discontinuities have occurred since the last re-initialization of the RPKI-RTR session associated with this table, then this node contains the time when the session was last re-initialized or established."; } } augment "/rt:routing" { description "RPKI tables augmentation of ietf-routing module."; container vrp-tables { config false; description "List of tables containing Validated ROA Payloads received from all RPKI cache servers."; list vrp-table { key "name"; description "Table of Validated ROA Payloads received from a RPKI cache server."; leaf name { Liu, et al. Expires 5 June 2027 [Page 42] Internet-Draft YANG Data Model for RTR December 2026 type string; description "Name of the Validated ROA Payload table."; } leaf ccr-roapayloadstate-hash { if-feature rpki-rtr:ccr; type ccr-hash; description "CCR state hash for the ROA payload. This hash represents the canonical state of this specific ROA entry as defined in the CCR specification. It is optional and can be used to verify the integrity and consistency of ROA data originating from the RPKI cache."; reference "RFC YYYY: A Profile for Resource Public Key Infrastructure (RPKI) Canonical Cache Representation (CCR)"; } container ipv4 { description "Container for IPv4 Validated ROA Payloads table."; container vrps { config false; description "IPv4 Validated ROA Payloads received from the RPKI cache server."; list vrp { key "prefix max-len asn source"; description "An entry of IPv4 Validated ROA Payload."; leaf prefix { type inet:ipv4-prefix; description "The IPv4 prefix of the IPv4 Validated ROA Payload."; } leaf max-len { type ipv4-prefix-length; description "The maximum length of a more-specific IPv4 prefix that is still covered by this Validated ROA Payload, i.e. the upper bound of the prefix-length range '[prefix-length .. max-len]' used for origin validation. This value must be greater than or equal to the Liu, et al. Expires 5 June 2027 [Page 43] Internet-Draft YANG Data Model for RTR December 2026 length of the 'prefix' leaf in the same 'vrp' list entry."; } leaf asn { type inet:as-number; description "The origin AS number of the IPv4 Validated ROA Payload."; } leaf source { type union { type inet:ip-address; type string; } description "The source of the record in this record-set. Either the IP address of the RPKI cache server that provided the record, or a string identifying a source file of static records."; } } } uses vrp-record-counters; } container ipv6 { description "Container for IPv6 Validated ROA Payloads table."; container vrps { description "IPv6 Validated ROA Payloads received from the RPKI cache server."; list vrp { key "prefix max-len asn source"; description "An entry for IPv6 Validated ROA Payload."; leaf prefix { type inet:ipv6-prefix; description "The IPv6 prefix of the IPv6 Validated ROA Payload."; } leaf max-len { type ipv6-prefix-length; description "The maximum length of a more-specific IPv6 prefix that is still covered by this Validated ROA Payload, i.e. the upper bound of the prefix-length range '[prefix-length .. max-len]' Liu, et al. Expires 5 June 2027 [Page 44] Internet-Draft YANG Data Model for RTR December 2026 used for origin validation. This value MUST be greater than or equal to the length of the 'prefix' leaf in the same 'vrp' list entry."; } leaf asn { type inet:as-number; description "The origin AS number of the IPv6 Validated ROA Payload."; } leaf source { type union { type inet:ip-address; type string; } description "The source of the record in this record-set. Either the IP address of the RPKI cache server that provided the record, or a string identifying a source file of static records."; } } } uses vrp-record-counters; } } } container router-key-tables { if-feature rpki-rtr:router-key; config false; description "List of Router Key table received from all RPKI cache servers."; list router-key-table { key "name"; description "Table of Router Keys received from a RPKI cache server."; leaf name { type string; description "Name of the Router Key table."; } leaf ccr-routerkeystate-hash { if-feature rpki-rtr:ccr; type ccr-hash; Liu, et al. Expires 5 June 2027 [Page 45] Internet-Draft YANG Data Model for RTR December 2026 description "CCR state hash for the Router Key payload. This hash represents the canonical state of this specific Router Key entry as defined in the CCR specification. It is optional and can effectively verify the consistency of BGPsec Router Key data derived from the RPKI cache."; reference "RFC YYYY: A Profile for Resource Public Key Infrastructure (RPKI) Canonical Cache Representation (CCR)"; } container router-keys { description "Router Keys received from the RPKI cache server."; list router-key { key "ski asn key server-address"; description "An entry for Router Key."; leaf ski { type subject-key-id; description "A Router Key's Subject Key Identifier (SKI)."; reference "RFC 6487: A Profile for X.509 PKIX Resource Certificates"; } leaf asn { type inet:as-number; description "The AS number of the router which the key belongs to."; } leaf key { type binary; description "A Router Key's subjectPublicKeyInfo value, as described in Section 3.1.1 of RFC 8608, encoded using ASN.1 Distinguished Encoding Rules (DER)."; reference "RFC 8608: BGPsec Algorithms, Key Formats, and Signature Formats"; } leaf server-address { type inet:ip-address; description "IP address of the RPKI cache server."; Liu, et al. Expires 5 June 2027 [Page 46] Internet-Draft YANG Data Model for RTR December 2026 } } } } } container aspa-tables { if-feature rpki-rtr:aspa; config false; description "List of tables of ASPAs received from all RPKI cache servers."; list aspa-table { key "name"; description "Table of ASPAs received from a RPKI cache server."; leaf name { type string; description "Name of the ASPA table."; } leaf ccr-aspapayloadstate-hash { if-feature rpki-rtr:ccr; type ccr-hash; description "CCR state hash for the ASPA payload. This hash represents the canonical state of this specific ASPA entry as defined in the CCR specification. It is optional and facilitates consistency checking for AS path validation data originating from the RPKI cache."; reference "RFC YYYY: A Profile for Resource Public Key Infrastructure (RPKI) Canonical Cache Representation (CCR)"; } uses aspa-overall-records; } } } } 6. Implementation Status Note to the RFC Editor: Remove this section before publication, as well as remove the reference to [RFC7942]. Liu, et al. Expires 5 June 2027 [Page 47] Internet-Draft YANG Data Model for RTR December 2026 This section records the status of known implementations of the protocol defined by this specification at the time of posting of this Internet-Draft, and is based on a proposal described in [RFC7942]. The description of implementations in this section is intended to assist the IETF in its decision processes in progressing drafts to RFCs. Please note that the listing of any individual implementation here does not imply endorsement by the IETF. Furthermore, no effort has been spent to verify the information presented here that was supplied by IETF contributors. This is not intended as, and must not be construed to be, a catalog of available implementations or their features. Readers are advised to note that other implementations may exist. According to [RFC7942], "this will allow reviewers and working groups to assign due consideration to documents that have the benefit of running code, which may serve as evidence of valuable experimentation and feedback that have made the implemented protocols more mature. It is up to the individual working groups to use this information as they see fit". 6.1. Juniper Networks (HPE) * Organization: Juniper Networks (HPE). * Implementation: The following leaves/parameters in description are implemented. * Description: YANG model leaves that are supported: - ietf-rpki-rtr.yang server-address session-state total-vrp-records ipv4-vrp-records ipv6-vrp-records refresh-time hold-time serial-incremental serial-full last-session-up-down last-update-sync last-eod-received last-serial-query last-reset-query flaps - ietf-rpki-table.yang Liu, et al. Expires 5 June 2027 [Page 48] Internet-Draft YANG Data Model for RTR December 2026 ipv4 | ipv6: total-records records-added records-deleted. * Maturity Level: Ready-for-deployment * Coverage: * Version: Draft-03 * Licensing: N/A * Implementation experience: Nothing specific. * Contact: jishnu.roy@hpe.com * Last updated: March 30, 2026 6.2. New H3C Technologies * Organization: New H3C Technologies. * Implementation: The following leaves/parameters in description are implemented. * Description: "ietf-rpki-rtr" and "ietf-rpki-table" YANG modules have been implemented in New H3C Products. * Maturity Level: Ready-for-deployment * Coverage: All data nodes of "ietf-rpki-rtr" and "ietf-rpki-table" YANG modules. * Version: Draft-03 * Licensing: N/A * Implementation experience: Nothing specific. * Contact: li_meng_limeng@h3c.com * Last updated: March 30, 2026 Liu, et al. Expires 5 June 2027 [Page 49] Internet-Draft YANG Data Model for RTR December 2026 7. Operational Considerations The 'local-address' and 'server-address' leaves configure the two endpoints of a single TCP connection to the RPKI cache server. Because that connection can be established only between endpoints of the same address family, these two values should belong to the same address family (both IPv4 or both IPv6), and implementations should verify this when a session is configured and when the connection is (re)established. If a session's 'local-address' and 'server-address' belong to different address families, the connection cannot be established. Such a mismatch should be treated as an anomaly: the implementation should log the condition (and raise an alarm where supported) and should not treat the session as operational until the configuration is corrected. The 'max-number', 'threshold-percentage', and 'over-threshold-action' leaves (within 'vrp-limit' and 'aspa-limit') control how a session reacts to an excessive number of received records. When 'over- threshold-action' is set to 'alert-only', the implementation should generate an alert once the record count reaches the configured threshold, while still accepting records and keeping the session operational; unlike 'discard', 'reconnect', and 'idle-forever', no records are dropped and the session is not torn down. Operators are expected to configure the threshold and the desired action per session and per record type, and to consume the resulting alerts through whatever logging, alarm, or notification facility the implementation provides, since this document does not standardize the alert transport, format, or severity. The state leaves in the 'connection-data' container are intended to help operators correlate the sequence of events on an RTR session and to detect anomalies without having to inspect the wire. The 'last- serial-query' and 'last-reset-query' leaves record when the router last sent Serial Query and Reset Query PDUs, respectively; the 'last- update-sync' and 'last-full-sync' leaves record when the corresponding incremental (serial) and full (reset) synchronizations completed, i.e., when the End of Data PDU terminating such a synchronization was processed; and 'last-eod-received' records the last time any End of Data PDU was received. A synchronization is therefore in progress if the most recent serial or reset query is newer than the most recent sync completion, and is complete when the corresponding sync time (or 'last-eod-received') is up to date. These timestamps in the 'connection-data' container can be compared against the session timing parameters defined in Section 6 of [RFC8210] (and reflected in the 'refresh-interval', 'retry-interval', Liu, et al. Expires 5 June 2027 [Page 50] Internet-Draft YANG Data Model for RTR December 2026 and 'expire-interval' leaves in the 'protocol-data' container) to detect anomalies. In particular, a session is stale if no new 'last- eod-received' has been observed within the configured 'refresh- interval'; if the data are not refreshed within the 'expire- interval', the protocol requires the router to stop using the cached data, so operators should treat the absence of a successful synchronization within that interval as an anomaly. Repeated connections or session transitions can be detected by watching 'flaps' and 'last-session-up-down'; an increasing flap count together with a recent 'last-connection-error' (and a non-empty 'error- reason') usually indicates a connectivity or configuration problem. 'last-config-change' can be used to correlate such events with recent configuration changes, and 'last-error' with protocol-level errors reported by the cache server. 8. Security Considerations This section is modeled after the template described in Section 3.7.1 of [RFC9907]. The "ietf-rpki-rtr", "ietf-rpki-table", "iana-rpki-pdu", and "iana- rpki-error" YANG modules define a data model that is designed to be accessed via YANG-based management protocols, such as Network Configuration Protocol (NETCONF) [RFC6241] and RESTCONF [RFC8040]. These YANG-based management protocols (1) have to use a secure transport layer (e.g., Secure Shell (SSH) [RFC4253], TLS [RFC9846], and QUIC [RFC9000]) and (2) have to use mutual authentication (e.g., for SSH, the SSH Authentication Protocol [RFC4252]). The Network Configuration Access Control Model (NACM) [RFC8341] provides the means to restrict access for particular NETCONF or RESTCONF users to a preconfigured subset of all available NETCONF or RESTCONF protocol operations and content. There are a number of data nodes defined in these YANG modules that are writable/creatable/deletable (i.e., config true, which is the default). All writable data nodes are likely to be sensitive or vulnerable in some network environments. Write operations (e.g., edit-config) and delete operations to these data nodes without proper protection or authentication can have a negative effect on network operations. The following subtrees and data nodes have particular sensitivities/vulnerabilities: rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki-rtr:server- address Liu, et al. Expires 5 June 2027 [Page 51] Internet-Draft YANG Data Model for RTR December 2026 Redirects the router to an attacker-controlled cache server, which can supply forged VRP, Router Key, or ASPA records (route hijacking or DoS); as the list key, changing it also tears down the session. rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki-rtr:server- port Points the connection at a non-RTR service: breaks the session or enables a man-in-the-middle if the attacker listens on that port. rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki-rtr:local- address Forces a different source address/interface; an address-family mismatch prevents the session from being established (DoS). rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki-rtr:local- port A fixed source port weakens TCP anti-spoofing; a used or privileged port prevents the connection (DoS). rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki-rtr:enabled 'false' disables the session; without valid data, routes may be treated as Invalid (DoS) or accepted via insecure fallback (hijack). rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki- rtr:preference Changes which cache is preferred, so the router may select a malicious cache server. rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki-rtr:enable- authentication 'false' disables session authentication (MD5, SSH, or TCP-AO); an on-path attacker can then modify, inject, or replay PDUs. MD5 is itself weak (see [RFC6151] and [RFC6952]). rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki- rtr:authentication Changing or removing the credentials breaks the session (DoS) or downgrades it to an unprotected, tamperable one. Liu, et al. Expires 5 June 2027 [Page 52] Internet-Draft YANG Data Model for RTR December 2026 rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki-rtr:vrp- limit A very large 'max-number' lets a cache exhaust router memory; a very small 'max-number' or 'threshold-percentage' triggers discard or session teardown even under normal load, leaving incomplete validation data. Both are DoS vectors. rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki-rtr:aspa- limit Same as 'vrp-limit' for ASPA records: memory exhaustion with a very large 'max-number', or disruption of ASPA-based leak filtering with a very small one. rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki- rtr:protocol-data These writable timers ('refresh-interval', 'retry-interval', 'expire-interval', 'hold-interval', 'preferred-protocol-version') override the cache's values: very small intervals cause excessive polling, retry loops, or premature teardown (DoS amplification); very large intervals keep stale or withdrawn data in use and delay detection of hijacks. rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki- rtr:reconnect-interval A very small value causes reconnect loops and repeated full re- synchronizations; a very large value delays recovery. Both degrade availability (DoS). Some of the readable data nodes in these YANG modules may be considered sensitive or vulnerable in some network environments. It is thus important to control read access (e.g., via get, get-config, or notification) to these data nodes. Specifically, the following subtrees and data nodes have particular sensitivities/ vulnerabilities: rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki- rtr:session-state Discloses sync state and flap behavior, which helps time attacks on the session. rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki- rtr:statistics Liu, et al. Expires 5 June 2027 [Page 53] Internet-Draft YANG Data Model for RTR December 2026 Reveals how many prefixes are RPKI-valid, i.e., which address space is protected (and, by omission, which is not). rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki- rtr:connection-data Discloses polling cadence and recent failures, allowing attacks to be timed with synchronization windows. rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki- rtr:protocol-data Discloses negotiated version, session ID, serials, and derived timers, revealing refresh patterns. rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki-rtr:pdu- counters Reveals RTR protocol activity, which can expose partial or failed synchronizations. rpki-rtr:rpki-rtr/rpki-rtr:sessions/rpki-rtr:session/rpki-rtr:error- pdu-counters Reveals which protocol errors occur, which can be used to calibrate forged PDUs. rt:routing/rpki-table:vrp-tables/rpki-table:vrp-table Exposes the full validated-ROA set (protected vs. unprotected prefixes); repeated full reads of large tables also consume device resources. rt:routing/rpki-table:router-key-tables/rpki-table:router-key-table Exposes BGPsec keys and which ASes/routers are BGPsec-enabled. rt:routing/rpki-table:aspa-tables/rpki-table:aspa-table Exposes provider/customer relationships, which are business sensitive and help plan route leaks. There are no particularly sensitive RPC or action operations. Liu, et al. Expires 5 June 2027 [Page 54] Internet-Draft YANG Data Model for RTR December 2026 These YANG modules use groupings from other YANG modules that define nodes that may be considered sensitive or vulnerable in network environments; the 'authentication' choice reuses 'ssh-client- grouping' [RFC9644] and key chains [RFC8177]. Refer to the Security Considerations of [RFC9644] and [RFC8177]. The "ietf-rpki-rtr" module supports MD5 to accommodate the installed router base. MD5 suffers from the security weaknesses discussed in Section 2 of [RFC6151] and Section 2.1 of [RFC6952]. 9. IANA Considerations 9.1. YANG Module Registration IANA is requested to register the following URIs in the "ns" registry within the "IETF XML Registry" group [RFC3688]: URI: urn:ietf:params:xml:ns:yang:ietf-rpki-rtr Registrant Contact: The IESG. XML: N/A; the requested URI is an XML namespace URI: urn:ietf:params:xml:ns:yang:ietf-rpki-table Registrant Contact: The IESG. XML: N/A; the requested URI is an XML namespace URI: urn:ietf:params:xml:ns:yang:iana-rpki-pdu Registrant Contact: The IESG. XML: N/A; the requested URI is an XML namespace. URI: urn:ietf:params:xml:ns:yang:iana-rpki-error Registrant Contact: The IESG. XML: N/A; the requested URI is an XML namespace. IANA is requested to register the following YANG modules in the "YANG Module Names" registry [RFC6020] within the "YANG Parameters" registry group: Liu, et al. Expires 5 June 2027 [Page 55] Internet-Draft YANG Data Model for RTR December 2026 Name: ietf-rpki-rtr Maintained by IANA? N Namespace: urn:ietf:params:xml:ns:yang:ietf-rpki-rtr Prefix: rpki-rtr Reference: RFC XXXX Name: ietf-rpki-table Maintained by IANA? N Namespace: urn:ietf:params:xml:ns:yang:ietf-rpki-table Prefix: rpki-table Reference: RFC XXXX Name: iana-rpki-pdu Maintained by IANA? Y Namespace: urn:ietf:params:xml:ns:yang:iana-rpki-pdu Prefix: rpki-pdu Reference: RFC XXXX Name: iana-rpki-error Maintained by IANA? Y Namespace: urn:ietf:params:xml:ns:yang:iana-rpki-error Prefix: rpki-error Reference: RFC XXXX 9.2. IANA-Maintained YANG Modules Maintenance 9.2.1. PDU Type YANG Module This document defines the initial version of the IANA-maintained "iana-rpki-pdu" YANG module. The most recent version of the YANG module is available from the "YANG Parameters" registry group [IANA-YANG-PARAMETERS]. IANA is requested to add this note to the "iana-rpki-pdu" entry in the "YANG Module Names" registry: New values must not be directly added to the "iana-rpki-pdu" YANG module. They must instead be added to the "rpki-rtr-pdu" registry. When a value is added to the "rpki-rtr-pdu" registry, a new "enum" statement must be added to the "iana-rpki-pdu" YANG module. The "enum" statement, and the substatements thereof, should be defined as follows: * "enum": Replicates the description from the registry in lowercase with all spaces replaced with '-'. Liu, et al. Expires 5 June 2027 [Page 56] Internet-Draft YANG Data Model for RTR December 2026 * "value": Contains the decimal value of the IANA-assigned value. * "status": Is included only if a registration has been deprecated or obsoleted. IANA "deprecated" maps to YANG status "deprecated", and IANA "obsolete" maps to YANG status "obsolete". * "description": Replicates the description from the registry. 9.2.2. Error Type YANG Module This document defines the initial version of the IANA-maintained "iana-rpki-error" YANG module. The most recent version of the YANG module is available from the "YANG Parameters" registry group [IANA-YANG-PARAMETERS]. IANA is requested to add this note to the "iana-rpki-error" entry in the "YANG Module Names" registry: New values must not be directly added to the "iana-rpki-error" YANG module. They must instead be added to the "rpki-rtr-error" registry. When a value is added to the "rpki-rtr-error" registry, a new "enum" statement must be added to the "iana-rpki-error" YANG module. The "enum" statement, and the substatements thereof, should be defined as follows: * "enum": Replicates the description from the registry in lowercase with all spaces replaced with '-'. * "value": Contains the decimal value of the IANA-assigned value. * "status": Is included only if a registration has been deprecated or obsoleted. IANA "deprecated" maps to YANG status "deprecated", and IANA "obsolete" maps to YANG status "obsolete". * "description": Replicates the description from the registry. 10. References 10.1. Normative References Liu, et al. Expires 5 June 2027 [Page 57] Internet-Draft YANG Data Model for RTR December 2026 [I-D.ietf-sidrops-8210bis] Bush, R., Austein, R., and T. Harrison, "The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 2", Work in Progress, Internet-Draft, draft-ietf- sidrops-8210bis-29, November 2026, . [I-D.ietf-sidrops-rpki-ccr] Snijders, J., Bakker, B., Bruijnzeels, T., and T. Buehler, "A Profile for Resource Public Key Infrastructure (RPKI) Canonical Cache Representation (CCR)", Work in Progress, Internet-Draft, draft-ietf-sidrops-rpki-ccr-11, July 2026, . [IANA-RPKI-ERROR] IANA, "RPKI-RTR Error Type Registry", 2026, . [IANA-RPKI-PDU] IANA, "RPKI-RTR PDU Type Registry", 2026, . [IANA_CH_URL] IANA, "iana-crypt-hash YANG Module", 2022, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, DOI 10.17487/RFC3688, January 2004, . [RFC6020] Bjorklund, M., Ed., "YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)", RFC 6020, DOI 10.17487/RFC6020, October 2010, . [RFC6487] Huston, G., Michaelson, G., and R. Loomans, "A Profile for X.509 PKIX Resource Certificates", RFC 6487, DOI 10.17487/RFC6487, February 2012, . Liu, et al. Expires 5 June 2027 [Page 58] Internet-Draft YANG Data Model for RTR December 2026 [RFC6810] Bush, R. and R. Austein, "The Resource Public Key Infrastructure (RPKI) to Router Protocol", RFC 6810, DOI 10.17487/RFC6810, January 2013, . [RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", RFC 7950, DOI 10.17487/RFC7950, August 2016, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [RFC8177] Lindem, A., Ed., Qu, Y., Yeung, D., Chen, I., and J. Zhang, "YANG Data Model for Key Chains", RFC 8177, DOI 10.17487/RFC8177, June 2017, . [RFC8210] Bush, R. and R. Austein, "The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 1", RFC 8210, DOI 10.17487/RFC8210, September 2017, . [RFC8294] Liu, X., Qu, Y., Lindem, A., Hopps, C., and L. Berger, "Common YANG Data Types for the Routing Area", RFC 8294, DOI 10.17487/RFC8294, December 2017, . [RFC8341] Bierman, A. and M. Bjorklund, "Network Configuration Access Control Model", STD 91, RFC 8341, DOI 10.17487/RFC8341, March 2018, . [RFC8343] Bjorklund, M., "A YANG Data Model for Interface Management", RFC 8343, DOI 10.17487/RFC8343, March 2018, . [RFC8349] Lhotka, L., Lindem, A., and Y. Qu, "A YANG Data Model for Routing Management (NMDA Version)", RFC 8349, DOI 10.17487/RFC8349, March 2018, . [RFC8608] Turner, S. and O. Borchert, "BGPsec Algorithms, Key Formats, and Signature Formats", RFC 8608, DOI 10.17487/RFC8608, June 2019, . Liu, et al. Expires 5 June 2027 [Page 59] Internet-Draft YANG Data Model for RTR December 2026 [RFC9644] Watsen, K., "YANG Groupings for SSH Clients and SSH Servers", RFC 9644, DOI 10.17487/RFC9644, October 2024, . [RFC9911] Schoenwaelder, J., Ed., "Common YANG Data Types", RFC 9911, DOI 10.17487/RFC9911, December 2025, . 10.2. Informative References [IANA-YANG-PARAMETERS] IANA, "YANG Parameters Registry Group", 2026, . [RFC3849] Huston, G., Lord, A., and P. Smith, "IPv6 Address Prefix Reserved for Documentation", RFC 3849, DOI 10.17487/RFC3849, July 2004, . [RFC4252] Ylonen, T. and C. Lonvick, Ed., "The Secure Shell (SSH) Authentication Protocol", RFC 4252, DOI 10.17487/RFC4252, January 2006, . [RFC4253] Ylonen, T. and C. Lonvick, Ed., "The Secure Shell (SSH) Transport Layer Protocol", RFC 4253, DOI 10.17487/RFC4253, January 2006, . [RFC5398] Huston, G., "Autonomous System (AS) Number Reservation for Documentation Use", RFC 5398, DOI 10.17487/RFC5398, December 2008, . [RFC5737] Arkko, J., Cotton, M., and L. Vegoda, "IPv4 Address Blocks Reserved for Documentation", RFC 5737, DOI 10.17487/RFC5737, January 2010, . [RFC6151] Turner, S. and L. Chen, "Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms", RFC 6151, DOI 10.17487/RFC6151, March 2011, . [RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., and A. Bierman, Ed., "Network Configuration Protocol (NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011, . Liu, et al. Expires 5 June 2027 [Page 60] Internet-Draft YANG Data Model for RTR December 2026 [RFC6952] Jethanandani, M., Patel, K., and L. Zheng, "Analysis of BGP, LDP, PCEP, and MSDP Issues According to the Keying and Authentication for Routing Protocols (KARP) Design Guide", RFC 6952, DOI 10.17487/RFC6952, May 2013, . [RFC7942] Sheffer, Y. and A. Farrel, "Improving Awareness of Running Code: The Implementation Status Section", BCP 205, RFC 7942, DOI 10.17487/RFC7942, July 2016, . [RFC8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017, . [RFC8340] Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams", BCP 215, RFC 8340, DOI 10.17487/RFC8340, March 2018, . [RFC8792] Watsen, K., Auerswald, E., Farrel, A., and Q. Wu, "Handling Long Lines in Content of Internet-Drafts and RFCs", RFC 8792, DOI 10.17487/RFC8792, June 2020, . [RFC9000] Iyengar, J., Ed. and M. Thomson, Ed., "QUIC: A UDP-Based Multiplexed and Secure Transport", RFC 9000, DOI 10.17487/RFC9000, May 2021, . [RFC9846] Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 9846, DOI 10.17487/RFC9846, July 2026, . [RFC9907] Bierman, A., Boucadair, M., Ed., and Q. Wu, "Guidelines for Authors and Reviewers of Documents Containing YANG Data Models", BCP 216, RFC 9907, DOI 10.17487/RFC9907, March 2026, . Appendix A. IANA-Maintained PDU Type YANG Module This YANG module mirrors the IANA "rpki-rtr-pdu" registry [IANA-RPKI-PDU]. Note to the RFC Editor: "RFC XXXX" in this YANG module must be replaced by RFC number assigned to this document and "RFC ZZZZ" with the RFC number assigned to [I-D.ietf-sidrops-8210bis]. Also, Please remove this appendix from the final RFC. Liu, et al. Expires 5 June 2027 [Page 61] Internet-Draft YANG Data Model for RTR December 2026 file "iana-rpki-pdu@2026-11-25.yang" module iana-rpki-pdu { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:iana-rpki-pdu"; prefix rpki-pdu; organization "Internet Assigned Numbers Authority (IANA)"; contact "Internet Assigned Numbers Authority ICANN 12025 Waterfront Drive, Suite 300 Los Angeles, CA 90094 Tel: +1 310 301 5800 "; description "This module is maintained by IANA and exposes the IANA 'rpki-rtr-pdu' registry as the enumerated type rpki-pdu-type. Copyright (c) 2026 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Revised BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info). All revisions of IETF and IANA published modules can be found at the YANG Parameters registry group (https://www.iana.org/assignments/yang-parameters). The initial version of this YANG module is created by RFC XXXX; see the RFC itself for full legal notices. The latest version of this YANG module is available at ."; reference "IANA rpki-rtr-pdu (https://www.iana.org/assignments/rpki)"; revision 2026-11-25 { description Liu, et al. Expires 5 June 2027 [Page 62] Internet-Draft YANG Data Model for RTR December 2026 "Initial version."; reference "RFC XXXX: A YANG Data Model for Resource Public Key Infrastructure (RPKI) to Router Protocol"; } typedef rpki-pdu-type { type enumeration { enum serial-notify { value 0; description "Serial Notify."; } enum serial-query { value 1; description "Serial Query."; } enum reset-query { value 2; description "Reset Query."; } enum cache-response { value 3; description "Cache Response."; } enum ipv4-prefix { value 4; description "IPv4 Prefix."; } enum ipv6-prefix { value 6; description "IPv6 Prefix."; } enum end-of-data { value 7; description "End of Data."; } enum cache-reset { value 8; description "Cache Reset."; } enum router-key { value 9; description "Router Key."; } enum error-report { value 10; description "Error Report."; Liu, et al. Expires 5 June 2027 [Page 63] Internet-Draft YANG Data Model for RTR December 2026 } enum aspa { value 11; description "ASPA."; } } description "RPKI-RTR PDU type as registered in the IANA 'rpki-rtr-pdu' registry (https://www.iana.org/assignments/rpki#rpki-rtr-pdu). Unassigned and reserved numbers are intentionally omitted."; } } Appendix B. IANA-Maintained Error Type YANG Module This YANG module mirrors the IANA "rpki-rtr-error" registry [IANA-RPKI-ERROR]. Note to the RFC Editor: "RFC XXXX" in this YANG module must be replaced by RFC number assigned to this document and "RFC ZZZZ" with the RFC number assigned to [I-D.ietf-sidrops-8210bis]. Also, Please remove this appendix from the final RFC. file "iana-rpki-error@2026-11-25.yang" module iana-rpki-error { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:iana-rpki-error"; prefix rpki-error; organization "Internet Assigned Numbers Authority (IANA)"; contact "Internet Assigned Numbers Authority ICANN 12025 Waterfront Drive, Suite 300 Los Angeles, CA 90094 Tel: +1 310 301 5800 "; description "This module is maintained by IANA and exposes the IANA 'rpki-rtr-error' registry as the enumerated type Liu, et al. Expires 5 June 2027 [Page 64] Internet-Draft YANG Data Model for RTR December 2026 rpki-error-type. Copyright (c) 2026 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Revised BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info). All revisions of IETF and IANA published modules can be found at the YANG Parameters registry group (https://www.iana.org/assignments/yang-parameters). The initial version of this YANG module is created by RFC XXXX; see the RFC itself for full legal notices. The latest version of this YANG module is available at ."; reference "IANA rpki-rtr-error (https://www.iana.org/assignments/rpki)"; revision 2026-11-25 { description "Initial version."; reference "RFC XXXX: A YANG Data Model for Resource Public Key Infrastructure (RPKI) to Router Protocol"; } typedef rpki-error-type { type enumeration { enum corrupt-data { value 0; description "Corrupt Data."; } enum internal-error { value 1; description "Internal Error."; } enum no-data-available { value 2; description "No Data Available."; } enum invalid-request { Liu, et al. Expires 5 June 2027 [Page 65] Internet-Draft YANG Data Model for RTR December 2026 value 3; description "Invalid Request."; } enum unsupported-protocol-version { value 4; description "Unsupported Protocol Version."; } enum unsupported-pdu-type { value 5; description "Unsupported PDU Type."; } enum withdrawal-unknown-record { value 6; description "Withdrawal of Unknown Record."; } enum duplicate-announcement-received { value 7; description "Duplicate Announcement Received."; } enum unexpected-protocol-version { value 8; description "Unexpected Protocol Version."; } enum aspa-provider-list-error { value 9; description "ASPA Provider List Error."; } enum transport-failure { value 10; description "Transport Failure."; } enum ordering-error { value 11; description "Ordering Error."; } enum cache-restart { value 12; description "Cache Restart."; } enum cache-shutdown { value 13; description "Cache Shutdown."; } } description "RPKI-RTR Error type as registered in the IANA 'rpki-rtr-error' registry Liu, et al. Expires 5 June 2027 [Page 66] Internet-Draft YANG Data Model for RTR December 2026 (https://www.iana.org/assignments/rpki#rpki-rtr-error). Values 0-8 are assigned by IANA (RFC 6810 / RFC 8210). Values 9-13 are assigned by RFC ZZZZ and are not yet registered in the IANA registry. Unassigned and reserved numbers are intentionally omitted."; } } Appendix C. Full Tree of RPKI to Router YANG Module module: ietf-rpki-rtr augment /rt:routing/rt:control-plane-protocols /rt:control-plane-protocol: +--rw rpki-rtr +--rw sessions +--rw session* [server-address] +--rw server-address inet:ip-address +--rw server-port? inet:port-number +--rw local-address? union +--rw local-port? inet:port-number +--rw enabled? boolean +--rw preference? uint32 +--rw server-description? string +--rw reconnect-interval? uint32 +--ro session-state? enumeration +--rw enable-authentication? boolean +--rw authentication | +--rw (option)? | +--:(md5) | | +--rw md5-password? ianach:crypt-hash | +--:(ssh) | | +--rw client-identity | | | +--rw username? string | | | +--rw public-key! | | | {client-ident-publickey}? | | | +--rw password! | | | {client-ident-password}? | | | +--rw hostbased! | | | {client-ident-hostbased}? | | | +--rw none? empty {client-ident-none}? | | | +--rw certificate! | | | {sshcmn:ssh-x509-certs}? | | +--rw server-authentication | | | +--rw ssh-host-keys! | | | +--rw ca-certs! {sshcmn:ssh-x509-certs}? Liu, et al. Expires 5 June 2027 [Page 67] Internet-Draft YANG Data Model for RTR December 2026 | | | +--rw ee-certs! {sshcmn:ssh-x509-certs}? | | +--rw transport-params | | | {sshcmn:transport-params}? | | +--rw keepalives! {ssh-client-keepalives}? | | +--rw max-wait? uint16 | | +--rw max-attempts? uint8 | +--:(tcp-ao-keychain) | +--rw keychain-name? key-chain:key-chain-ref +--rw vrp-limit | +--rw max-number? uint64 | +--rw threshold-percentage? rt-types:percentage | +--rw over-threshold-action? identityref +--rw aspa-limit {aspa}? | +--rw max-number? uint64 | +--rw threshold-percentage? rt-types:percentage | +--rw over-threshold-action? identityref +--ro statistics | +--ro total-vrp-records? yang:zero-based-counter64 | +--ro ipv4-vrp-records? yang:zero-based-counter64 | +--ro ipv6-vrp-records? yang:zero-based-counter64 | +--ro router-key-records? yang:zero-based-counter64 | | {router-key}? | +--ro aspa-records? yang:zero-based-counter64 | | {aspa}? | +--ro in-total-messages? yang:zero-based-counter64 | +--ro out-total-messages? yang:zero-based-counter64 | +--ro discontinuity-time? yang:date-and-time +--ro connection-data | +--ro flaps? uint32 | +--ro last-session-up-down? yang:date-and-time | +--ro last-update-sync? yang:date-and-time | +--ro last-full-sync? yang:date-and-time | +--ro last-serial-query? yang:date-and-time | +--ro last-reset-query? yang:date-and-time | +--ro last-eod-received? yang:date-and-time | +--ro last-config-change? yang:date-and-time | +--ro last-error? yang:date-and-time | +--ro last-connection-error? yang:date-and-time | +--ro last-connection? yang:date-and-time | +--ro error-reason? string +--rw protocol-data | +--rw preferred-protocol-version? uint8 | +--rw refresh-interval? uint32 | +--rw retry-interval? uint32 | +--rw expire-interval? uint32 | +--rw hold-interval? uint32 | +--ro protocol-version? uint8 | +--ro refresh-time? yang:date-and-time Liu, et al. Expires 5 June 2027 [Page 68] Internet-Draft YANG Data Model for RTR December 2026 | +--ro response-time? yang:date-and-time | +--ro record-lifetime? yang:date-and-time | +--ro hold-time? yang:date-and-time | +--ro session-id? uint16 | +--ro serial-full? uint32 | +--ro serial-incremental? uint32 +--ro pdu-counters | +--ro pdu-counter* [pdu] | | +--ro pdu rpki-pdu:rpki-pdu-type | | +--ro counter? yang:zero-based-counter64 | +--ro discontinuity-time? yang:date-and-time +--ro error-pdu-counters +--ro error-pdu-counter* [error] | +--ro error rpki-error:rpki-error-type | +--ro counter? yang:zero-based-counter64 +--ro discontinuity-time? yang:date-and-time Appendix D. Full Tree of RPKI Table YANG Module Liu, et al. Expires 5 June 2027 [Page 69] Internet-Draft YANG Data Model for RTR December 2026 module: ietf-rpki-table augment /rt:routing: +--ro vrp-tables | +--ro vrp-table* [name] | +--ro name string | +--ro ccr-roapayloadstate-hash? ccr-hash {rpki-rtr:ccr}? | +--ro ipv4 | | +--ro vrps | | | +--ro vrp* [prefix max-len asn source] | | | +--ro prefix inet:ipv4-prefix | | | +--ro max-len ipv4-prefix-length | | | +--ro asn inet:as-number | | | +--ro source union | | +--ro total-records? yang:gauge32 | | +--ro records-added? yang:counter64 | | +--ro records-deleted? yang:counter64 | | +--ro discontinuity-time? yang:date-and-time | +--ro ipv6 | +--ro vrps | | +--ro vrp* [prefix max-len asn source] | | +--ro prefix inet:ipv6-prefix | | +--ro max-len ipv6-prefix-length | | +--ro asn inet:as-number | | +--ro source union | +--ro total-records? yang:gauge32 | +--ro records-added? yang:counter64 | +--ro records-deleted? yang:counter64 | +--ro discontinuity-time? yang:date-and-time +--ro router-key-tables {rpki-rtr:router-key}? | +--ro router-key-table* [name] | +--ro name string | +--ro ccr-routerkeystate-hash? ccr-hash {rpki-rtr:ccr}? | +--ro router-keys | +--ro router-key* [ski asn key server-address] | +--ro ski subject-key-id | +--ro asn inet:as-number | +--ro key binary | +--ro server-address inet:ip-address +--ro aspa-tables {rpki-rtr:aspa}? +--ro aspa-table* [name] +--ro name string +--ro ccr-aspapayloadstate-hash? ccr-hash {rpki-rtr:ccr}? +--ro aspa* [customer-asn] +--ro customer-asn inet:as-number +--ro server-address? inet:ip-address +--ro provider-asn* [asn] +--ro asn inet:as-number Liu, et al. Expires 5 June 2027 [Page 70] Internet-Draft YANG Data Model for RTR December 2026 Appendix E. Usage Examples This appendix provides a few non-exhaustive usage examples for the YANG modules defined in this document. The examples use IP addresses, prefixes, and Autonomous System Numbers reserved for documentation purposes ([RFC5737], [RFC3849], and [RFC5398], respectively) and therefore MUST NOT be used in production deployments. Some long lines in the XML examples are folded as specified in Section 8 of [RFC8792]. E.1. RTR Session Configuration The following example shows a minimal configuration for a single RTR session towards a cache server, using a documented IPv4 address as the server address. Liu, et al. Expires 5 June 2027 [Page 71] Internet-Draft YANG Data Model for RTR December 2026 ========== NOTE: '\\' line wrapping per RFC 8792 ========== ietf-rpki-rtr:rpki-rtr rpki-cache-1 192.0.2.1 323 true 10 \ \Primary RPKI cache\ \ 1 1000000 90 \ \ietf-rpki-rtr:alert-only\ \ \ \1\ \ 3600 600 7200 E.2. VRP Table State The following example shows a JSON snippet of the state data for a table of validated ROA payloads, mixing IPv4 and IPv6 prefixes as recommended by Section 3.12 of [RFC9907]. Liu, et al. Expires 5 June 2027 [Page 72] Internet-Draft YANG Data Model for RTR December 2026 { "ietf-rpki-table:vrp-tables": { "vrp-table": [ { "name": "cache1", "ipv4": { "vrps": { "vrp": [ { "prefix": "192.0.2.0/24", "max-len": 24, "asn": 64496, "source": "192.0.2.1" }, { "prefix": "198.51.100.0/24", "max-len": 25, "asn": 64497, "source": "192.0.2.1" } ] }, "total-records": 2, "records-added": 5, "records-deleted": 3, "discontinuity-time": "2026-06-01T00:00:00Z" }, "ipv6": { "vrps": { "vrp": [ { "prefix": "2001:db8:100::/48", "max-len": 48, "asn": 65536, "source": "2001:db8::1" } ] }, "total-records": 1, "records-added": 1, "records-deleted": 0, "discontinuity-time": "2026-06-01T00:00:00Z" } } ] } } Liu, et al. Expires 5 June 2027 [Page 73] Internet-Draft YANG Data Model for RTR December 2026 E.3. ASPA Table State The following example shows an XML snippet of the state data for an ASPA table, using ASNs reserved for documentation as the customer and provider ASNs. cache1 64496 192.0.2.1 64497 Acknowledgments The authors would like to thank Job Snijders, Santosh Kolenchery, Ebben Xavier Aries, Tapasee Ratna Goutam, and Haiyang Zhang for their review and discussion of this document. Thanks to Per Andersson for the Yangdoctors Early review. Thanks to Mohamed Boucadair for the AD review. Contributors Mengxiao Chen H3C China Email: chen.mengxiao@h3c.com Santosh Kolenchery HPE Email: santosh.kolenchery@hpe.com Haiyang Zhang H3C China Email: zhang.haiyanga@h3c.com Liu, et al. Expires 5 June 2027 [Page 74] Internet-Draft YANG Data Model for RTR December 2026 Authors' Addresses Yisong Liu China Mobile 32 Xuanwumen West Street Beijing Xicheng District, 100053 China Email: liuyisong@chinamobile.com Changwang Lin New H3C Technologies 8 Yongjia North Road Beijing Haidian District, 100094 China Email: linchangwang.04414@h3c.com Jishnu Roy HPE 192, Whitefield Road Bengaluru, Karnataka 560048 B Narayanapura, Mahadevapura India Email: jishnu.roy@hpe.com Haibo Wang Huawei Technologies China Email: rainsword.wang@huawei.com Jeffrey Haas HPE 1133 Innovation Way Sunnyvale, CA 94089 United States of America Email: jeffrey.haas@hpe.com Hongwei Liu ZTE Corporation China Email: liu.hongwei3@zte.com.cn Liu, et al. Expires 5 June 2027 [Page 75] Internet-Draft YANG Data Model for RTR December 2026 Di Ma ZDNS Floor 21, Block B, Greenland Center Chaoyang Beijing, 100102 China Email: madi@zdns.cn Liu, et al. Expires 5 June 2027 [Page 76]