Re: [bess] Review on draft-ietf-bess-evpn-yang-06

Yu Tianpeng <yutianpeng.ietf@gmail.com> Mon, 04 March 2019 06:20 UTC

Return-Path: <yutianpeng.ietf@gmail.com>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3AEC4131006; Sun, 3 Mar 2019 22:20:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ogWSQXSrh-PL; Sun, 3 Mar 2019 22:20:28 -0800 (PST)
Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 B05ED130FC5; Sun, 3 Mar 2019 22:20:27 -0800 (PST)
Received: by mail-io1-xd29.google.com with SMTP id k21so3098566ior.13; Sun, 03 Mar 2019 22:20:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y2rCG5WWdHxwfqAbNcUjYIvBL24xV6Yj7AeiCGSbxTQ=; b=MuypqQmb5XMzP52aom0202bVY6BbizcYr3z2iaJRN4bSQgtCVmEiXdsIgyCPaBufsC ugJFz856TCXqsze2/lPsV9isbE1H6aejMmtF6iIKg9wRRgNjdRpZuzgOdOY79edFDBZc 82RsJkrJtkidcwRSK7SLS1zsGphsAFmYyLHTlYi/VJAvMxMrpOSDLfOa/VXTv2BPOJJ7 DbgBuJH51zz2amfwm/Pke0yAWbDL+h9urLdUMd5GXsJcwirYqZGoEISaikbdiPkkR6T4 xkOVDj6G0W7tvbiMZH1zKXn6S3Gs78amF+IWoI3tcL5cCAFmTklDhYUgnD3xtp42Toj5 vDdQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y2rCG5WWdHxwfqAbNcUjYIvBL24xV6Yj7AeiCGSbxTQ=; b=T92t1tgCgm5P5aKx2apIipogLwiZDBju+klVOZ3fSlObmhhtNdm4Eo+XBmOi6c4AXB 522ULWCeWjq/wJGM7/fXPcfoyadyAYz1lZhhWe9FBiJEurBMgH02ZzmnR7emjtvqmggD xd4Jx7Omds0d2GiAm57phBYvl0VEf/2cbJRtC7V2EQTHhzfaz9a5hAzpaNHQUAuwD62Y git4HOT75rtpomIoR2pfaH9HVJ+XeJbCUbPIuFKreVO8Lg0z+iV8FWg1l7NBc4kmiptS yfaTkOPlnRSu7RzzL8B4+QXFM1aufS8v7I5Sx6Wl4oy0WepoZEBdcyL90qD1YWoGT14W vVnA==
X-Gm-Message-State: APjAAAUO5LoM68iucJtNO/YRPJQp7VQuKwNlfSUPt83pO53GKHPJWpzl 87K+AzUShVApPf1WyU9laceTzC4o3lRVydWBE2k=
X-Google-Smtp-Source: APXvYqwLjsimE646/u3EusdRBtN9LX8/1/NiOZCSy/iqDDItouMFGpkeOpyroZPELc+si5BjIMcV76tuhyieM4X2g3U=
X-Received: by 2002:a6b:8d81:: with SMTP id p123mr9090137iod.104.1551680426674; Sun, 03 Mar 2019 22:20:26 -0800 (PST)
MIME-Version: 1.0
References: <CAKFJ8epo2ReH76c=H1N_Gk0ZLXfi_B8H8izNC4hHYn+S=YjKEw@mail.gmail.com> <AM0PR03MB3828CF64315768FA4553EB5F9D700@AM0PR03MB3828.eurprd03.prod.outlook.com> <12F2C246-3B18-404E-8CBC-8B2D52420658@cisco.com> <AM0PR03MB3828561BF2D2B8308BDBEA269D700@AM0PR03MB3828.eurprd03.prod.outlook.com>
In-Reply-To: <AM0PR03MB3828561BF2D2B8308BDBEA269D700@AM0PR03MB3828.eurprd03.prod.outlook.com>
From: Yu Tianpeng <yutianpeng.ietf@gmail.com>
Date: Mon, 04 Mar 2019 06:20:15 +0000
Message-ID: <CAKFJ8eqTfgfoLmRXcbhPjFzJMZsPZzG8RQEAKWcvvLUvUjBJjQ@mail.gmail.com>
To: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>
Cc: "Luc Andre Burdet (lburdet)" <lburdet@cisco.com>, bess@ietf.org, "draft-ietf-bess-evpn-yang.authors@ietf.org" <draft-ietf-bess-evpn-yang.authors@ietf.org>
Content-Type: multipart/related; boundary="000000000000a3a94e05833ec00d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/rVo08ya6eGgY_G8ClVQjkEAHWzg>
Subject: Re: [bess] Review on draft-ietf-bess-evpn-yang-06
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Mar 2019 06:20:30 -0000

Hi Luc and Sasha,
Thanks both for the reply.
Will wait for the new version.
Regards,
Tim


On Sun, 3 Mar 2019, 15:39 Alexander Vainshtein, <
Alexander.Vainshtein@ecitele.com> wrote:

