ietf-dslite-preformatXML.yang   ietf-dslite-postformatXML.yang 
skipping to change at line 64 skipping to change at line 64
Redistribution and use in source and binary forms, with or Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject without modification, is permitted pursuant to, and subject
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 8513; see This version of this YANG module is part of RFC 8513; see
the RFC itself for full legal notices."; the RFC itself for full legal notices.";
revision 2018-12-14 { revision 2019-01-10 {
description description
"Initial revision."; "Initial revision.";
reference reference
"RFC 8513: A YANG Data Model for Dual-Stack Lite (DS-Lite)"; "RFC 8513: A YANG Data Model for Dual-Stack Lite (DS-Lite)";
} }
identity dslite { identity dslite {
base ianaift:tunnel; base ianaift:tunnel;
description description
"DS-Lite tunnel."; "DS-Lite tunnel.";
} }
/* /*
* Features * Features
*/ */
feature b4 { feature b4 {
description description
"The B4 element is a function implemented on a dual-stack-capable "The B4 element is a function implemented on a dual-stack-capable
node, either a directly connected device or Customer Premises node, either a directly connected device or Customer Premises
skipping to change at line 173 skipping to change at line 173
use the uniform model by provisioning the network such use the uniform model by provisioning the network such
that the AFTR/B4 copies the DSCP value in the IPv4 header that the AFTR/B4 copies the DSCP value in the IPv4 header
to the Traffic Class field in the IPv6 header, after the to the Traffic Class field in the IPv6 header, after the
IPv4-in-IPv6 encapsulation."; IPv4-in-IPv6 encapsulation.";
reference reference
"Section 2.10 of RFC 6908"; "Section 2.10 of RFC 6908";
} }
} }
augment "/nat:nat/nat:instances/nat:instance/nat:policy" { augment "/nat:nat/nat:instances/nat:instance/nat:policy" {
when "derived-from-or-self(/nat:nat/nat:instances/nat:instance/" when "derived-from-or-self(/nat:nat/nat:instances/nat:instance/"
+"nat:type, 'nat:napt44')" +"nat:type, 'nat:napt44')"
+"and /nat:nat/nat:instances/nat:instance/" +"and /nat:nat/nat:instances/nat:instance/"
+"nat:per-interface-binding='dslite'"; +"nat:per-interface-binding='dslite'";
if-feature "aftr"; if-feature "aftr";
description description
"Augments the NAPT44 module with AFTR parameters."; "Augments the NAPT44 module with AFTR parameters.";
leaf max-softwires-per-subscriber { leaf max-softwires-per-subscriber {
type uint8; type uint8;
default "1"; default "1";
description description
"Configures the maximum softwires per subscriber feature. "Configures the maximum softwires per subscriber feature.
A subscriber is uniquely identified by means A subscriber is uniquely identified by means
skipping to change at line 255 skipping to change at line 255
} }
leaf mss-value { leaf mss-value {
type uint16; type uint16;
units "octets"; units "octets";
description description
"Sets the MSS value to be used for MSS rewriting."; "Sets the MSS value to be used for MSS rewriting.";
} }
} }
} }
augment "/nat:nat/nat:instances/nat:instance/" augment "/nat:nat/nat:instances/nat:instance/"
+"nat:mapping-table/nat:mapping-entry" { +"nat:mapping-table/nat:mapping-entry" {
when "derived-from-or-self(/nat:nat/nat:instances/nat:instance/" when "derived-from-or-self(/nat:nat/nat:instances/nat:instance/"
+"nat:type, 'nat:napt44')" +"nat:type, 'nat:napt44')"
+"and /nat:nat/nat:instances/nat:instance/" +"and /nat:nat/nat:instances/nat:instance/"
+"nat:per-interface-binding='dslite'"; +"nat:per-interface-binding='dslite'";
if-feature "aftr"; if-feature "aftr";
description description
"Augments the NAPT44 mapping table with DS-Lite specifics."; "Augments the NAPT44 mapping table with DS-Lite specifics.";
container b4-ipv6-address { container b4-ipv6-address {
description description
"Records the IPv6 address used by a B4 element and the last "Records the IPv6 address used by a B4 element and the last
time that address changed."; time that address changed.";
leaf address { leaf address {
type inet:ipv6-address; type inet:ipv6-address;
description description
skipping to change at line 283 skipping to change at line 283
IPv4 Exhaustion"; IPv4 Exhaustion";
} }
leaf last-address-change { leaf last-address-change {
type yang:date-and-time; type yang:date-and-time;
description description
"Records the last time that the address changed."; "Records the last time that the address changed.";
} }
} }
leaf v6-dscp { leaf v6-dscp {
when "/if:interfaces/if:interface/" when "/if:interfaces/if:interface/"
+"dslite:v6-v4-dscp-preservation = 'true'"; +"dslite:v6-v4-dscp-preservation = 'true'";
type inet:dscp; type inet:dscp;
description description
"DSCP value used at the softwire level (i.e., IPv6 header)."; "DSCP value used at the softwire level (i.e., IPv6 header).";
} }
leaf internal-v4-dscp { leaf internal-v4-dscp {
when "/if:interfaces/if:interface/" when "/if:interfaces/if:interface/"
+"dslite:v6-v4-dscp-preservation = 'true'"; +" dslite:v6-v4-dscp-preservation = 'true'";
type inet:dscp; type inet:dscp;
description description
"DSCP value of the encapsulated IPv4 packet."; "DSCP value of the encapsulated IPv4 packet.";
} }
leaf external-v4-dscp { leaf external-v4-dscp {
when "/if:interfaces/if:interface/" when "/if:interfaces/if:interface/"
+"dslite:v6-v4-dscp-preservation = 'true'"; +"dslite:v6-v4-dscp-preservation = 'true'";
type inet:dscp; type inet:dscp;
description description
"DSCP value of the translated IPv4 packet as marked by "DSCP value of the translated IPv4 packet as marked by
the AFTR."; the AFTR.";
} }
} }
augment "/nat:nat/nat:instances/nat:instance/" augment "/nat:nat/nat:instances/nat:instance/"
+"nat:statistics/nat:mappings-statistics" { +"nat:statistics/nat:mappings-statistics" {
if-feature "aftr"; if-feature "aftr";
description description
"Indicates the number of active softwires."; "Indicates the number of active softwires.";
leaf active-softwires { leaf active-softwires {
type yang:gauge32; type yang:gauge32;
description description
"The number of currently active softwires on the AFTR "The number of currently active softwires on the AFTR
instance."; instance.";
} }
} }
 End of changes. 9 change blocks. 
15 lines changed or deleted 15 lines changed or added

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