This YANG module defines the configuration and operational state for OSPFv3 Extended LSAs, which is common across all vendor imp...
Version: 2024-06-07
module ietf-ospfv3-extended-lsa { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-ospfv3-extended-lsa"; prefix ospfv3-e-lsa; import ietf-routing-types { prefix rt-types; reference "RFC 8294: Common YANG Data Types for the Routing Area"; } import ietf-inet-types { prefix inet; reference "RFC 6991: Common YANG Data Types"; } import ietf-routing { prefix rt; reference "RFC 8349: A YANG Data Model for Routing Management (NMDA Version)"; } import ietf-ospf { prefix ospf; reference "RFC 9129: YANG Data Model for the OSPF Protocol"; } organization "IETF LSR - Link State Routing Working Group"; contact "WG Web: <https://datatracker.ietf.org/wg/lsr/> WG List: <mailto:lsr@ietf.org> Author: Acee Lindem <mailto:acee.ietf@gmail.com> Author: Sharmila Palani <mailto:sharmila.palani@microsoft.com> Author: Yingzhen Qu <mailto:yingzhen.ietf@gmail.com>"; description "This YANG module defines the configuration and operational state for OSPFv3 Extended LSAs, which is common across all vendor implementations. The semantics and encodings for OSPFv3 Extended LSAs are described in RFC 8362. OSPFv3 Extended LSAs provide extensible TLV-based LSAs for the base LSA types defined in RFC 5340. This YANG data model conforms to the Network Management Datastore Architecture (NMDA) as described in RFC 8342. Copyright (c) 2024 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). This version of this YANG module is part of RFC 9587; see the RFC itself for full legal notices."; reference "RFC 9587: YANG Data Model for OSPFv3 Extended Link State Advertisements (LSAs)"; revision "2024-06-07" { description "Initial revision."; reference "RFC 9587: YANG Data Model for OSPFv3 Extended Link State Advertisements (LSAs)"; } identity ospfv3-e-router-lsa { base ospf:ospfv3-lsa-type; description "OSPFv3 E-Router-LSA - Type 0xA021."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 4.1"; } identity ospfv3-e-network-lsa { base ospf:ospfv3-lsa-type; description "OSPFv3 E-Network-LSA - Type 0xA022."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 4.2"; } identity ospfv3-e-summary-lsa-type { base ospf:ospfv3-lsa-type; description "OSPFv3 Extended Summary LSA types: E-Inter-Area-Prefix-LSA and E-Inter-Area-Router-LSA."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Sections 4.3 and 4.4"; } identity ospfv3-e-inter-area-prefix-lsa { base ospfv3-e-summary-lsa-type; description "OSPFv3 E-Inter-Area-Prefix-LSA - Type 0xA023."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 4.3"; } identity ospfv3-e-inter-area-router-lsa { base ospfv3-e-summary-lsa-type; description "OSPFv3 E-Inter-Area-Router-LSA - Type 0xA024."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 4.4"; } identity ospfv3-e-external-lsa-type { base ospf:ospfv3-lsa-type; description "OSPFv3 Extended External LSA types: E-AS-External-LSA and E-NSSA-LSA (where NSSA expands to Not-So-Stubby-Area)."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Sections 4.5 and 4.6"; } identity ospfv3-e-as-external-lsa { base ospfv3-e-external-lsa-type; description "OSPFv3 E-AS-External-LSA - Type 0xC025."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 4.5"; } identity ospfv3-e-nssa-lsa { base ospfv3-e-external-lsa-type; description "OSPFv3 E-NSSA-LSA - Type 0xA027."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 4.6"; } identity ospfv3-e-link-lsa { base ospf:ospfv3-lsa-type; description "OSPFv3 E-Link-LSA - Type 0x8028."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 4.7"; } identity ospfv3-e-intra-area-prefix-lsa { base ospf:ospfv3-lsa-type; description "OSPFv3 E-Intra-Area-Prefix-LSA - Type 0xA029."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 4.8"; } identity ospfv3-e-prefix-option { description "Base identity for OSPFv3 prefix options."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 3.1"; } identity nu-bit { base ospfv3-e-prefix-option; description "When set, the prefix should be excluded from IPv6 unicast calculations."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 3.1 RFC 5340: OSPF for IPv6, Appendix A.4.1.1"; } identity la-bit { base ospfv3-e-prefix-option; description "When set, the prefix is actually an IPv6 interface address of the advertising router."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 3.1 RFC 5340: OSPF for IPv6, Appendix A.4.1.1"; } identity p-bit { base ospfv3-e-prefix-option; description "When set, the NSSA prefix should be translated to an E-AS-External-LSA and advertised by the translating NSSA Border Router."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 3.1 RFC 5340: OSPF for IPv6, Appendix A.4.1.1"; } identity dn-bit { base ospfv3-e-prefix-option; description "When set, the E-Inter-Area-Prefix-LSA or E-AS-External-LSA prefix has been advertised as an L3VPN prefix."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 3.1 RFC 5340: OSPF for IPv6, Appendix A.4.1.1"; } identity n-bit { base ospfv3-e-prefix-option; description "When set, the prefix is a host address that identifies the advertising router."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 3.1 RFC 5340: OSPF for IPv6, Appendix A.4.1.1"; } identity ospfv3-e-external-prefix-option { description "Base identity for OSPFv3 external prefix options."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 3.6"; } identity e-bit { base ospfv3-e-external-prefix-option; description "When the E-bit is set, the metric specified is a Type 2 external metric. This means the metric is considered larger than any intra-AS path. When the E-bit is clear, the specified metric is a Type 1 external metric. This means that it is expressed in the same units as other LSAs (i.e., the same units as the interface costs in Router-LSAs)."; reference "RFC 8362: OSPFv3 Link State Advertisement (LSA) Extensibility, Section 3.6"; } } // module ietf-ospfv3-extended-lsa
© 2023 YumaWorks, Inc. All rights reserved.