| < draft-ietf-nvo3-yang-cfg-03.txt | draft-ietf-nvo3-yang-cfg-04.txt > | |||
|---|---|---|---|---|
| NVO3 B. Liu, Ed. | NVO3 B. Liu, Ed. | |||
| Internet-Draft Huawei Technologies | Internet-Draft Huawei Technologies | |||
| Intended status: Standards Track R. Chen | Intended status: Standards Track R. Chen | |||
| Expires: March 3, 2021 ZTE Corporation | Expires: September 6, 2021 ZTE Corporation | |||
| F. Qin | F. Qin | |||
| China Mobile | China Mobile | |||
| R. Rahman | R. Rahman | |||
| Cisco Systems | Cisco Systems | |||
| August 30, 2020 | March 5, 2021 | |||
| Base YANG Data Model for NVO3 Protocols | Base YANG Data Model for NVO3 Protocols | |||
| draft-ietf-nvo3-yang-cfg-03 | draft-ietf-nvo3-yang-cfg-04 | |||
| Abstract | Abstract | |||
| This document describes the base YANG data model that can be used by | This document describes the base YANG data model that can be used by | |||
| operators to configure and manage Network Virtualization Overlay | operators to configure and manage Network Virtualization Overlay | |||
| protocols. The model is focused on the common configuration | protocols. The model is focused on the common configuration | |||
| requirement of various encapsulation options, such as VXLAN, NVGRE, | requirement of various encapsulation options, such as VXLAN, NVGRE, | |||
| GENEVE and VXLAN-GPE. Using this model as a starting point, | GENEVE and VXLAN-GPE. Using this model as a starting point, | |||
| incremental work can be done to satisfy the requirement of a specific | incremental work can be done to satisfy the requirement of a specific | |||
| encapsulation. | encapsulation. | |||
| skipping to change at page 1, line 41 ¶ | skipping to change at page 1, line 41 ¶ | |||
| 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 March 3, 2021. | This Internet-Draft will expire on September 6, 2021. | |||
| Copyright Notice | Copyright Notice | |||
| Copyright (c) 2020 IETF Trust and the persons identified as the | Copyright (c) 2021 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 | |||
| carefully, as they describe your rights and restrictions with respect | carefully, as they describe your rights and restrictions with respect | |||
| to this document. Code Components extracted from this document must | to this document. Code Components extracted from this document must | |||
| include Simplified BSD License text as described in Section 4.e of | include Simplified BSD License text as described in Section 4.e of | |||
| the Trust Legal Provisions and are provided without warranty as | the Trust Legal Provisions and are provided without warranty as | |||
| skipping to change at page 2, line 32 ¶ | skipping to change at page 2, line 32 ¶ | |||
| 3.2.2. Virtual Network Instance . . . . . . . . . . . . . . 4 | 3.2.2. Virtual Network Instance . . . . . . . . . . . . . . 4 | |||
| 3.2.3. BUM Mode . . . . . . . . . . . . . . . . . . . . . . 5 | 3.2.3. BUM Mode . . . . . . . . . . . . . . . . . . . . . . 5 | |||
| 3.3. Statistics . . . . . . . . . . . . . . . . . . . . . . . 5 | 3.3. Statistics . . . . . . . . . . . . . . . . . . . . . . . 5 | |||
| 3.4. Model Structure . . . . . . . . . . . . . . . . . . . . . 5 | 3.4. Model Structure . . . . . . . . . . . . . . . . . . . . . 5 | |||
| 3.5. YANG Module . . . . . . . . . . . . . . . . . . . . . . . 8 | 3.5. YANG Module . . . . . . . . . . . . . . . . . . . . . . . 8 | |||
| 4. Security Considerations . . . . . . . . . . . . . . . . . . . 22 | 4. Security Considerations . . . . . . . . . . . . . . . . . . . 22 | |||
| 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 22 | 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 22 | |||
| 6. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 22 | 6. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 22 | |||
| 7. References . . . . . . . . . . . . . . . . . . . . . . . . . 23 | 7. References . . . . . . . . . . . . . . . . . . . . . . . . . 23 | |||
| 7.1. Normative References . . . . . . . . . . . . . . . . . . 23 | 7.1. Normative References . . . . . . . . . . . . . . . . . . 23 | |||
| 7.2. Informative References . . . . . . . . . . . . . . . . . 24 | 7.2. Informative References . . . . . . . . . . . . . . . . . 25 | |||
| Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 25 | Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 25 | |||
| 1. Introduction | 1. Introduction | |||
| Network Virtualization Overlays (NVO3), such as VXLAN [RFC7348], | Network Virtualization Overlays (NVO3), such as VXLAN [RFC7348], | |||
| NVGRE [RFC7637], GENEVE [I-D.ietf-nvo3-geneve] and VXLAN-GPE | NVGRE [RFC7637], GENEVE [I-D.ietf-nvo3-geneve] and VXLAN-GPE | |||
| [I-D.ietf-nvo3-vxlan-gpe], enable network virtualization for data | [I-D.ietf-nvo3-vxlan-gpe], enable network virtualization for data | |||
| center networks environment that assumes an IP-based underlay. | center networks environment that assumes an IP-based underlay. | |||
| YANG [RFC6020] is a data definition language that was introduced to | YANG [RFC6020] is a data definition language that was introduced to | |||
| skipping to change at page 8, line 7 ¶ | skipping to change at page 8, line 7 ¶ | |||
| | +---w input | | +---w input | |||
| | +---w vni-id uint32 | | +---w vni-id uint32 | |||
| +---x reset-vni-peer-statistic | +---x reset-vni-peer-statistic | |||
| +---w input | +---w input | |||
| +---w vni-id uint32 | +---w vni-id uint32 | |||
| +---w peer-ip inet:ip-address-no-zone | +---w peer-ip inet:ip-address-no-zone | |||
| +---w direction direction-type | +---w direction direction-type | |||
| 3.5. YANG Module | 3.5. YANG Module | |||
| <CODE BEGINS> file "ietf-nvo3-base@2020-08-26.yang" | <CODE BEGINS> file "ietf-nvo3-base@2021-03-08.yang" | |||
| module ietf-nvo3-base { | module ietf-nvo3-base { | |||
| yang-version 1.1; | yang-version 1.1; | |||
| namespace "urn:ietf:params:xml:ns:yang:ietf-nvo3-base"; | namespace "urn:ietf:params:xml:ns:yang:ietf-nvo3-base"; | |||
| prefix "nvo3"; | prefix "nvo3"; | |||
| import ietf-network-instance { | import ietf-network-instance { | |||
| prefix "ni"; | prefix "ni"; | |||
| } | } | |||
| skipping to change at page 8, line 41 ¶ | skipping to change at page 8, line 41 ¶ | |||
| prefix "l3vpn"; | prefix "l3vpn"; | |||
| } | } | |||
| import iana-if-type { | import iana-if-type { | |||
| prefix ianaift; | prefix ianaift; | |||
| } | } | |||
| organization "ietf"; | organization "ietf"; | |||
| contact "ietf"; | contact "ietf"; | |||
| description "Yang model for NVO3."; | description "Yang model for NVO3."; | |||
| revision 2021-03-08 { | ||||
| description | ||||
| "Fix the keyword 'must' order issue in the leaf source-nve"; | ||||
| reference | ||||
| ""; | ||||
| } | ||||
| revision 2020-08-26 { | revision 2020-08-26 { | |||
| description | description | |||
| "Clean non ietf-bgp-l3vpn & ietf-l2vpn related errors."; | "Clean non ietf-bgp-l3vpn & ietf-l2vpn related errors."; | |||
| reference | reference | |||
| ""; | ""; | |||
| } | } | |||
| revision 2020-07-22 { | revision 2020-07-22 { | |||
| description | description | |||
| "Solve syntax and norms issues."; | "Solve syntax and norms issues."; | |||
| reference | reference | |||
| ""; | ""; | |||
| } | } | |||
| revision 2020-03-09 { | revision 2020-03-09 { | |||
| description | description | |||
| "Revise some design in the statitics."; | "Revise some design in the statitics."; | |||
| reference | reference | |||
| ""; | ""; | |||
| } | } | |||
| revision 2019-11-04 { | revision 2019-11-04 { | |||
| skipping to change at page 14, line 4 ¶ | skipping to change at page 14, line 9 ¶ | |||
| container nvo3 { | container nvo3 { | |||
| description | description | |||
| "Management of NVO3."; | "Management of NVO3."; | |||
| container vni-instances { | container vni-instances { | |||
| description | description | |||
| "List of virtual network instances."; | "List of virtual network instances."; | |||
| list vni-instance { | list vni-instance { | |||
| key "vni-id"; | key "vni-id"; | |||
| description | description | |||
| "Configure the information of VNI."; | "Configure the information of VNI."; | |||
| leaf vni-id { | leaf vni-id { | |||
| type uint32 { | type uint32 { | |||
| range "1..16777215"; | range "1..16777215"; | |||
| } | } | |||
| description | description | |||
| "The id of VNI."; | "The id of VNI."; | |||
| } | } | |||
| leaf vni-mode { | leaf vni-mode { | |||
| type vni-mode; | type vni-mode; | |||
| default "local"; | default "local"; | |||
| description | description | |||
| "The mode of VNI."; | "The mode of VNI."; | |||
| } | } | |||
| leaf source-nve { | leaf source-nve { | |||
| type if:interface-ref; | type if:interface-ref; | |||
| mandatory true; | ||||
| must "(/if:interfaces/if:interface[if:name=current()]/if:type='Nve')"; | must "(/if:interfaces/if:interface[if:name=current()]/if:type='Nve')"; | |||
| mandatory true; | ||||
| description | description | |||
| "The name of the local NVE."; | "The name of the local NVE."; | |||
| } | } | |||
| leaf protocol-bgp { | leaf protocol-bgp { | |||
| type boolean; | type boolean; | |||
| default "false"; | default "false"; | |||
| description | description | |||
| "Learn remote NVEs in the same VNI via BGP."; | "Learn remote NVEs in the same VNI via BGP."; | |||
| } | } | |||
| leaf status { | leaf status { | |||
| skipping to change at page 24, line 49 ¶ | skipping to change at page 25, line 10 ¶ | |||
| Uttaro, J., and W. Henderickx, "A Network Virtualization | Uttaro, J., and W. Henderickx, "A Network Virtualization | |||
| Overlay Solution Using Ethernet VPN (EVPN)", RFC 8365, | Overlay Solution Using Ethernet VPN (EVPN)", RFC 8365, | |||
| DOI 10.17487/RFC8365, March 2018, | DOI 10.17487/RFC8365, March 2018, | |||
| <https://www.rfc-editor.org/info/rfc8365>. | <https://www.rfc-editor.org/info/rfc8365>. | |||
| 7.2. Informative References | 7.2. Informative References | |||
| [I-D.ietf-bess-evpn-inter-subnet-forwarding] | [I-D.ietf-bess-evpn-inter-subnet-forwarding] | |||
| Sajassi, A., Salam, S., Thoria, S., Drake, J., and J. | Sajassi, A., Salam, S., Thoria, S., Drake, J., and J. | |||
| Rabadan, "Integrated Routing and Bridging in EVPN", draft- | Rabadan, "Integrated Routing and Bridging in EVPN", draft- | |||
| ietf-bess-evpn-inter-subnet-forwarding-09 (work in | ietf-bess-evpn-inter-subnet-forwarding-11 (work in | |||
| progress), June 2020. | progress), October 2020. | |||
| [I-D.ietf-nvo3-geneve] | [I-D.ietf-nvo3-geneve] | |||
| Gross, J., Ganga, I., and T. Sridhar, "Geneve: Generic | Gross, J., Ganga, I., and T. Sridhar, "Geneve: Generic | |||
| Network Virtualization Encapsulation", draft-ietf- | Network Virtualization Encapsulation", draft-ietf- | |||
| nvo3-geneve-16 (work in progress), March 2020. | nvo3-geneve-16 (work in progress), March 2020. | |||
| [I-D.ietf-nvo3-vxlan-gpe] | [I-D.ietf-nvo3-vxlan-gpe] | |||
| Maino, F., Kreeger, L., and U. Elzur, "Generic Protocol | Maino, F., Kreeger, L., and U. Elzur, "Generic Protocol | |||
| Extension for VXLAN (VXLAN-GPE)", draft-ietf-nvo3-vxlan- | Extension for VXLAN (VXLAN-GPE)", draft-ietf-nvo3-vxlan- | |||
| gpe-10 (work in progress), July 2020. | gpe-10 (work in progress), July 2020. | |||
| End of changes. 14 change blocks. | ||||
| 13 lines changed or deleted | 16 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/ | ||||