Re: [bess] A short question on draft-ietf-bess-evpn-yang-07

Alexander Vainshtein <Alexander.Vainshtein@ecitele.com> Wed, 13 March 2019 08:05 UTC

Return-Path: <Alexander.Vainshtein@ecitele.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 8820A130EA3; Wed, 13 Mar 2019 01:05:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.699
X-Spam-Level:
X-Spam-Status: No, score=-1.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=eci365.onmicrosoft.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 5Lr-JOtv5bNg; Wed, 13 Mar 2019 01:05:31 -0700 (PDT)
Received: from mail3.bemta25.messagelabs.com (mail3.bemta25.messagelabs.com [195.245.230.148]) (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 D793412798E; Wed, 13 Mar 2019 01:05:30 -0700 (PDT)
Received: from [46.226.53.53] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-4.bemta.az-c.eu-west-1.aws.symcld.net id 7D/9B-22588-8C9B88C5; Wed, 13 Mar 2019 08:05:28 +0000
X-Brightmail-Tracker: H4sIAAAAAAAAA1VTe0hTURj33Hu3exsubvP1tV64ECrbdGG0oiL oNYggeoCVPa7z5hZzs91Jqz9CCJtkLysj13xmICqVp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g-Ref: server-5.tower-305.messagelabs.com!1552464324!3485813!1
X-Originating-IP: [52.27.180.120]
X-SYMC-ESS-Client-Auth: mailfrom-relay-check=pass
X-StarScan-Received:
X-StarScan-Version: 9.31.5; banners=ecitele.com,-,-
X-VirusChecked: Checked
Received: (qmail 10374 invoked from network); 13 Mar 2019 08:05:27 -0000
Received: from us-west-2c.mta.dlp.protect.symantec.com (HELO EUR01-DB5-obe.outbound.protection.outlook.com) (52.27.180.120) by server-5.tower-305.messagelabs.com with AES256-SHA256 encrypted SMTP; 13 Mar 2019 08:05:27 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ECI365.onmicrosoft.com; s=selector1-ecitele-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s2eTFmTK7dyTTRdHZBXUgKGuh+0E82f6nTt0kOwJbi0=; b=OsXreDjkdWnDy73cf2K/wvOTVXcc52hpNnzqzL+OP8fKMJNIFc8oLKYeX7cPSs6XV0jRhcGL7p7TBorbDhHv63x6Hf3EEiwdq2g1CqWOf+Zn4bwJZzLqq0WhflC/RCGjoLQsN+sSxf5pzs4V8adiQh0bkjkmZVAhGQJ96w2tTB0=
Received: from AM0PR03MB3828.eurprd03.prod.outlook.com (52.135.146.159) by AM0PR03MB5762.eurprd03.prod.outlook.com (20.179.255.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Wed, 13 Mar 2019 08:05:23 +0000
Received: from AM0PR03MB3828.eurprd03.prod.outlook.com ([fe80::cd69:f7a:ee65:6435]) by AM0PR03MB3828.eurprd03.prod.outlook.com ([fe80::cd69:f7a:ee65:6435%6]) with mapi id 15.20.1686.021; Wed, 13 Mar 2019 08:05:22 +0000
From: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>
To: Yu Tianpeng <yutianpeng.ietf@gmail.com>
CC: "draft-ietf-bess-evpn-yang@ietf.org" <draft-ietf-bess-evpn-yang@ietf.org>, "bess@ietf.org" <bess@ietf.org>, Michael Gorokhovsky <Michael.Gorokhovsky@ecitele.com>, Yechiel Rosengarten <Yechiel.Rosengarten@ecitele.com>, Ron Sdayoor <Ron.Sdayoor@ecitele.com>
Thread-Topic: A short question on draft-ietf-bess-evpn-yang-07
Thread-Index: AdTZaI0RnSEkZ1ROTAeIXm0BEgG8/QACR2wAAAAV5MA=
Date: Wed, 13 Mar 2019 08:05:22 +0000
Message-ID: <AM0PR03MB382883A46FC0075273064FC09D4A0@AM0PR03MB3828.eurprd03.prod.outlook.com>
References: <AM0PR03MB38284FED39C876F0BA4F94209D4A0@AM0PR03MB3828.eurprd03.prod.outlook.com> <CAKFJ8ergwVfSH=_Ae2hiB3eVHvuui6sH_EhHkuZHLCpnp7inuQ@mail.gmail.com>
In-Reply-To: <CAKFJ8ergwVfSH=_Ae2hiB3eVHvuui6sH_EhHkuZHLCpnp7inuQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.234.241.1]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b481587a-733b-4c48-bd60-08d6a78aa4af
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR03MB5762;
x-ms-traffictypediagnostic: AM0PR03MB5762:
x-ms-exchange-purlcount: 6
x-microsoft-antispam-prvs: <AM0PR03MB5762DADF33ED8885C446012F9D4A0@AM0PR03MB5762.eurprd03.prod.outlook.com>
x-forefront-prvs: 09752BC779
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(39860400002)(366004)(396003)(376002)(346002)(51914003)(51874003)(13464003)(53754006)(199004)(189003)(8936002)(99286004)(486006)(8676002)(81156014)(81166006)(53386004)(107886003)(106356001)(6306002)(9686003)(54896002)(105586002)(55016002)(966005)(72206003)(6246003)(236005)(14454004)(6436002)(4326008)(74316002)(14444005)(256004)(5660300002)(25786009)(52536013)(229853002)(478600001)(606006)(2906002)(53936002)(186003)(71200400001)(71190400001)(66066001)(26005)(66574012)(54906003)(6916009)(7736002)(97736004)(76176011)(6506007)(53546011)(3846002)(6116002)(790700001)(68736007)(7696005)(102836004)(33656002)(11346002)(446003)(476003)(316002)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR03MB5762; H:AM0PR03MB3828.eurprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ecitele.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: r4Sn16wr5POwrYWRxDluU0OlpTvp9U56RGNtvKU0clbTey7XfU8DeeQkLPMwjEbX5YREktB7Xlql+w5Qre+kkRbKeZ8pJaW8Y2m+N3O2U2KP3Ph5QPvEsaLAIo+Wz2FbGTOVtd56r5MijMhq6CUxwlZwLN/EKwO5tDt2kONi9HpRgn0/hp6iTYCp00ntcgsUnknJYyUgz6u7SLm1mFVZfYag/dJKgXX79b6dhV5IzVQ4/MmoZT6Npx/IDNwOK6T4xaHl7GymNQ85ihSXRS9Q02jcdTpgaHW6kKXSP5zM8tS9h4SgqCesSbfmK6DK3nnxiiYHPipLhZUp//rG+aenGBwoUYjl1krj/CPbrXtL5990OwyvE36k8MlJus+UY7dc6rBDYoIGciiY0QxTlJYroVPHhbmszsQG3gPOImmIU54=
Content-Type: multipart/alternative; boundary="_000_AM0PR03MB382883A46FC0075273064FC09D4A0AM0PR03MB3828eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ecitele.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b481587a-733b-4c48-bd60-08d6a78aa4af
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2019 08:05:22.8569 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2c514a61-08de-4519-b4c0-921fef62c42a
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR03MB5762
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/7Dev46pb_3RjgBf03fWXIVf720M>
Subject: Re: [bess] A short question on draft-ietf-bess-evpn-yang-07
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: Wed, 13 Mar 2019 08:05:35 -0000

Tim,
Lots of thanks for a prompt response.
I have indeed missed the ingress-replication  and p2mp-replication leaves at the top of the EVPN YANG tree. But I do not see how it helps to answer my original questions (in addition to being misplaced as you have noticed).

Seems we are in sync with regard to this issue.

Regards,
Sasha

Office: +972-39266302
Cell:      +972-549266302
Email:   Alexander.Vainshtein@ecitele.com

From: Yu Tianpeng <yutianpeng.ietf@gmail.com>
Sent: Wednesday, March 13, 2019 9:52 AM
To: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>
Cc: draft-ietf-bess-evpn-yang@ietf.org; bess@ietf.org; Michael Gorokhovsky <Michael.Gorokhovsky@ecitele.com>; Yechiel Rosengarten <Yechiel.Rosengarten@ecitele.com>; Ron Sdayoor <Ron.Sdayoor@ecitele.com>
Subject: Re: A short question on draft-ietf-bess-evpn-yang-07

Hi Sasha,
If you read the beginning of even yang, it has a common leaf which indicating it is IR or P2MP. But it is globally not per EVI.
So actually I also have a comment here I may forgot to mention in previous email is that this common leaf should be per EVI basis not globally.
If this info should be included in route leaf, the common leaf actually can be deleted I believe.
So basically I support what you said.

Hi author,
Thanks for the new version which fixes  a lot.
But I still have some concerns on the current version.
I will try put major ones down later.

Here just quick query on the usage of counter32 in statistics, isn't it very likely to get full in short time?  If you check interface-yang it always use counter64. If I calculate correctly, with 1mbps traffic counter32 will rotate in about 1 hour. Or I miss sth?

Thanks in advance.
Regards
Tim


On Wed, 13 Mar 2019, 06:47 Alexander Vainshtein, <Alexander.Vainshtein@ecitele.com<mailto:Alexander.Vainshtein@ecitele.com>> wrote:
Hi all,
I am now reading the draft, and I see that it is a substantial improvement over the earlier versions.

At the same time I have a question regarding the definition of Type 3 (Inclusive Multicast Ethernet Tag) EVPN route in this (and previous) versions.

The YANG definition of this route  runs as following:
<quote>
     list inclusive-multicast-ethernet-tag-route {
               uses route-rd-rt-grp;
               leaf originator-ip-prefix {
                 type inet:ip-prefix;
                 description "originator-ip-prefix";
               }
               list path {
                 uses next-hop-label-grp;
                 uses path-detail-grp;
                 description "path";
               }
               description "inclusive-multicast-ethernet-tag-route";
<end quote>

This definition matches the definition of the NRLI of this route in Section 7.3 of RFC 7432. But it seems to miss the requirement (stated in Section 11.2 of RFC 7432) that this route MUST carry an PMSI Tunnel Type Attribute (a.k.a. PTA) as defined in RFC 6514.

The draft also defines a Boolean attribute underlay-multicast of an EVPN instance, but it does not explain what this means and how it is used. My guess )FWIW) is that this attribute differentiates between EVPN instances that use ingress replication and EVPN instances that use P2MP LSPs to deliver BUM traffic. But it does not help to identify specific  technology used for setting up P2MP LSPs, and does not allow the user to see the labels advertised in the PTA.

