| < draft-ietf-lsr-ospfv3-extended-lsa-yang-05.txt | draft-ietf-lsr-ospfv3-extended-lsa-yang-06.txt > | |||
|---|---|---|---|---|
| Internet A. Lindem | Internet A. Lindem | |||
| Internet-Draft S. Palani | Internet-Draft Cisco Systems | |||
| Intended status: Standards Track Cisco Systems | Intended status: Standards Track S. Palani | |||
| Expires: April 3, 2021 Y. Qu | Expires: April 4, 2021 Microsoft | |||
| Y. Qu | ||||
| Futurewei | Futurewei | |||
| September 30, 2020 | October 1, 2020 | |||
| YANG Model for OSPFv3 Extended LSAs | YANG Model for OSPFv3 Extended LSAs | |||
| draft-ietf-lsr-ospfv3-extended-lsa-yang-05 | draft-ietf-lsr-ospfv3-extended-lsa-yang-06 | |||
| 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 | |||
| model to provide support for OSPFv3 Link State Advertisement (LSA) | model to provide support for OSPFv3 Link State Advertisement (LSA) | |||
| Extensibility as defined in RFC 8362. OSPFv3 Extended LSAs provide | Extensibility as defined in RFC 8362. OSPFv3 Extended LSAs provide | |||
| extensible TLV-based LSAs for the base LSA types defined in RFC 5340. | extensible TLV-based LSAs for the base LSA types defined in RFC 5340. | |||
| Status of This Memo | Status of This Memo | |||
| skipping to change at page 1, line 35 ¶ | skipping to change at page 1, line 36 ¶ | |||
| Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
| Task Force (IETF). Note that other groups may also distribute | Task Force (IETF). Note that other groups may also distribute | |||
| working documents as Internet-Drafts. The list of current Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
| Drafts is at https://datatracker.ietf.org/drafts/current/. | Drafts is at https://datatracker.ietf.org/drafts/current/. | |||
| Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
| and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
| time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
| material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
| This Internet-Draft will expire on April 3, 2021. | This Internet-Draft will expire on April 4, 2021. | |||
| Copyright Notice | Copyright Notice | |||
| Copyright (c) 2020 IETF Trust and the persons identified as the | Copyright (c) 2020 IETF Trust and the persons identified as the | |||
| document authors. All rights reserved. | document authors. All rights reserved. | |||
| This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
| Provisions Relating to IETF Documents | Provisions Relating to IETF Documents | |||
| (https://trustee.ietf.org/license-info) in effect on the date of | (https://trustee.ietf.org/license-info) in effect on the date of | |||
| publication of this document. Please review these documents | publication of this document. Please review these documents | |||
| skipping to change at page 7, line 49 ¶ | skipping to change at page 7, line 49 ¶ | |||
| +--ro route-tag-sub-tlv | +--ro route-tag-sub-tlv | |||
| +--ro route-tag-sub-tlv-length? uint16 | +--ro route-tag-sub-tlv-length? uint16 | |||
| +--ro route-tag? uint32 | +--ro route-tag? uint32 | |||
| 4. OSPFv3 Extended LSA Yang Module | 4. OSPFv3 Extended LSA Yang Module | |||
| The following RFCs and drafts are not referenced in the document text | The following RFCs and drafts are not referenced in the document text | |||
| but are referenced in the ietf-ospfv3-extended-lsa.yang module: | but are referenced in the ietf-ospfv3-extended-lsa.yang module: | |||
| [RFC6991], [RFC8294]. | [RFC6991], [RFC8294]. | |||
| <CODE BEGINS> file "ietf-ospfv3-extended-lsa@2020-09-30.yang" | <CODE BEGINS> file "ietf-ospfv3-extended-lsa@2020-10-01.yang" | |||
| module ietf-ospfv3-extended-lsa { | module ietf-ospfv3-extended-lsa { | |||
| yang-version 1.1; | yang-version 1.1; | |||
| namespace | namespace | |||
| "urn:ietf:params:xml:ns:yang:ietf-ospfv3-extended-lsa"; | "urn:ietf:params:xml:ns:yang:ietf-ospfv3-extended-lsa"; | |||
| prefix ospfv3-e-lsa; | prefix ospfv3-e-lsa; | |||
| import ietf-routing-types { | import ietf-routing-types { | |||
| prefix "rt-types"; | prefix "rt-types"; | |||
| reference "RFC 8294 - Common YANG Data Types for the | reference "RFC 8294 - Common YANG Data Types for the | |||
| skipping to change at page 8, line 43 ¶ | skipping to change at page 8, line 43 ¶ | |||
| organization | organization | |||
| "IETF LSR - Link State Routing Working Group"; | "IETF LSR - Link State Routing Working Group"; | |||
| contact | contact | |||
| "WG Web: <http://tools.ietf.org/wg/lsr/> | "WG Web: <http://tools.ietf.org/wg/lsr/> | |||
| WG List: <mailto:lsr@ietf.org> | WG List: <mailto:lsr@ietf.org> | |||
| Author: Acee Lindem | Author: Acee Lindem | |||
| <mailto:acee@cisco.com> | <mailto:acee@cisco.com> | |||
| Author: Sharmila Palani | Author: Sharmila Palani | |||
| <mailto:shpalani@cisco.com> | <mailto:sharmila.palani@microsoft.com> | |||
| Author: Yingzhen Qu | Author: Yingzhen Qu | |||
| <mailto:yingzhen.qu@futurewei.com>"; | <mailto:yingzhen.qu@futurewei.com>"; | |||
| description | description | |||
| "This YANG module defines the configuration | "This YANG module defines the configuration | |||
| and operational state for OSPFv3 Extended LSAs, which is | and operational state for OSPFv3 Extended LSAs, which is | |||
| common across all of the vendor implementations. The | common across all of the vendor implementations. The | |||
| semantics and encodings for OSPFv3 Extended LSAs is | semantics and encodings for OSPFv3 Extended LSAs is | |||
| described in RFC 8362. | described in RFC 8362. | |||
| skipping to change at page 9, line 24 ¶ | skipping to change at page 9, line 24 ¶ | |||
| to the license terms contained in, the Simplified BSD License | to the license terms contained in, the Simplified BSD License | |||
| set forth in Section 4.c of the IETF Trust's Legal Provisions | set forth in Section 4.c of the IETF Trust's Legal Provisions | |||
| Relating to IETF Documents | Relating to IETF Documents | |||
| (http://trustee.ietf.org/license-info). | (http://trustee.ietf.org/license-info). | |||
| This version of this YANG module is part of RFC XXXX; | This version of this YANG module is part of RFC XXXX; | |||
| see the RFC itself for full legal notices."; | see the RFC itself for full legal notices."; | |||
| reference "RFC XXXX - YANG Model for OSPFv3 Extended LSAs"; | reference "RFC XXXX - YANG Model for OSPFv3 Extended LSAs"; | |||
| revision 2020-09-30 { | revision 2020-10-01 { | |||
| description | description | |||
| "Initial revision."; | "Initial revision."; | |||
| reference | reference | |||
| "RFC XXXX: A YANG Data Model for OSPFv3 Extended LSAs."; | "RFC XXXX: A YANG Data Model for OSPFv3 Extended LSAs."; | |||
| } | } | |||
| /* | /* | |||
| * OSPFv3 Extend LSA Type Identities | * OSPFv3 Extend LSA Type Identities | |||
| */ | */ | |||
| identity ospfv3-e-router-lsa { | identity ospfv3-e-router-lsa { | |||
| skipping to change at page 23, line 44 ¶ | skipping to change at page 23, line 44 ¶ | |||
| description | description | |||
| "This augments the OSPFv3 area configuration | "This augments the OSPFv3 area configuration | |||
| when used."; | when used."; | |||
| } | } | |||
| description | description | |||
| "This augments the OSPFv3 protocol area | "This augments the OSPFv3 protocol area | |||
| configuration with extended LSA support."; | configuration with extended LSA support."; | |||
| leaf extended-lsa-support { | leaf extended-lsa-support { | |||
| type boolean; | type boolean; | |||
| must "derived-from(../ospf:area-type,'stub-nssa-area') or " | must "derived-from(../ospf:area-type,'stub-nssa-area') or " | |||
| + "not(../extended-lsa-support) or " | + "(current() = 'true') or " | |||
| + "../extended-lsa-support = 'true' or " | + "(../../../extended-lsa-support = 'false')" { | |||
| + "../../../extended-lsa-support = 'false'" { | ||||
| description | description | |||
| "For regular areas, i.e., areas where AS-scoped LSAs | "For regular areas, i.e., areas where AS-scoped LSAs | |||
| disabling AreaExtendedLSASupport for a regular | disabling AreaExtendedLSASupport for a regular | |||
| OSPFv3 area (not a Stub or NSSA area) when | OSPFv3 area (not a Stub or NSSA area) when | |||
| ExtendedLSASupport is enabled is contradictory and | ExtendedLSASupport is enabled is contradictory and | |||
| is prohibited."; | is prohibited."; | |||
| } | } | |||
| description | description | |||
| "Enable OSPFv3 Extended LSA Support for the OSPFv3 | "Enable OSPFv3 Extended LSA Support for the OSPFv3 | |||
| area. If not specified, Extended LSA support status | area. If not specified, Extended LSA support status | |||
| is inherited from the instance level configuration."; | is inherited from the instance level configuration."; | |||
| reference | reference | |||
| "RFC 8362 - OSPFv3 Link State Advertisement (LSA) | "RFC 8362 - OSPFv3 Link State Advertisement (LSA) | |||
| Extensibility, Appendix B - AreaExtendedLSASupport"; | Extensibility, Appendix B - AreaExtendedLSASupport"; | |||
| } | } | |||
| } | } | |||
| skipping to change at page 25, line 21 ¶ | skipping to change at page 25, line 21 ¶ | |||
| + "rt:type = 'ospf:ospfv3'" { | + "rt:type = 'ospf:ospfv3'" { | |||
| description | description | |||
| "This augmentation is only valid for OSPFv3."; | "This augmentation is only valid for OSPFv3."; | |||
| } | } | |||
| description | description | |||
| "OSPFv3 AS-Scoped Extended LSAs"; | "OSPFv3 AS-Scoped Extended LSAs"; | |||
| uses ospfv3-e-lsa-as; | uses ospfv3-e-lsa-as; | |||
| } | } | |||
| } | } | |||
| CODE ENDS> | <CODE ENDS> | |||
| 5. Security Considerations | 5. Security Considerations | |||
| The YANG modules specified in this document define a schema for data | The YANG modules specified in this document define a schema for data | |||
| that is designed to be accessed via network management protocols such | that is designed to be accessed via network management protocols such | |||
| as NETCONF [RFC6241] or RESTCONF [RFC8040]. The lowest NETCONF layer | as NETCONF [RFC6241] or RESTCONF [RFC8040]. The lowest NETCONF layer | |||
| is the secure transport layer, and the mandatory-to-implement secure | is the secure transport layer, and the mandatory-to-implement secure | |||
| transport is Secure Shell (SSH) [RFC6242]. The lowest RESTCONF layer | transport is Secure Shell (SSH) [RFC6242]. The lowest RESTCONF layer | |||
| is HTTPS, and the mandatory-to-implement secure transport is TLS | is HTTPS, and the mandatory-to-implement secure transport is TLS | |||
| [RFC8446]. | [RFC8446]. | |||
| skipping to change at page 28, line 45 ¶ | skipping to change at page 28, line 45 ¶ | |||
| Authors' Addresses | Authors' Addresses | |||
| Acee Lindem | Acee Lindem | |||
| Cisco Systems | Cisco Systems | |||
| 301 Midenhall Way | 301 Midenhall Way | |||
| Cary, NC 27513 | Cary, NC 27513 | |||
| EMail: acee@cisco.com | EMail: acee@cisco.com | |||
| Sharmila Palani | Sharmila Palani | |||
| Cisco Systems | Microsoft | |||
| 170 West Tasman Drive | 1 Microsoft Way, Redmond, WA 98052170 West Tasman Drive | |||
| San Jose, CA 95134 | Redmond, WA 98052 | |||
| EMail: shpalani@cisco.com | EMail: sharmila.palani@microsoft.com | |||
| Yingzhen Qu | Yingzhen Qu | |||
| Futurewei | Futurewei | |||
| 2330 Central Expressway | 2330 Central Expressway | |||
| Santa Clara, CA 95050 | Santa Clara, CA 95050 | |||
| USA | USA | |||
| EMail: yingzhen.qu@futurewei.com | EMail: yingzhen.qu@futurewei.com | |||
| End of changes. 12 change blocks. | ||||
| 18 lines changed or deleted | 17 lines changed or added | |||
This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||