Re: I-D Action: draft-ietf-rtgwg-routing-types-06.txt

Jeffrey Haas <jhaas@pfrc.org> Tue, 20 June 2017 19:17 UTC

Return-Path: <jhaas@slice.pfrc.org>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B00F9128C84 for <rtgwg@ietfa.amsl.com>; Tue, 20 Jun 2017 12:17:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k_-5h8nEsXS7 for <rtgwg@ietfa.amsl.com>; Tue, 20 Jun 2017 12:17:27 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id 0A629131605 for <rtgwg@ietf.org>; Tue, 20 Jun 2017 12:17:26 -0700 (PDT)
Received: by slice.pfrc.org (Postfix, from userid 1001) id DB5E11E37E; Tue, 20 Jun 2017 15:26:16 -0400 (EDT)
Date: Tue, 20 Jun 2017 15:26:16 -0400
From: Jeffrey Haas <jhaas@pfrc.org>
To: rtgwg@ietf.org
Subject: Re: I-D Action: draft-ietf-rtgwg-routing-types-06.txt
Message-ID: <20170620192616.GB2289@pfrc.org>
References: <149736763440.7477.10138004135435824433@ietfa.amsl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <149736763440.7477.10138004135435824433@ietfa.amsl.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/2s2pCSPuJI2jB5EWrNPki5FIeJA>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jun 2017 19:17:30 -0000

I had a chance to followup on my email of April 2 regarding the route-target
type.  I am including a paste of it from the draft below for reference.

The type covers core RFC 4360 route-target types and this is needed.  In
particular, it does a nice job in covering the common expressions of the
typed route-targets in that RFC.

There are other extended communities that have over time picked up semantics
of route targets.  The ES-Import route target type is an example of this,
and would not be covered by the type described in the draft.

It's my recommendation that while accommodating the well known types is
laudible, some accommodation should be made for future types.

A final note is that RFC 5701 defines an IPv6 specific route target type.  I
don't believe this is currently implemented, but will likely be a cause to
update this module when it is.  I believe is structurally problematic for
the vpn-route-targets grouping, which only includes the route-target type as
a leaf.

:      typedef route-target {
:        type string {
:          pattern
:            '(0:(6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]\d{3}|'
:          + '[0-5]?\d{0,3}\d):(429496729[0-5]|42949672[0-8]\d|'
:          + '4294967[01]\d{2}|429496[0-6]\d{3}|42949[0-5]\d{4}|'
:          + '4294[0-8]\d{5}|429[0-3]\d{6}|42[0-8]\d{7}|4[01]\d{8}|'
:          + '[0-3]?\d{0,8}\d))|'
:          + '(1:(((\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.){3}(\d|[1-9]\d|'
:          + '1\d{2}|2[0-4]\d|25[0-5])):(6553[0-5]|655[0-2]\d|'
:          + '65[0-4]\d{2}|6[0-4]\d{3}|[0-5]?\d{0,3}\d))|'
:          + '(2:(429496729[0-5]|42949672[0-8]\d|4294967[01]\d{2}|'
:          + '429496[0-6]\d{3}|42949[0-5]\d{4}|4294[0-8]\d{5}|'
:          + '429[0-3]\d{6}|42[0-8]\d{7}|4[01]\d{8}|[0-3]?\d{0,8}\d):'
:          + '(6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]\d{3}|'
:          + '[0-5]?\d{0,3}\d))';
:        }
:        description
:          "A route target is an 8-octet BGP extended community
:           initially identifying a set of sites in a BGP
:           VPN (RFC 4364). However, it has since taken on a more
:           general role in BGP route filtering.
:           A route target consists of three fields:
:           a 2-octet type field, an administrator field,
:           and an assigned number field.
:           According to the data formats for type 0, 1, and 2 defined in
:           RFC4360 and RFC5668, the encoding pattern is defined as:
: 
:           0:2-octet-asn:4-octet-number
:           1:4-octet-ipv4addr:2-octet-number
:           2:4-octet-asn:2-octet-number.
: 
:           Some valid examples are: 0:100:100, 1:1.1.1.1:100, and
:           2:1234567890:203.";
:        reference
:          "RFC4360: BGP Extended Communities Attribute.
:           RFC5668: 4-Octet AS Specific BGP Extended Community.";
:      }

On Tue, Jun 13, 2017 at 08:27:14AM -0700, internet-drafts@ietf.org wrote:
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Routing Area Working Group of the IETF.
> 
>         Title           : Routing Area Common YANG Data Types
>         Authors         : Xufeng Liu
>                           Yingzhen Qu
>                           Acee Lindem
>                           Christian Hopps
>                           Lou Berger
> 	Filename        : draft-ietf-rtgwg-routing-types-06.txt
> 	Pages           : 33
> 	Date            : 2017-06-13
> 
> 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.
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-rtgwg-routing-types/
> 
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-rtgwg-routing-types-06
> https://datatracker.ietf.org/doc/html/draft-ietf-rtgwg-routing-types-06
> 
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-rtgwg-routing-types-06
> 
> 
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
> _______________________________________________
> rtgwg mailing list
> rtgwg@ietf.org
> https://www.ietf.org/mailman/listinfo/rtgwg