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

Alexander Vainshtein <Alexander.Vainshtein@ecitele.com> Sun, 03 March 2019 10:46 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 6E6CF129A87; Sun, 3 Mar 2019 02:46:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.701
X-Spam-Level:
X-Spam-Status: No, score=-1.701 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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 TEw2aljD1-qG; Sun, 3 Mar 2019 02:46:20 -0800 (PST)
Received: from mail1.bemta25.messagelabs.com (mail1.bemta25.messagelabs.com [195.245.230.130]) (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 7D597129619; Sun, 3 Mar 2019 02:46:19 -0800 (PST)
Received: from [46.226.53.55] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-2.bemta.az-c.eu-west-1.aws.symcld.net id 22/16-27207-870BB7C5; Sun, 03 Mar 2019 10:46:16 +0000
X-Brightmail-Tracker: H4sIAAAAAAAAA1WTe0hTYRjG/c7Zzo7h6njUfBsVtS6kcNZmRaM o+qeILnQhKkOrMz251XYcOxNnUWggiGEUi9A185LV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@ecitele.com
X-Msg-Ref: server-17.tower-307.messagelabs.com!1551609972!3081574!1
X-Originating-IP: [52.41.248.36]
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 22712 invoked from network); 3 Mar 2019 10:46:15 -0000
Received: from us-west-2a.mta.dlp.protect.symantec.com (HELO EUR03-AM5-obe.outbound.protection.outlook.com) (52.41.248.36) by server-17.tower-307.messagelabs.com with AES256-SHA256 encrypted SMTP; 3 Mar 2019 10:46:15 -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=i5M5rh0iIZ195imCGcjZ4V13NasWgGVzIKHon7+vdDI=; b=KXM6x7MO8AwygzRg9yQH4y2qG8SqmyBPSrup1u4C2lMfKJfnZsmGmwGx+QfFkyT93Jlmnux3hvzt0HABlKAj30fpDlzF7QURNXW/Nr0OiziV3MFgeSn4vZ1Wtdu+fdlObhlBivNwjAu7dD9IT/0tKM1CNCcFCYmfy4F1EKRNcj8=
Received: from AM0PR03MB3828.eurprd03.prod.outlook.com (52.135.146.159) by AM0PR03MB3650.eurprd03.prod.outlook.com (52.134.86.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.16; Sun, 3 Mar 2019 10:46:11 +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.1665.019; Sun, 3 Mar 2019 10:46:11 +0000
From: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>
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>
Thread-Topic: [bess] Review on draft-ietf-bess-evpn-yang-06
Thread-Index: AQHU0S7H35/S2QuTYEmoTiTFtLHlV6X5qjBg
Date: Sun, 03 Mar 2019 10:46:11 +0000
Message-ID: <AM0PR03MB3828CF64315768FA4553EB5F9D700@AM0PR03MB3828.eurprd03.prod.outlook.com>
References: <CAKFJ8epo2ReH76c=H1N_Gk0ZLXfi_B8H8izNC4hHYn+S=YjKEw@mail.gmail.com>
In-Reply-To: <CAKFJ8epo2ReH76c=H1N_Gk0ZLXfi_B8H8izNC4hHYn+S=YjKEw@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: 65f98670-80b9-41d1-4ca8-08d69fc5735c
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:AM0PR03MB3650;
x-ms-traffictypediagnostic: AM0PR03MB3650:
x-ms-exchange-purlcount: 1
x-microsoft-exchange-diagnostics: 1;AM0PR03MB3650;23:o8JGXdsIR7CPEva9hcISvbGwfagKtw8+3rR+u1D/HMhaQ/2iSzoYLw6d/zBuSvD7O2PqpTmwinsaP7BzHSNmj1iNTY7hBB7ix2Nf7bNsgYgr2BuLZm5V8I0LBNdHIQqBrRPSTcMcuL1+W2OD+towBTHeoygre9Ck/eO/TVtgSnT82eGpW92ONtM9E9SYb7OcTnBQSvjuHVbbflovqJRVlvfM/6k1xmGxOBW/HL5b0Dmf0HZajwcyCE5UJhOqhV+8suVnktP+Y3HARvKhz25c/parF7HacN1LkCuSaF8bqbHUMzcdyZRnUed6d69ZpTY197Xiqb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ZHCtdozkLQ==
x-microsoft-antispam-prvs: <AM0PR03MB36503DF2A1B158B50225724D9D700@AM0PR03MB3650.eurprd03.prod.outlook.com>
x-forefront-prvs: 096507C068
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(346002)(376002)(366004)(396003)(39850400004)(189003)(199004)(51874003)(71190400001)(236005)(476003)(229853002)(7696005)(110136005)(76176011)(486006)(4326008)(6436002)(86362001)(9686003)(25786009)(54896002)(6116002)(2906002)(33656002)(446003)(790700001)(11346002)(6306002)(2501003)(3846002)(6246003)(55016002)(71200400001)(72206003)(74316002)(7736002)(606006)(26005)(186003)(106356001)(68736007)(5660300002)(478600001)(14454004)(105586002)(52536013)(99286004)(14444005)(102836004)(66066001)(5024004)(256004)(316002)(97736004)(53546011)(6506007)(53936002)(81166006)(8936002)(8676002)(81156014)(413944005); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR03MB3650; H:AM0PR03MB3828.eurprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: PqwBf1JWZFrxwS7BjxadNKManLso4B6BVQ7c6hyb0+OgoSvqITsGFmpapzg4QeXOL96cY1DWKHR03N1GFApmT4lkieGIHK40ue2soyJRfPpmSbo7GB3HeIvRbL5qzmwVF4CGmj5+T71A+BfqLVGp0GRe3had+dF2IaGkks4XweYJtk4VJibLsG+d1jej9+oRRDsG/1Dx22utQOXQMFydtmft0x0LNsyxhhIlIaHOtMiPdq0n5NyFLQR1BW7AEbxCAqqdY/oS1SRWxPB7qZtketbryCKqfkL0sAPjFlxZP9H3isDZAeixyqGvI+62zZ8LzVdCIFkFyeJmCqOytF0JA4z+dZorX0c2t/2A//Pmsg8pNFFi41YZCeY78yamPEyP/zWkkqVlMNEgxTeZbe6ZMGUTflCrNR5fdM/82BCbv5k=
Content-Type: multipart/alternative; boundary="_000_AM0PR03MB3828CF64315768FA4553EB5F9D700AM0PR03MB3828eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ecitele.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 65f98670-80b9-41d1-4ca8-08d69fc5735c
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2019 10:46:11.1575 (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: AM0PR03MB3650
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/Y64G0rdE_sUETYCx4poR2p63NHs>
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: Sun, 03 Mar 2019 10:46:23 -0000

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