[bess] Representation of ESI in the EVPN YANG model draft

Alexander Vainshtein <Alexander.Vainshtein@ecitele.com> Sun, 12 August 2018 11:48 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 5284D1252B7; Sun, 12 Aug 2018 04:48:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.791
X-Spam-Level:
X-Spam-Status: No, score=-1.791 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] 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 4jFtYbRJrys8; Sun, 12 Aug 2018 04:48:18 -0700 (PDT)
Received: from mail1.bemta25.messagelabs.com (mail1.bemta25.messagelabs.com [195.245.230.66]) (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 7266B120049; Sun, 12 Aug 2018 04:48:14 -0700 (PDT)
Received: from [46.226.52.199] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-2.bemta.az-b.eu-west-1.aws.symcld.net id EE/DE-02069-C7E107B5; Sun, 12 Aug 2018 11:48:12 +0000
X-Brightmail-Tracker: H4sIAAAAAAAAA1WSWUwTURSGvTPT6UgYMxaEY7UmVn1wmYYSDaA hITEaE2PUB1/EbQojbWyH2ila3LUucU0xopZFwFAX3NG4RB9KxVipilAXNBFjihFBkWADGMU4 0yku9+HkO/c/5+S/N4fCNRFSS/EuJ+8QOKueTCBmTh2czG6ZYM9NO/1Jm3nuoRfPLOmuVuVgC 2prv2NL0HKVRTAVutaozFc/BnB7Q47rdVuA2IFeZh1ACRTBnMZhqPE+KScaphSDO94wdgCNlJ IIgo6HdplJJhvqL7wlZU5mVkH1h7tqmXFmEtyvao5xEjMHojd6cKUmB6KtnfF6A5QcjapkJpg pcOvludh8muHAPVBDyIyYFBhouogpM1PhTUdVjIFhoPZeM67wGPgU+aVS6k3w7kMNUu4nwsn2 CrXCOmitOojkxwDToIYfjz1xgYXe0tL4oEXgqzoiMSXxJLjRuVKpDyNo73kSr58B1X0thMJ2a Av7470rwNd1glR4AtQdfk8ozX4cbre4VYowHl48ryMVoYSE9is3kfKleRCs+Bbv8ODQ2+JVe9 D0sn+eXSa5whkBjofml8V+aTQ88nYQSolk6m4fqfB0OFPTjQ/zY38E+/e+GqnrUKbJYSkwO22 cxcoa09JYozGdNWZlscYMo4HbxJoMfBG7kRedrJRuFA1isS3Pmm8QeGc9khZrhHRuo2B/XgCN pTD9GDqlUsjVjDIV5hebOdG82lFk5cUAGk9ReqCX6Oy5mtEOvoB3rbVYpe0cloFK1CfTabJMi 3bOJloKFKkJzaOa3IeO4lRj+zEpPovFUw9KpfjzqxQ1hFAo8NpUepbczMjN5iLhz+jh3W9FOm 0SjSSzmkQ777BZnP/rXSiVQvokerE8JdEiOP846JLMYZK5dVNtsjkn91fS7kDnAy3BUE7hUHT 3l52Djdm+EIiey/XY2e63yec76Iz9/ldPLhkrl20eFJe/GxDKPVtfjHT1pOfrFhzuIWps19rW 5u7z91Y+vW51Nzps47zd5f6U6PqnTRv6fXv27pr8KtQQfL/QHZ6buKx/xdLQr6Bj+7ZDus+zI +qwrs9XZE9v1hOimTNOwx0i9xu/U6Ja9gMAAA==
X-Env-Sender: Alexander.Vainshtein@ecitele.com
X-Msg-Ref: server-8.tower-287.messagelabs.com!1534074488!6835338!1
X-Originating-IP: [52.41.248.36]
X-SYMC-ESS-Client-Auth: mailfrom-relay-check=pass
X-StarScan-Received:
X-StarScan-Version: 9.9.15; banners=ecitele.com,-,-
X-VirusChecked: Checked
Received: (qmail 6511 invoked from network); 12 Aug 2018 11:48:11 -0000
Received: from us-west-2a.mta.dlp.protect.symantec.com (HELO EUR04-VI1-obe.outbound.protection.outlook.com) (52.41.248.36) by server-8.tower-287.messagelabs.com with AES256-SHA256 encrypted SMTP; 12 Aug 2018 11:48:11 -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=tRcuAvf+TdLOqwTJS9/s5P4NABbYatbzV+5LvkYvh3o=; b=hyeRC0O8z6d2sE5gaocyev4uZz4ZAyjLS1X/9hq8qbDiAF/5y8wrl+mX2UoskTZj+1A4eBBcCCQ0RqJJWoGp1p7U91RmC+aD44FW2qp3fljqoK2dHKlwVoMDND3p73chGWwwhF8RSTOBFnPM7TTHmW+9u44xJxKyYsxYx7R6rZ0=
Received: from DB5PR0301MB1909.eurprd03.prod.outlook.com (10.167.226.155) by DB5PR0301MB1944.eurprd03.prod.outlook.com (10.167.227.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.24; Sun, 12 Aug 2018 11:48:06 +0000
Received: from DB5PR0301MB1909.eurprd03.prod.outlook.com ([fe80::9d76:cbfe:df45:e5bf]) by DB5PR0301MB1909.eurprd03.prod.outlook.com ([fe80::9d76:cbfe:df45:e5bf%5]) with mapi id 15.20.1038.023; Sun, 12 Aug 2018 11:48:05 +0000
From: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>
To: "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: Representation of ESI in the EVPN YANG model draft
Thread-Index: AdQyMDMqDBVhqtapQvGyIHGW7ltVsQ==
Date: Sun, 12 Aug 2018 11:48:05 +0000
Message-ID: <DB5PR0301MB1909DB5B0A9840D800E332BA9D3A0@DB5PR0301MB1909.eurprd03.prod.outlook.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-microsoft-exchange-diagnostics: 1; DB5PR0301MB1944; 6:C09p6q85zOzAPFvl4oiu/hnw6O1NbwjSm1oQ9covh8xHpAvqj7NyCC7Ifl04jBEFNmNVHgOhZ2RXAnXsvvMFd8f4BYayATtKP0zP5JZl8Ajkfep4e0IGX+W9wjIpYD4gdWXJB/aTUjnKfcAF/EGhdOYjcr9GkP2fd07saiIlVKhqdq4A/3zRAKTzKKbtZr0B5+4ORm3Hxwgsz2ufQV+yKwzVpdWHzKrF6Y5k4A9tHgVZm7nDZDbgrfW4pTmAgtrWfXWykA+mEA8y2pmrDYiZEo+PZb2b2EbHJPm6fferfWHY6GWtGOIHB6gpLsHwhdpA1sdoRJKJncSrODSySNLiJWL2qY+2KBtKdNz8QeT+hEa/05gKUglS1LbGVA9H2fLsRjs4+fKpDVrhXApVeIbx8woeZSmAF31uRRjakjXc89e3mywJYAcTlb6xN6Gx7a3skgXTHDpgYwZ1Ay1Izxlfog==; 5:jH0SJrnWyZxQsKTuysudX8P9vG0b3XXLxyqp2d6Iy/Q534w/IsvLxavE2Z+rigAltXghk23MycDgP9N5If9F9nDMG4D7oLwpvtNntsqUnMAT8xZnmyF2wodliYdInwyLgyNDinJv27ICIaJIf6PBkklOzXmaqWemDcq9182TIW0=; 7:GuVyrIoYq0+Q3REUgpQquxTZp4dEFVsqh1RX33AnmPgufY9cyWg4xKjhxJrfF/9JTLxOacUT0WgSFrF3ln04DNBNAAbJ1JnA3a7PEce6as/s/P6eTtBxf2m6FmpXAx89HomX5qPk96pkB92h2VgvorCaxVMawmtVBs6kI4sPIGX9ZXXNZMUVPjcdU5P03KTIcdjg0rzVj4EpM9KHW3QVeFYnD9vUWCly/Dfi1zzFXj3ZYQKCxN1KFxUrEe6I/OdK
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: f40089cf-39ef-48ef-4a25-08d6004977a7
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB5PR0301MB1944;
x-ms-traffictypediagnostic: DB5PR0301MB1944:
x-microsoft-antispam-prvs: <DB5PR0301MB1944F8A4C829F5CE1BB8B85D9D3A0@DB5PR0301MB1944.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155)(279101305709854);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231311)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:DB5PR0301MB1944; BCL:0; PCL:0; RULEID:; SRVR:DB5PR0301MB1944;
x-forefront-prvs: 0762FFD075
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(376002)(346002)(136003)(39850400004)(396003)(252514010)(189003)(51874003)(199004)(68736007)(5660300001)(7696005)(99286004)(606006)(26005)(5630700001)(186003)(102836004)(6506007)(3846002)(81166006)(8676002)(81156014)(2900100001)(97736004)(6116002)(2351001)(790700001)(2906002)(8936002)(316002)(6306002)(9686003)(478600001)(236005)(54896002)(450100002)(55016002)(4326008)(2501003)(486006)(5250100002)(14454004)(33656002)(217873002)(476003)(5640700003)(6436002)(106356001)(256004)(5024004)(105586002)(74316002)(72206003)(53936002)(86362001)(14444005)(7736002)(6916009)(66066001)(25786009); DIR:OUT; SFP:1102; SCL:1; SRVR:DB5PR0301MB1944; H:DB5PR0301MB1909.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-microsoft-antispam-message-info: i/Vr9cYYpE1rI0Xc4lUkD6GhPFcOX8Q1TkmIqvSIEzdzAcOiQbKRvu99WDTgHJiLMlJIHpab44qmDa5EDalJAySUxNBgKVBcVM/Q0RmqQ5yrDyt2aehMeh1Nix/Dyyv7Gtt5JhNIraQqCx3bpeoI8nKJX4UiZ+0c7Us/vhtOJcdcXo7F862/0z0ZRQgc83IVM9avQnw1wo52t8uyA2njJ9bHvC2Sv3RZLvj81oJ+lRQp8SQLRwxqr+4SbhNCTn7JNwC+oGNmxEwqinj9W4Cs6Dt7zY35egjCZkoNwGJbGkAEbN8K+Ai0TpgPbd3HobZp8JR5fQWIl6yFUohv+SX9QNQSotwDlSZGNfX39P/I+04=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DB5PR0301MB1909DB5B0A9840D800E332BA9D3A0DB5PR0301MB1909_"
MIME-Version: 1.0
X-OriginatorOrg: ecitele.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f40089cf-39ef-48ef-4a25-08d6004977a7
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2018 11:48:05.8474 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2c514a61-08de-4519-b4c0-921fef62c42a
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0301MB1944
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/7lKhsdkwrTMLAZNzn8EJJyETB4c>
Subject: [bess] Representation of ESI in the EVPN YANG model draft
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.27
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, 12 Aug 2018 11:48:20 -0000

