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

Robert Raszuk <robert@raszuk.net> Tue, 20 June 2017 19:25 UTC

Return-Path: <rraszuk@gmail.com>
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 B67EC1252BA for <rtgwg@ietfa.amsl.com>; Tue, 20 Jun 2017 12:25:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.397
X-Spam-Level:
X-Spam-Status: No, score=-2.397 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 hup_E5BjfcRb for <rtgwg@ietfa.amsl.com>; Tue, 20 Jun 2017 12:25:53 -0700 (PDT)
Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 261FD127876 for <rtgwg@ietf.org>; Tue, 20 Jun 2017 12:25:53 -0700 (PDT)
Received: by mail-it0-x232.google.com with SMTP id m47so20059016iti.1 for <rtgwg@ietf.org>; Tue, 20 Jun 2017 12:25:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=FaWFY99jPH5nRizzvBLasYuvvxWOvvyN9CS+3hlF0vw=; b=QBoD0uRPYpmZCYOwYyI7vDEBTQJTzRRrzkVkLBF1iXM6yDoe1PT2OH9Fsb411behSC Q8m+AXVm5FyfKsBV+j70T1nV54GIXGIp5HiKPyxQuXOL7/d2woz9rfjwzggjq39roUNi c4S291f0R4QfKWIiZ1odB0TbteUmIaB9HWTR8nQHcvuFDLAXNPGf3LIQPKjwwl9X63B5 NKGfUeVtJlASn99FLM/iM6/zo8h8AZMp1onfD49mMhXe105i4yCyJHRGdIHvqqIOA0vT 7i/u9cfFpVtcK5Sb4tN4D8m2u0N+W7uTDvWzXY9sCNTtlFuc02WWOKpj4xvnBhLA65Wf Aw0A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=FaWFY99jPH5nRizzvBLasYuvvxWOvvyN9CS+3hlF0vw=; b=bppiscaUiHJuMXO9BJwP70s1ObTajzDs+6v6rloVhOd8+3pv0O3/kNl5WDHnkS1Du3 fbqOSR0IPZup5bNV782PoCkSZ/LdUyD4XyGvLP7IClfB6hWSMCX+StRScAtYlXZc21Do mM5UdztKWvEZbt5LJPUr2x/8z2pJ+63fwTsbU39UsYqrsRjfv3/Y/QBn9QDeio4/EsOj +aDcU9w5ovkLSDzdHQPMZekaus0neSjUpu1aKJIoA+iHdg3puBcV+POYCzOy2Jj8rU7D lat3f82sjbpO8xLg0Jm9y9rCH0XXarDWbeSKNRNbv27tgXSb2FbmGel9YRR+QCQdVc49 byTQ==
X-Gm-Message-State: AKS2vOwDCSyp17w/tcw+yTN9FJYQ5ezu9YZigelWzSQaPgqs+TAMOkWw vTnYX35aZWPts5R6c5cjVGXYrqqqrZolpeE=
X-Received: by 10.36.48.146 with SMTP id q140mr5183095itq.59.1497986752395; Tue, 20 Jun 2017 12:25:52 -0700 (PDT)
MIME-Version: 1.0
Sender: rraszuk@gmail.com
Received: by 10.79.32.15 with HTTP; Tue, 20 Jun 2017 12:25:51 -0700 (PDT)
In-Reply-To: <20170620192616.GB2289@pfrc.org>
References: <149736763440.7477.10138004135435824433@ietfa.amsl.com> <20170620192616.GB2289@pfrc.org>
From: Robert Raszuk <robert@raszuk.net>
Date: Tue, 20 Jun 2017 21:25:51 +0200
X-Google-Sender-Auth: Z_dgNr1gwF2m7vKS3ez2S0yR4OQ
Message-ID: <CA+b+ER=SnJCu+BTpPKs+oOd0sAuPKTM1NCN4h9rYWBh=aX9feA@mail.gmail.com>
Subject: Re: I-D Action: draft-ietf-rtgwg-routing-types-06.txt
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: RTGWG <rtgwg@ietf.org>
Content-Type: multipart/alternative; boundary="001a1140b17c41469e05526938c6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/E-Cs_s-EQasoaoVandyQnMXUGyk>
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:25:56 -0000

Jeff,

Let's note that I had similar concerns on RT definition and more expressed
to the list in Nov 2016 however they were not considered :(.

FWD of my msg follows:

---------- Forwarded message ----------
From: Robert Raszuk <robert@raszuk.net>
Date: Sat, Nov 19, 2016 at 12:34 PM
Subject: Re: Draft-rtgyangdt-rtgwg-routing-types
To: "Acee Lindem (acee)" <acee@cisco.com>
Cc: "rtgwg@ietf.org" <rtgwg@ietf.org>

Hi Acee,

SOO has similar format to RT however RT is defined only partially. There is
existing extension to RFC4360 in the form of RFC5668 which defines new
structure of both RT and SOO (Route Origin).

Also I think there important this draft needs to define type for VRF as VRF
as such is used across a lot of different applications way beyond original
L3VPN use intention.

And I think there is many more common elements ... just think of recent geo
coordinates shred by 4 WGs (if not more ...).

Thx,
R.



On Tue, Jun 20, 2017 at 9:26 PM, Jeffrey Haas <jhaas@pfrc.org> wrote:

> 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
>
> _______________________________________________
> rtgwg mailing list
> rtgwg@ietf.org
> https://www.ietf.org/mailman/listinfo/rtgwg
>