> Luc hi,
>
> Lots of thanks for a prompt response.
>
>
>
> Will be waiting for the new version of the draft.
>
>
>
> Regards,
>
> Sasha
>
>
>
> Office: +972-39266302
>
> Cell:      +972-549266302
>
> Email:   Alexander.Vainshtein@ecitele.com
>
>
>
> *From:* Luc Andre Burdet (lburdet) <lburdet@cisco.com>
> *Sent:* Sunday, March 3, 2019 3:02 PM
> *To:* Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>; Yu
> Tianpeng <yutianpeng.ietf@gmail.com>;
> draft-ietf-bess-evpn-yang.authors@ietf.org
> *Cc:* bess@ietf.org
> *Subject:* Re: [bess] Review on draft-ietf-bess-evpn-yang-06
>
>
>
> Hi Sasha, Tim,
>
>
>
> Apologies for not sending a response to your prior email; Your comments
> were noted and intend to update the draft this week.
>
>
>
> Thanks,
>
> Luc André
>
>
>
>
>
> [image:
> http://www.cisco.com/c/dam/m/en_us/signaturetool/images/banners/standard/09_standard_graphic.png]
>
> *Luc André Burdet*
>
> lburdet@cisco.com
>
> Tel: *+1 613 254 4814*
>
> Cisco Systems Canada Co. / Les Systemes Cisco Canada CIE
>
> Cisco.com <http://www.cisco.com/web/CA/>
>
>
>
>
>
> *From: *BESS <bess-bounces@ietf.org> on behalf of Alexander Vainshtein <
> Alexander.Vainshtein@ecitele.com>
> *Date: *Sunday, March 3, 2019 at 05:46
> *To: *Yu Tianpeng <yutianpeng.ietf@gmail.com>, "
> draft-ietf-bess-evpn-yang.authors@ietf.org" <
> draft-ietf-bess-evpn-yang.authors@ietf.org>
> *Cc: *"bess@ietf.org" <bess@ietf.org>
> *Subject: *Re: [bess] Review on draft-ietf-bess-evpn-yang-06
>
>
>
> Dear all,
>
> I concur with Tim’s comment regarding representation of ESI in
> draft-ietf-bess-evpn-yang-06.
>
>
>
> I have raised similar concerns in an email
> <https://mailarchive.ietf.org/arch/msg/bess/HfPveilbdp5iufQYh5pu9KSf4Ug>
> to the authors of the draft and to the WG  last August (when the draft was
> still at its -05 version).
>
> Unfortunately, I did not receive any response, nor were my concerns
> addresses in the -06 version of the draft.
>
>
>
> My 2c,
>
> Sasha
>
>
>
> Office: +972-39266302
>
> Cell:      +972-549266302
>
> Email:   Alexander.Vainshtein@ecitele.com
>
>
>
> *From:* BESS <bess-bounces@ietf.org> *On Behalf Of *Yu Tianpeng
> *Sent:* Saturday, March 2, 2019 9:31 PM
> *To:* draft-ietf-bess-evpn-yang.authors@ietf.org
> *Cc:* bess@ietf.org
> *Subject:* [bess] Review on draft-ietf-bess-evpn-yang-06
>
>
>
> Dear authors and WG,
>
> I had a review on draft-ietf-bess-evpn-yang-06.
>
> This draft covers most of the evpn/vpws scenarios, but there are some
> points I would like to discuss.
>
>
>
> For small points that do not impact the architecture of the yang data
> model, I have made changes in a new yang file directly (attached), which
> will be easier to understand.
>
> Also, some comments related to the structure of the data model in the
> final.
>
> Appreciate authors and WG can have a review on comments and proposed
> changes below.
>
> Thanks in advance.
>
> Regards,
>
> Tim
>
>
> =================================================================================
>
> Changes:
>
> ietf-ethernet-segment.yang
>
> 1. esid-type defined. current uint32 cannot cover 10 octs ESI. We can
> either use a string with a regex or uint64 with a range. in the attachment
> is the regex.
>
> 2. change key to esi instead of "name", the name looks like a string or a
> description to me, cannot be used as the key.
>
> 3. add new leaf "interface" to indicate which ESI applied to which
> interface.
>
> 4. BGP parameters are deleted, I don't think RD RT are concepts related
> with ES. I have put a new leaf es-list in the EVPN yang data model
> providing links between ES and EVPN yang
>
> 5. change of VLAN type to unit16 with range limit
>
>
>
> ietf-evpn.yang
>
> 1. evpn label mode function added
>
> 2. re-write RD RT part as rt-types:vpn-route-targets is a list type
> already, an extra level of list definition in EVPN is not needed anymore.
>
> 3. ES list leaf added. This leaf provides a list indicating ESs bound to
> the EVPN instance.
>
> 4. control word and MTU added
>
> 5. statistics part re-structure.
>
> 6. change the counter type from uint32 to counter64 to avoid overflow.
>
> 7. interface type leaf added, the previous vpws-vlan-aware deleted.
> reason: all interface type should be covered across EVPN and VPWS
>
>
>
> General comments:
>
> 1. In EVPN yang, I would suggest to re-structure current content as below
> instead of one evpn container :
>
> - EVPN general: RD, RT, name, etc.
>
> - EVPN ELAN/VPWS/E-TREE specifics: BUM, leaf indication, proxy.. and use
> the generals to get yang data model for each scenario.
>
>
>
> 2. EVPN parameters are not registered under /ni:network-instances and /pw:
> pseudowires. Now only very few info registered
>
>
>
>
>
>
>
>
>
>
>
>
> ___________________________________________________________________________
>
> This e-mail message is intended for the recipient only and contains
> information which is
> CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have
> received this
> transmission in error, please inform us by e-mail, phone or fax, and then
> delete the original
> and all copies thereof.
> ___________________________________________________________________________
>
> ___________________________________________________________________________
>
> This e-mail message is intended for the recipient only and contains
> information which is
> CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have
> received this
> transmission in error, please inform us by e-mail, phone or fax, and then
> delete the original
> and all copies thereof.
> ___________________________________________________________________________
>