Dear authors of draft-ietf-bess-yang,
I have several questions regarding representation of Ethernet Segment Identifier (ESI) in the -05 version of the draft.

1.       In the Ethernet Segment container the draft defines ethernet-segment-identifier as uint32. I do not understand how this can be mapped to the definition (in RFC 7432<https://tools.ietf.org/html/rfc7432>32>, Section 5) of ESI "encoded as a 10-octet integer" where the 1st octet acts as the ESI Type defining how the remaining 9 octets are used.

2.       The same module also states that access ethernet-segment-identifier to  is read-write. This seems to assume a configurable attribute. However, RFC 7432, Section 5, defines that ESI can be auto-sensed by the attached PE from some protocols (e.g., from LACP or MSTP/RSTP).  Can you please clarify how the decision to use auto-sensed ESI for a specific segment (and which protocol to use for auto-sensing) can be expressed using the draft?

3.       In some cases the ESI is supposed to include a 6-octet MAC address (specifically, for ESI types 1, 2 and 3), and this is used in RFC 7432, Section 7.6, for auto-derivation of the ES-Import RT from the ESI for these ESI types. Can you please clarify how, if at all, this can be expressed using the draft?

Your feedback would be highly appreciated.

Regards, and lots of thanks in advance,
Sasha

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


___________________________________________________________________________

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