rfc9587v5.txt   rfc9587.txt 
Internet Engineering Task Force (IETF) A. Lindem Internet Engineering Task Force (IETF) A. Lindem
Request for Comments: 9587 LabN Consulting, L.L.C. Request for Comments: 9587 LabN Consulting, L.L.C.
Category: Standards Track S. Palani Category: Standards Track S. Palani
ISSN: 2070-1721 Microsoft ISSN: 2070-1721 Microsoft
Y. Qu Y. Qu
Futurewei Technologies Futurewei Technologies
May 2024 June 2024
YANG Data Model for OSPFv3 Extended Link State Advertisements (LSAs) YANG Data Model for OSPFv3 Extended Link State Advertisements (LSAs)
Abstract Abstract
This document defines a YANG data model augmenting the IETF OSPF YANG This document defines a YANG data model augmenting the IETF OSPF YANG
data model (RFC 9129) to provide support for OSPFv3 Link State data model (RFC 9129) to provide support for OSPFv3 Link State
Advertisement (LSA) Extensibility as defined in RFC 8362. OSPFv3 Advertisement (LSA) Extensibility as defined in RFC 8362. OSPFv3
Extended LSAs provide extensible TLV-based LSAs for the base LSA Extended LSAs provide extensible TLV-based LSAs for the base LSA
types defined in RFC 5340. types defined in RFC 5340.
skipping to change at line 586 skipping to change at line 586
type inet:ip-prefix; type inet:ip-prefix;
description description
"LSA prefix."; "LSA prefix.";
} }
container prefix-options { container prefix-options {
leaf-list prefix-options { leaf-list prefix-options {
type identityref { type identityref {
base ospfv3-e-prefix-option; base ospfv3-e-prefix-option;
} }
description description
"OSPFv3 prefix option flag list. This list will "OSPFv3 prefix options flag list. This list will
contain the identities for the OSPFv3 options contain the identities for the OSPFv3 options
that are set for the OSPFv3 prefix."; that are set for the OSPFv3 prefix.";
} }
description description
"Prefix options."; "Prefix options.";
reference reference
"RFC 8362: OSPFv3 Link State Advertisement (LSA) "RFC 8362: OSPFv3 Link State Advertisement (LSA)
Extensibility, Section 3.1"; Extensibility, Section 3.1";
} }
reference reference
"RFC 8362: OSPFv3 Link State Advertisement (LSA) "RFC 8362: OSPFv3 Link State Advertisement (LSA)
Extensibility, Section 3"; Extensibility, Section 3";
} }
grouping external-prefix-tlv { grouping external-prefix-tlv {
container external-prefix-tlv { container external-prefix-tlv {
description description
"External Prefix LSA TLV."; "External-Prefix TLV.";
container flags { container flags {
leaf-list ospfv3-e-external-prefix-bits { leaf-list ospfv3-e-external-prefix-bits {
type identityref { type identityref {
base ospfv3-e-external-prefix-option; base ospfv3-e-external-prefix-option;
} }
description description
"OSPFv3 External-Prefix TLV bits list."; "OSPFv3 External-Prefix TLV bits list.";
} }
description description
"External prefix flags."; "External prefix flags.";
skipping to change at line 701 skipping to change at line 701
description description
"Intra-Area-Prefix TLV grouping."; "Intra-Area-Prefix TLV grouping.";
reference reference
"RFC 8362: OSPFv3 Link State Advertisement (LSA) "RFC 8362: OSPFv3 Link State Advertisement (LSA)
Extensibility, Section 3.7"; Extensibility, Section 3.7";
} }
grouping ipv6-link-local-addr-tlv { grouping ipv6-link-local-addr-tlv {
container ipv6-link-local-addr-tlv { container ipv6-link-local-addr-tlv {
description description
"IPv6 Link-Local Address LSA TLV."; "IPv6 Link-Local Address TLV.";
leaf link-local-address { leaf link-local-address {
type inet:ipv6-address; type inet:ipv6-address;
description description
"IPv6 Link-Local address."; "IPv6 Link-Local address.";
} }
list sub-tlvs { list sub-tlvs {
description description
"IPv6 Link-Local Address TLV sub-TLVs."; "IPv6 Link-Local Address TLV sub-TLVs.";
uses unknown-sub-tlv; uses unknown-sub-tlv;
} }
skipping to change at line 723 skipping to change at line 723
description description
"IPv6 Link-Local Address TLV grouping."; "IPv6 Link-Local Address TLV grouping.";
reference reference
"RFC 8362: OSPFv3 Link State Advertisement (LSA) "RFC 8362: OSPFv3 Link State Advertisement (LSA)
Extensibility, Section 3.8"; Extensibility, Section 3.8";
} }
grouping ipv4-link-local-addr-tlv { grouping ipv4-link-local-addr-tlv {
container ipv4-link-local-addr-tlv { container ipv4-link-local-addr-tlv {
description description
"IPv4 Link-Local Address LSA TLV."; "IPv4 Link-Local Address TLV.";
leaf link-local-address { leaf link-local-address {
type inet:ipv4-address; type inet:ipv4-address;
description description
"IPv4 Link-Local address."; "IPv4 Link-Local address.";
} }
list sub-tlvs { list sub-tlvs {
description description
"IPv4 Link-Local Address TLV sub-TLVs."; "IPv4 Link-Local Address TLV sub-TLVs.";
uses unknown-sub-tlv; uses unknown-sub-tlv;
} }
skipping to change at line 1135 skipping to change at line 1135
container e-as-external { container e-as-external {
when "../../ospf:header/ospf:type = " when "../../ospf:header/ospf:type = "
+ "'ospfv3-e-lsa:ospfv3-e-as-external-lsa'" { + "'ospfv3-e-lsa:ospfv3-e-as-external-lsa'" {
description description
"Only applies to E-AS-External-LSAs."; "Only applies to E-AS-External-LSAs.";
} }
description description
"E-AS-External-LSA contents."; "E-AS-External-LSA contents.";
list e-external-tlvs { list e-external-tlvs {
description description
"E-External LSA TLVs."; "E-AS-External-LSA TLVs.";
container unknown-tlv { container unknown-tlv {
uses ospf:tlv; uses ospf:tlv;
description description
"Unknown E-External TLV."; "Unknown E-External TLV.";
} }
uses external-prefix-tlv; uses external-prefix-tlv;
} }
reference reference
"RFC 8362: OSPFv3 Link State Advertisement (LSA) "RFC 8362: OSPFv3 Link State Advertisement (LSA)
Extensibility, Section 4.5"; Extensibility, Section 4.5";
 End of changes. 6 change blocks. 
6 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.48.