| rfc9825v4.txt | rfc9825.txt | |||
|---|---|---|---|---|
| skipping to change at line 278 ¶ | skipping to change at line 278 ¶ | |||
| This section defines a YANG data model that can be used to configure | This section defines a YANG data model that can be used to configure | |||
| and manage the prefix administrative tags defined in this document, | and manage the prefix administrative tags defined in this document, | |||
| which augments the OSPF YANG data model [RFC9129], the OSPFv3 | which augments the OSPF YANG data model [RFC9129], the OSPFv3 | |||
| Extended LSA YANG data model [RFC9587], and the Routing Management | Extended LSA YANG data model [RFC9587], and the Routing Management | |||
| YANG data model [RFC8349]. Additionally, the YANG data models | YANG data model [RFC8349]. Additionally, the YANG data models | |||
| defined in [RFC6991] are imported. | defined in [RFC6991] are imported. | |||
| 7.1. Tree for the YANG Data Model | 7.1. Tree for the YANG Data Model | |||
| This document uses the graphical representation of data models per | This document uses the graphical representation of data models per | |||
| [RFC8340]. NOTE: '\' line wrapping is per [RFC8792]. | [RFC8340]. | |||
| The following shows the tree diagram of the module: | The following shows the tree diagram of the module: | |||
| module: ietf-ospf-admin-tags | module: ietf-ospf-admin-tags | |||
| augment /rt:routing/rt:control-plane-protocols | augment /rt:routing/rt:control-plane-protocols | |||
| /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | |||
| /ospf:ranges/ospf:range: | /ospf:ranges/ospf:range: | |||
| +--rw admin-tags | +--rw admin-tags | |||
| +--rw admin-tag* uint32 | +--rw admin-tag* uint32 | |||
| augment /rt:routing/rt:control-plane-protocols | augment /rt:routing/rt:control-plane-protocols | |||
| /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | |||
| /ospf:interfaces/ospf:interface: | /ospf:interfaces/ospf:interface: | |||
| +--rw local-prefix-admin-tags | +--rw local-prefix-admin-tags | |||
| +--rw default-admin-tag* uint32 | +--rw default-admin-tag* uint32 | |||
| +--rw specific-prefix-admin-tag* [prefix] | +--rw specific-prefix-admin-tag* [prefix] | |||
| +--rw prefix inet:ip-prefix | +--rw prefix inet:ip-prefix | |||
| +--rw admin-tag* uint32 | +--rw admin-tag* uint32 | |||
| augment /rt:routing/rt:control-plane-protocols | augment /rt:routing/rt:control-plane-protocols | |||
| /rt:control-plane-protocol/ospf:ospf/ospf:local-rib | /rt:control-plane-protocol/ospf:ospf/ospf:local-rib | |||
| /ospf:route/ospf:next-hops/ospf:next-hop: | /ospf:route/ospf:next-hops/ospf:next-hop: | |||
| +--ro admin-tag* uint32 | +--ro admin-tag* uint32 | |||
| augment /rt:routing/rt:control-plane-protocols | augment /rt:routing/rt:control-plane-protocols | |||
| /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | |||
| /ospf:interfaces/ospf:interface/ospf:database | /ospf:interfaces/ospf:interface/ospf:database | |||
| /ospf:link-scope-lsa-type/ospf:link-scope-lsas | /ospf:link-scope-lsa-type/ospf:link-scope-lsas | |||
| /ospf:link-scope-lsa/ospf:version/ospf:ospfv2/ospf:ospfv2 | /ospf:link-scope-lsa/ospf:version/ospf:ospfv2/ospf:ospfv2 | |||
| /ospf:body/ospf:opaque/ospf:extended-prefix-opaque | /ospf:body/ospf:opaque/ospf:extended-prefix-opaque | |||
| /ospf:extended-prefix-tlv: | /ospf:extended-prefix-tlv: | |||
| +--ro prefix-admin-tag-sub-tlv | +--ro prefix-admin-tag-sub-tlv | |||
| +--ro admin-tag* uint32 | +--ro admin-tag* uint32 | |||
| augment /rt:routing/rt:control-plane-protocols | augment /rt:routing/rt:control-plane-protocols | |||
| /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | |||
| /ospf:database/ospf:area-scope-lsa-type/ospf:area-scope-\ | /ospf:database/ospf:area-scope-lsa-type | |||
| lsas | /ospf:area-scope-lsas/ospf:area-scope-lsa/ospf:version | |||
| /ospf:area-scope-lsa/ospf:version/ospf:ospfv2/ospf:ospfv2 | /ospf:ospfv2/ospf:ospfv2/ospf:body/ospf:opaque | |||
| /ospf:body/ospf:opaque/ospf:extended-prefix-opaque | /ospf:extended-prefix-opaque/ospf:extended-prefix-tlv: | |||
| /ospf:extended-prefix-tlv: | ||||
| +--ro prefix-admin-tag-sub-tlv | +--ro prefix-admin-tag-sub-tlv | |||
| +--ro admin-tag* uint32 | +--ro admin-tag* uint32 | |||
| augment /rt:routing/rt:control-plane-protocols | augment /rt:routing/rt:control-plane-protocols | |||
| /rt:control-plane-protocol/ospf:ospf/ospf:database | /rt:control-plane-protocol/ospf:ospf/ospf:database | |||
| /ospf:as-scope-lsa-type/ospf:as-scope-lsas/ospf:as-scope-\ | /ospf:as-scope-lsa-type/ospf:as-scope-lsas | |||
| lsa | /ospf:as-scope-lsa/ospf:version/ospf:ospfv2/ospf:ospfv2 | |||
| /ospf:version/ospf:ospfv2/ospf:ospfv2/ospf:body/ospf:opaque | /ospf:body/ospf:opaque/ospf:extended-prefix-opaque | |||
| /ospf:extended-prefix-opaque/ospf:extended-prefix-tlv: | /ospf:extended-prefix-tlv: | |||
| +--ro prefix-admin-tag-sub-tlv | +--ro prefix-admin-tag-sub-tlv | |||
| +--ro admin-tag* uint32 | +--ro admin-tag* uint32 | |||
| augment /rt:routing/rt:control-plane-protocols | augment /rt:routing/rt:control-plane-protocols | |||
| /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | |||
| /ospf:database/ospf:area-scope-lsa-type/ospf:area-scope-\ | /ospf:database/ospf:area-scope-lsa-type | |||
| lsas | /ospf:area-scope-lsas/ospf:area-scope-lsa/ospf:version | |||
| /ospf:area-scope-lsa/ospf:version/ospf:ospfv3/ospf:ospfv3 | /ospf:ospfv3/ospf:ospfv3/ospf:body | |||
| /ospf:body/ospfv3-e-lsa:e-inter-area-prefix | /ospfv3-e-lsa:e-inter-area-prefix | |||
| /ospfv3-e-lsa:e-inter-prefix-tlvs | /ospfv3-e-lsa:e-inter-prefix-tlvs | |||
| /ospfv3-e-lsa:inter-prefix-tlv: | /ospfv3-e-lsa:inter-prefix-tlv: | |||
| +--ro prefix-admin-tag-sub-tlv | +--ro prefix-admin-tag-sub-tlv | |||
| +--ro admin-tag* uint32 | +--ro admin-tag* uint32 | |||
| augment /rt:routing/rt:control-plane-protocols | augment /rt:routing/rt:control-plane-protocols | |||
| /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | |||
| /ospf:database/ospf:area-scope-lsa-type | /ospf:database/ospf:area-scope-lsa-type | |||
| /ospf:area-scope-lsas/ospf:area-scope-lsa | /ospf:area-scope-lsas/ospf:area-scope-lsa/ospf:version | |||
| /ospf:version/ospf:ospfv3/ospf:ospfv3 | /ospf:ospfv3/ospf:ospfv3/ospf:body | |||
| /ospf:body/ospfv3-e-lsa:e-intra-area-prefix | /ospfv3-e-lsa:e-intra-area-prefix | |||
| /ospfv3-e-lsa:e-intra-prefix-tlvs | /ospfv3-e-lsa:e-intra-prefix-tlvs | |||
| /ospfv3-e-lsa:intra-prefix-tlv: | /ospfv3-e-lsa:intra-prefix-tlv: | |||
| +--ro prefix-admin-tag-sub-tlv | +--ro prefix-admin-tag-sub-tlv | |||
| +--ro admin-tag* uint32 | +--ro admin-tag* uint32 | |||
| augment /rt:routing/rt:control-plane-protocols | augment /rt:routing/rt:control-plane-protocols | |||
| /rt:control-plane-protocol/ospf:ospf/ospf:database | /rt:control-plane-protocol/ospf:ospf/ospf:database | |||
| /ospf:as-scope-lsa-type/ospf:as-scope-lsas | /ospf:as-scope-lsa-type/ospf:as-scope-lsas | |||
| /ospf:as-scope-lsa/ospf:version/ospf:ospfv3/ospf:ospfv3 | /ospf:as-scope-lsa/ospf:version/ospf:ospfv3/ospf:ospfv3 | |||
| /ospf:body/ospfv3-e-lsa:e-as-external | /ospf:body/ospfv3-e-lsa:e-as-external | |||
| /ospfv3-e-lsa:e-external-tlvs | /ospfv3-e-lsa:e-external-tlvs | |||
| /ospfv3-e-lsa:external-prefix-tlv: | /ospfv3-e-lsa:external-prefix-tlv: | |||
| +--ro prefix-admin-tag-sub-tlv | +--ro prefix-admin-tag-sub-tlv | |||
| +--ro admin-tag* uint32 | +--ro admin-tag* uint32 | |||
| augment /rt:routing/rt:control-plane-protocols | augment /rt:routing/rt:control-plane-protocols | |||
| /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area | |||
| /ospf:database/ospf:area-scope-lsa-type | /ospf:database/ospf:area-scope-lsa-type | |||
| /ospf:area-scope-lsas/ospf:area-scope-lsa/ospf:version | /ospf:area-scope-lsas/ospf:area-scope-lsa/ospf:version | |||
| /ospf:ospfv3/ospf:ospfv3/ospf:body/ospfv3-e-lsa:e-nssa | /ospf:ospfv3/ospf:ospfv3/ospf:body/ospfv3-e-lsa:e-nssa | |||
| /ospfv3-e-lsa:e-external-tlvs | /ospfv3-e-lsa:e-external-tlvs | |||
| /ospfv3-e-lsa:external-prefix-tlv: | /ospfv3-e-lsa:external-prefix-tlv: | |||
| +--ro prefix-admin-tag-sub-tlv | +--ro prefix-admin-tag-sub-tlv | |||
| +--ro admin-tag* uint32 | +--ro admin-tag* uint32 | |||
| 7.2. YANG Data Model for OSPF Prefix Administrative Tags | 7.2. YANG Data Model for OSPF Prefix Administrative Tags | |||
| The following is the YANG module: | The following is the YANG module: | |||
| <CODE BEGINS> file "ietf-ospf-admin-tags@2025-07-17.yang" | <CODE BEGINS> file "ietf-ospf-admin-tags@2025-07-17.yang" | |||
| module ietf-ospf-admin-tags { | module ietf-ospf-admin-tags { | |||
| yang-version 1.1; | yang-version 1.1; | |||
| skipping to change at line 890 ¶ | skipping to change at line 889 ¶ | |||
| <https://www.rfc-editor.org/info/rfc8040>. | <https://www.rfc-editor.org/info/rfc8040>. | |||
| [RFC8340] Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams", | [RFC8340] Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams", | |||
| BCP 215, RFC 8340, DOI 10.17487/RFC8340, March 2018, | BCP 215, RFC 8340, DOI 10.17487/RFC8340, March 2018, | |||
| <https://www.rfc-editor.org/info/rfc8340>. | <https://www.rfc-editor.org/info/rfc8340>. | |||
| [RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol | [RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol | |||
| Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018, | Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018, | |||
| <https://www.rfc-editor.org/info/rfc8446>. | <https://www.rfc-editor.org/info/rfc8446>. | |||
| [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, | ||||
| <https://www.rfc-editor.org/info/rfc8792>. | ||||
| [RFC9000] Iyengar, J., Ed. and M. Thomson, Ed., "QUIC: A UDP-Based | [RFC9000] Iyengar, J., Ed. and M. Thomson, Ed., "QUIC: A UDP-Based | |||
| Multiplexed and Secure Transport", RFC 9000, | Multiplexed and Secure Transport", RFC 9000, | |||
| DOI 10.17487/RFC9000, May 2021, | DOI 10.17487/RFC9000, May 2021, | |||
| <https://www.rfc-editor.org/info/rfc9000>. | <https://www.rfc-editor.org/info/rfc9000>. | |||
| Acknowledgments | Acknowledgments | |||
| The authors of [RFC5130] are acknowledged, since this document draws | The authors of [RFC5130] are acknowledged, since this document draws | |||
| upon both the IS-IS specification and deployment experience. The | upon both the IS-IS specification and deployment experience. The | |||
| text in Section 4 is adopted from [RFC5130]. | text in Section 4 is adopted from [RFC5130]. | |||
| End of changes. 12 change blocks. | ||||
| 55 lines changed or deleted | 49 lines changed or added | |||
This html diff was produced by rfcdiff 1.48. | ||||