< draft-ietf-softwire-dslite-yang-13.txt   draft-ietf-softwire-dslite-yang-14.txt >
Network Working Group M. Boucadair Network Working Group M. Boucadair
Internet-Draft C. Jacquenet Internet-Draft C. Jacquenet
Intended status: Standards Track Orange Intended status: Standards Track Orange
Expires: July 13, 2018 S. Sivakumar Expires: July 13, 2018 S. Sivakumar
Cisco Systems Cisco Systems
January 9, 2018 January 9, 2018
A YANG Data Module for Dual-Stack Lite (DS-Lite) A YANG Data Module for Dual-Stack Lite (DS-Lite)
draft-ietf-softwire-dslite-yang-13 draft-ietf-softwire-dslite-yang-14
Abstract Abstract
This document defines a YANG module for the DS-Lite Address Family This document defines a YANG module for the DS-Lite Address Family
Transition Router (AFTR) and Basic Bridging BroadBand (B4) elements. Transition Router (AFTR) and Basic Bridging BroadBand (B4) elements.
Editorial Note (To be removed by RFC Editor) Editorial Note (To be removed by RFC Editor)
Please update these statements with the RFC number to be assigned to Please update these statements with the RFC number to be assigned to
this document: this document:
skipping to change at page 2, line 29 skipping to change at page 2, line 29
Table of Contents Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 4 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 4
2. DS-Lite YANG Module: An Overview . . . . . . . . . . . . . . 4 2. DS-Lite YANG Module: An Overview . . . . . . . . . . . . . . 4
3. DS-Lite YANG Module . . . . . . . . . . . . . . . . . . . . . 6 3. DS-Lite YANG Module . . . . . . . . . . . . . . . . . . . . . 6
4. Security Considerations . . . . . . . . . . . . . . . . . . . 14 4. Security Considerations . . . . . . . . . . . . . . . . . . . 14
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 15 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 15
6. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 15 6. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 15
7. References . . . . . . . . . . . . . . . . . . . . . . . . . 15 7. References . . . . . . . . . . . . . . . . . . . . . . . . . 16
7.1. Normative references . . . . . . . . . . . . . . . . . . 15 7.1. Normative references . . . . . . . . . . . . . . . . . . 16
7.2. Informative references . . . . . . . . . . . . . . . . . 17 7.2. Informative references . . . . . . . . . . . . . . . . . 17
Appendix A. B4 Example . . . . . . . . . . . . . . . . . . . . . 18 Appendix A. B4 Example . . . . . . . . . . . . . . . . . . . . . 18
Appendix B. AFTR Examples . . . . . . . . . . . . . . . . . . . 18 Appendix B. AFTR Examples . . . . . . . . . . . . . . . . . . . 18
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 19 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 19
1. Introduction 1. Introduction
This document defines a data model for DS-Lite [RFC6333], using the This document defines a data model for DS-Lite [RFC6333], using the
YANG data modeling language [RFC7950]. Both the Address Family YANG data modeling language [RFC7950]. Both the Address Family
Transition Router (AFTR) and Basic Bridging BroadBand (B4) elements Transition Router (AFTR) and Basic Bridging BroadBand (B4) elements
skipping to change at page 6, line 9 skipping to change at page 6, line 9
packet upstream. packet upstream.
Access Control List (ACL) and Quality of Service (QoS) policies Access Control List (ACL) and Quality of Service (QoS) policies
discussed in Section 2.5 of [RFC6908] are out of scope. A YANG discussed in Section 2.5 of [RFC6908] are out of scope. A YANG
module for ACLs is documented in [I-D.ietf-netmod-acl-model]. module for ACLs is documented in [I-D.ietf-netmod-acl-model].
Likewise, PCP-related considerations discussed in Section 8.5 of Likewise, PCP-related considerations discussed in Section 8.5 of
[RFC6333] are out of scope. A YANG module for PCP is documented in [RFC6333] are out of scope. A YANG module for PCP is documented in
[I-D.boucadair-pcp-yang]. [I-D.boucadair-pcp-yang].
module: ietf-dslite module: ietf-dslite
augment /if:interfaces/if:interface: augment /if:interfaces/if:interface:
+--rw ipv6-address? inet:ipv6-address +--rw ipv6-address? inet:ipv6-address
+--rw ipv4-address? inet:ipv4-address +--rw ipv4-address? inet:ipv4-address
+--rw aftr-ipv6-addr? inet:ipv6-address {b4}? +--rw aftr-ipv6-addr? inet:ipv6-address {b4}?
+--rw tunnel-mtu? uint16 +--rw tunnel-mtu? uint16
+--rw v6-v4-dscp-preservation? boolean +--rw v6-v4-dscp-preservation? boolean
augment /nat:nat/nat:instances/nat:instance/nat:policy: augment /nat:nat/nat:instances/nat:instance/nat:policy:
+--rw max-softwires-per-subscriber? uint8 {aftr}? +--rw max-softwires-per-subscriber? uint8 {aftr}?
+--rw state-migrate? boolean {aftr}? +--rw state-migrate? boolean {aftr}?
+--rw b4-address-change-limit? uint32 {aftr}? +--rw b4-address-change-limit? uint32 {aftr}?
+--rw mss-clamping {aftr}? +--rw mss-clamping {aftr}?
+--rw enable? boolean +--rw enable? boolean
+--rw mss-value? uint16 +--rw mss-value? uint16
augment /nat:nat/nat:instances/nat:instance/nat:mapping-table/nat:mapping-entry: augment /nat:nat/nat:instances/nat:instance
+--rw b4-ipv6-address {aftr}? /nat:mapping-table/nat:mapping-entry:
| +--rw address? inet:ipv6-address +--rw b4-ipv6-address {aftr}?
| +--rw last-address-change? yang:date-and-time | +--rw address? inet:ipv6-address
+--rw v6-dscp? uint8 {aftr}? | +--rw last-address-change? yang:date-and-time
+--rw internal-v4-dscp? uint8 {aftr}? +--rw v6-dscp? uint8 {aftr}?
+--rw external-v4-dscp? uint8 {aftr}? +--rw internal-v4-dscp? uint8 {aftr}?
augment /nat:nat/nat:instances/nat:instance/nat:statistics/nat:mappings-statistics: +--rw external-v4-dscp? uint8 {aftr}?
+--ro active-softwires? yang:gauge32 {aftr}? augment /nat:nat/nat:instances/nat:instance
/nat:statistics/nat:mappings-statistics:
+--ro active-softwires? yang:gauge32 {aftr}?
notifications: notifications:
+---n b4-address-change-limit-policy-violation {aftr}? +---n b4-address-change-limit-policy-violation {aftr}?
+--ro id -> /nat:nat/instances/instance/id +--ro id -> /nat:nat/instances/instance/id
+--ro policy-id -> /nat:nat/instances/instance/policy/id +--ro policy-id -> /nat:nat/instances/instance/policy/id
+--ro address inet:ipv6-address +--ro address inet:ipv6-address
Figure 2: YANG Module for DS-Lite Figure 2: YANG Module for DS-Lite
Examples to illustrate the use of this module are provided in Examples to illustrate the use of this module are provided in
Appendix A and Appendix B. Appendix A and Appendix B.
3. DS-Lite YANG Module 3. DS-Lite YANG Module
<CODE BEGINS> file "ietf-dslite@2018-01-10.yang" <CODE BEGINS> file "ietf-dslite@2018-01-10.yang"
skipping to change at page 18, line 11 skipping to change at page 18, line 11
Prefix Binding in the Context of Softwire Dual-Stack Prefix Binding in the Context of Softwire Dual-Stack
Lite", RFC 7785, DOI 10.17487/RFC7785, February 2016, Lite", RFC 7785, DOI 10.17487/RFC7785, February 2016,
<https://www.rfc-editor.org/info/rfc7785>. <https://www.rfc-editor.org/info/rfc7785>.
Appendix A. B4 Example Appendix A. B4 Example
The following example shows a B4 element (2001:db8:0:1::1) that is The following example shows a B4 element (2001:db8:0:1::1) that is
configured with an AFTR element (2001:db8:0:2::1). The B4 element is configured with an AFTR element (2001:db8:0:2::1). The B4 element is
also instructed to preserve the DSCP marking. also instructed to preserve the DSCP marking.
<interfaces> <interfaces>
<interface> <interface>
<name>myB4</name> <name>myB4</name>
<type>ianaift:tunnel</type> <type>ianaift:tunnel</type>
<enabled>true</enabled> <enabled>true</enabled>
<dslite:ipv6-address>2001:db8:0:1::1</dslite:ipv6-address> <dslite:ipv6-address>
<dslite:aftr-ipv6-addr>2001:db8:0:2::1</dslite:aftr-ipv6-addr> 2001:db8:0:1::1
<dslite:v6-v4-dscp-preservation>true</dslite:v6-v4-dscp-preservation> </dslite:ipv6-address>
</interface> <dslite:aftr-ipv6-addr>
</interfaces> 2001:db8:0:2::1
</dslite:aftr-ipv6-addr>
<dslite:v6-v4-dscp-preservation>
true
</dslite:v6-v4-dscp-preservation>
</interface>
</interfaces>
Appendix B. AFTR Examples Appendix B. AFTR Examples
The following example shows an AFTR that is reachable at The following example shows an AFTR that is reachable at
2001:db8:0:2::1. Also, this XML snippet indicates that the AFTR is 2001:db8:0:2::1. Also, this XML snippet indicates that the AFTR is
provided with an IPv4 address (192.0.0.1) to be used for provided with an IPv4 address (192.0.0.1) to be used for
troubleshooting purposes such as reporting problems to B4s. troubleshooting purposes such as reporting problems to B4s.
Note that a subscriber is identified by a subscriber mask ([RFC7785]) Note that a subscriber is identified by a subscriber mask ([RFC7785])
that can be configured by means of [I-D.ietf-opsawg-nat-yang]. that can be configured by means of [I-D.ietf-opsawg-nat-yang].
 End of changes. 5 change blocks. 
41 lines changed or deleted 49 lines changed or added

This html diff was produced by rfcdiff 1.47. The latest version is available from http://tools.ietf.org/tools/rfcdiff/