Re: WG Adoption for "RIB YANG Data Model" - draft-acee-rtgwg-yang-rib-extend

Yingzhen Qu <yingzhen.qu@huawei.com> Mon, 04 March 2019 21:09 UTC

Return-Path: <yingzhen.qu@huawei.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 37EA7130EA8; Mon, 4 Mar 2019 13:09:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=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 3OWlGGI1XfQN; Mon, 4 Mar 2019 13:09:55 -0800 (PST)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9D15D1294FA; Mon, 4 Mar 2019 13:09:55 -0800 (PST)
Received: from lhreml702-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 10F7CECEA364C6FBB649; Mon, 4 Mar 2019 21:09:54 +0000 (GMT)
Received: from SJCEML701-CHM.china.huawei.com (10.208.112.40) by lhreml702-cah.china.huawei.com (10.201.108.43) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 4 Mar 2019 21:09:53 +0000
Received: from SJCEML521-MBX.china.huawei.com ([169.254.1.96]) by SJCEML701-CHM.china.huawei.com ([169.254.3.135]) with mapi id 14.03.0415.000; Mon, 4 Mar 2019 13:09:51 -0800
From: Yingzhen Qu <yingzhen.qu@huawei.com>
To: tom petch <ietfa@btconnect.com>, Jeff Tantsura <jefftant.ietf@gmail.com>, RTGWG <rtgwg@ietf.org>, Routing WG <rtgwg-chairs@ietf.org>, "draft-acee-rtgwg-yang-rib-extend@ietf.org" <draft-acee-rtgwg-yang-rib-extend@ietf.org>
Subject: Re: WG Adoption for "RIB YANG Data Model" - draft-acee-rtgwg-yang-rib-extend
Thread-Topic: WG Adoption for "RIB YANG Data Model" - draft-acee-rtgwg-yang-rib-extend
Thread-Index: AQHUxWNHhZ9NvIRFIE25XWo08+m7+6X8EmkA
Date: Mon, 04 Mar 2019 21:09:50 +0000
Message-ID: <665E12AB-4872-4903-907F-C956E6568094@huawei.com>
References: <d352c810-1b50-4843-b86d-45f1e9d08257@Spark> <a95eb664-4a20-458d-a894-93693c9e31eb@Spark> <062101d4c84e$203a8f60$4001a8c0@gateway.2wire.net>
In-Reply-To: <062101d4c84e$203a8f60$4001a8c0@gateway.2wire.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.109.111.192]
Content-Type: text/plain; charset="utf-8"
Content-ID: <65037F46DEDF014FA622B81260727DF8@huawei.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/Ak8uQ3KPZLwZPVph-3aMUszZGxw>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 04 Mar 2019 21:09:58 -0000

Hi Tom,

Thanks for your review and comments. We have submitted version -10 to address your comments, please see my detailed response below starting with [YQ].

Thanks,
Yingzhen

On 2/19/19, 4:26 AM, "tom petch" <ietfa@btconnect.com> wrote:

    Two uncertainties strike me.
    
    One is terminology, which caused some discussion in the production of
    the original YANG routing module.  When I see the terminology used, e.g.
    admin distance, I immediately think of one manufacturer so I wonder how
    other manufacturers see it and would like to see their agreement that
    the terminology makes sense for them  (even if everyone here is of
    course contributing as an individual).
[YQ]: We're still using "preference" consistent with RFC 8349. The term, "admin distance",  is only included parenthetically for explanation. 

   
    More technically, I wonder at the specification of repair routes.  One
    thought is placement, it is described as
             "Augment a route with a list of repair-paths.";
    which is not strictly true since it augments
         augment "/rt:routing/rt:ribs/rt:rib/"            + "rt:routes"
    i.e. the container and not a route therein (which is the case for the
    augmentation with a tag).  I am unsure where a list of repair routes
    belongs in the schema - it seems to me that it could be anywhere.
[YQ]: this was done based on WG's suggestion (sorry, forgot who made it) to make the model "slim". The list of repair paths is at "routes" level with an "id", at each "route" level, a repair path is reference this "id". By doing so, if a bunch of routes are using the same repair path, so they can just reference the same id instead of repeating the whole repair path multiple times.
See below tree diagram for an example:
   augment /rt:routing/rt:ribs/rt:rib/rt:routes:
    +--ro repair-route* [id]
       +--ro id          string                     <--------- "id" is defined here. 
       +--ro next-hop
       |  +--ro outgoing-interface?   if:interface-state-ref
       |  +--ro next-hop-address?     inet:ip-address
       +--ro metric?     uint32
   augment /rt:routing/rt:ribs/rt:rib/rt:routes/rt:route
            /rt:next-hop/rt:next-hop-options/rt:simple-next-hop:
    +--ro repair-path?
            -> /rt:routing/ribs/rib/routes/repair-route/id         <-------------------referenced here.

    Related to this, is there any requirement for repair routes to exist or
    be valid i.e.is this missing a few 'must' or such like statements?
   [YQ]: repair path is optional, so no "must" statement is needed.

    While I am at it, the reference in the YANG module to RFC8242 should be
    RFC8342 IMHO.  And the YANG module is version 1.1 so the reference in
    the Introduction must be RFC7950; I cannot understand this I-D using
    only RFC6020.
[YQ]: fixed.
    
    Tom Petch
    
    
    ----- Original Message -----
    From: "Jeff Tantsura" <jefftant.ietf@gmail.com>
    To: "RTGWG" <rtgwg@ietf.org>; "Routing WG" <rtgwg-chairs@ietf.org>;
    <draft-acee-rtgwg-yang-rib-extend@ietf.org>
    Sent: Friday, February 15, 2019 7:18 PM
    Subject: WG Adoption for "RIB YANG Data Model" -
    draft-acee-rtgwg-yang-rib-extend
    
    
    > Dear RTGWG,
    >
    > The authors have requested the RTGWG to adopt
    draft-acee-rtgwg-yang-rib-extend
    > as the working group documents.
    >
    > The authors have addressed the comments raised.
    >
    > Please indicate support or no-support by March 3rd, 2019.
    >
    > If you are listed as a document author or contributor please
    > respond to this email stating of whether or not you are aware of
    > any relevant IPR. The response needs to be sent to the RTGWG
    > mailing list. The document will not advance to the next stage
    > until a response has been received from each author and each
    > individual that has contributed to the document.
    >
    > Cheers,
    > Jeff
    >
    
    
    ------------------------------------------------------------------------
    --------
    
    
    > _______________________________________________
    > rtgwg mailing list
    > rtgwg@ietf.org
    > https://www.ietf.org/mailman/listinfo/rtgwg
    >