Did I miss something substantial here?

Regards, and lots of thanks in advance,
Sasha

Office: +972-39266302
Cell:      +972-549266302
Email:   Alexander.Vainshtein@ecitele.com<mailto:Alexander.Vainshtein@ecitele.com>

-----Original Message-----
From: BESS <bess-bounces@ietf.org<mailto:bess-bounces@ietf.org>> On Behalf Of internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>
Sent: Monday, March 11, 2019 9:21 PM
To: i-d-announce@ietf.org<mailto:i-d-announce@ietf.org>
Cc: bess@ietf.org<mailto:bess@ietf.org>
Subject: [bess] I-D Action: draft-ietf-bess-evpn-yang-07.txt


A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the BGP Enabled ServiceS WG of the IETF.

        Title           : Yang Data Model for EVPN
        Authors         : Patrice Brissette
                          Himanshu Shah
                          Iftekar Hussain
                          Kishore Tiruveedhula
                          Jorge Rabadan
        Filename        : draft-ietf-bess-evpn-yang-07.txt
        Pages           : 28
        Date            : 2019-03-11

Abstract:
   This document describes a YANG data model for Ethernet VPN services.
   The model is agnostic of the underlay. It apply to MPLS as well as to
   VxLAN encapsulation. The model is also agnostic of the services
   including E-LAN, E-LINE and E-TREE services. This document mainly
   focuses on EVPN and Ethernet-Segment instance framework.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-bess-evpn-yang/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-bess-evpn-yang-07
https://datatracker.ietf.org/doc/html/draft-ietf-bess-evpn-yang-07

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-bess-evpn-yang-07


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<http://tools.ietf.org>.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
BESS mailing list
BESS@ietf.org<mailto:BESS@ietf.org>
https://www.ietf.org/mailman/listinfo/bess

___________________________________________________________________________

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.
___________________________________________________________________________