--- 1/draft-ietf-rtgwg-routing-types-01.txt 2017-03-04 08:13:10.316555581 -0800 +++ 2/draft-ietf-rtgwg-routing-types-02.txt 2017-03-04 08:13:10.360556604 -0800 @@ -1,25 +1,25 @@ Network Working Group X. Liu Internet-Draft Jabil Intended status: Standards Track Y. Qu -Expires: August 23, 2017 Futurewei Technologies, Inc. +Expires: September 4, 2017 Futurewei Technologies, Inc. A. Lindem Cisco Systems C. Hopps Deutsche Telekom L. Berger LabN Consulting, L.L.C. - February 19, 2017 + March 3, 2017 Routing Area Common YANG Data Types - draft-ietf-rtgwg-routing-types-01 + draft-ietf-rtgwg-routing-types-02 Abstract This document defines a collection of common data types using the YANG data modeling language. These derived common types are designed to be imported by other modules defined in the routing area. Status of This Memo This Internet-Draft is submitted in full conformance with the @@ -28,21 +28,21 @@ Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." - This Internet-Draft will expire on August 23, 2017. + This Internet-Draft will expire on September 4, 2017. Copyright Notice Copyright (c) 2017 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents @@ -146,21 +146,21 @@ This type also allows the indication of wildcard sources, i.e., "*". An example of where this type may/will be used is [I-D.ietf-pim-yang]. ipv6-multicast-source-address IPv6 source address type for use in multicast control protocols. This type also allows the indication of wildcard sources, i.e., "*". An example of where this type may/will be used is [I-D.ietf-pim-yang]. - ieee-bandwidth + bandwidth-ieee-float32 Bandwidth in IEEE 754 floating point 32-bit binary format [IEEE754]. Commonly used in Traffic Engineering control plane protocols. An example of where this type may/will be used is [I-D.ietf-ospf-yang]. link-access-type This type identifies the IGP link type. An example of where this type may/will be used is [I-D.ietf-ospf-yang]. timer-multiplier @@ -218,29 +218,29 @@ label values. An example usage can be found in [I-D.ietf-mpls-base-yang]. This document defines the following YANG groupings: mpls-label-stack This grouping defines a reusable collection of schema nodes representing an MPLS label stack [RFC3032]. An example usage can be found in [I-D.ietf-mpls-base-yang]. - vpn-route-target-rules + vpn-route-targets This grouping defines a reusable collection of schema nodes representing Route Target import-export rules used in the BGP enabled Virtual Private Networks (VPNs). [RFC4364][RFC4664]. An example usage can be found in [I-D.ietf-bess-l2vpn-yang]. 3. YANG Module - file "ietf-routing-types@2017-02-19.yang" + file "ietf-routing-types@2017-02-27.yang" module ietf-routing-types { namespace "urn:ietf:params:xml:ns:yang:ietf-routing-types"; prefix "rt-types"; import ietf-yang-types { prefix "yang"; } import ietf-inet-types { prefix "inet"; @@ -248,21 +248,21 @@ organization "IETF Routing Area Working Group (rtgwg)"; contact "Routing Area Working Group - "; description "This module contains a collection of YANG data types considered generally useful for routing protocols."; - revision 2017-02-19 { + revision 2017-02-27 { description "Initial revision."; reference "RFC TBD: Routing YANG Data Types"; } /*** collection of types related to routing ***/ typedef router-id { type yang:dotted-quad; description @@ -616,26 +616,26 @@ "Any source address."; } } type inet:ipv6-address; } description "Multicast source IPv6 address type."; } /*** collection of types common to protocols ***/ - typedef ieee-bandwidth { + typedef bandwidth-ieee-float32 { type string { pattern '0[xX](0((\.0?)?[pP](\+)?0?|(\.0?))|' + '1(\.([\da-fA-F]{0,5}[02468aAcCeE]?)?)?[pP](\+)?(12[0-7]|' - + '1[01]\d|0?\d?\d)?)|0[xX][\da-fA-F]{1,8}'; + + '1[01]\d|0?\d?\d)?)'; } description "Bandwidth in IEEE 754 floating point 32-bit binary format: (-1)**(S) * 2**(Exponent-127) * (1 + Fraction), where Exponent uses 8 bits, and Fraction uses 23 bits. The units are octets per second. The encoding format is the external hexadecimal-significand character sequences specified in IEEE 754 and C99, restricted to be normalized, non-negative, and non-fraction: 0x1.hhhhhhp{+}d or 0X1.HHHHHHP{+}D @@ -1020,22 +1020,22 @@ ietf-idr-bgp-model-02 (work in progress), July 2016. [I-D.ietf-ospf-yang] Yeung, D., Qu, Y., Zhang, Z., Chen, I., and A. Lindem, "Yang Data Model for OSPF Protocol", draft-ietf-ospf- yang-06 (work in progress), October 2016. [I-D.ietf-pim-yang] Liu, X., McAllister, P., Peter, A., Sivakumar, M., Liu, Y., and f. hu, "A YANG data model for Protocol-Independent - Multicast (PIM)", draft-ietf-pim-yang-03 (work in - progress), October 2016. + Multicast (PIM)", draft-ietf-pim-yang-05 (work in + progress), February 2017. [I-D.ietf-teas-yang-rsvp] Beeram, V., Saad, T., Gandhi, R., Liu, X., Shah, H., Chen, X., Jones, R., and B. Wen, "A YANG Data Model for Resource Reservation Protocol (RSVP)", draft-ietf-teas-yang-rsvp-06 (work in progress), October 2016. [I-D.ietf-teas-yang-te] Saad, T., Gandhi, R., Liu, X., Beeram, V., Shah, H., Bryskin, I., Chen, X., Jones, R., and B. Wen, "A YANG Data