Re: [nvo3] Working Group Last Call and IPR Poll for draft-ietf-nvo3-geneve-08.txt

"Bocci, Matthew (Nokia - GB)" <matthew.bocci@nokia.com> Fri, 19 October 2018 10:26 UTC

Return-Path: <matthew.bocci@nokia.com>
X-Original-To: nvo3@ietfa.amsl.com
Delivered-To: nvo3@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 812FC130EBA; Fri, 19 Oct 2018 03:26:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.963
X-Spam-Level:
X-Spam-Status: No, score=-1.963 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.064, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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 (1024-bit key) header.d=nokia.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 BiozddEVioZb; Fri, 19 Oct 2018 03:26:36 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on071f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::71f]) (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 092DD128BAC; Fri, 19 Oct 2018 03:26:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NnJEjKhLztBKG6HQjajsfAMHeEDKqphoaezgAWYTMVM=; b=YDomr9VS1Gw8NIieg7hPArgdxTh/ttoymCNaIhoc0GVjdCXhjaOgL4Js398X+TaC5fNVqf/RppUPoufMcURyKJMSmsBspmI4PO/Ztsyvp4ZG+OXtxZaDE2nFmvA7wNt4PlrzVe+u0T5+pLu7ztqcnGuEAoJ2Hf+aviH+Vat4W+0=
Received: from AM6PR0702MB3622.eurprd07.prod.outlook.com (52.133.24.24) by AM6PR0702MB3573.eurprd07.prod.outlook.com (52.133.24.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1250.15; Fri, 19 Oct 2018 10:26:33 +0000
Received: from AM6PR0702MB3622.eurprd07.prod.outlook.com ([fe80::28b8:ff45:31a9:487e]) by AM6PR0702MB3622.eurprd07.prod.outlook.com ([fe80::28b8:ff45:31a9:487e%3]) with mapi id 15.20.1273.012; Fri, 19 Oct 2018 10:26:33 +0000
From: "Bocci, Matthew (Nokia - GB)" <matthew.bocci@nokia.com>
To: Greg Mirsky <gregimirsky@gmail.com>, "jesse@kernel.org" <jesse@kernel.org>
CC: NVO3 <nvo3@ietf.org>, "draft-ietf-nvo3-geneve@ietf.org" <draft-ietf-nvo3-geneve@ietf.org>
Thread-Topic: [nvo3] Working Group Last Call and IPR Poll for draft-ietf-nvo3-geneve-08.txt
Thread-Index: AQHUX6+cv3j1TD5e7EiDM7tmzabFlaUhGBsAgAK3tICAACHrgIAAC4OAgAEvxACAAVDLAA==
Date: Fri, 19 Oct 2018 10:26:33 +0000
Message-ID: <C560D21D-1A4A-4CF9-9D01-F2727AE87CE3@nokia.com>
References: <C35AB375-99DA-4629-8D67-D8991FF69434@nokia.com> <CA+RyBmXLXerc7CmsT71XK31CL-Hd75tm=vw9te5=4+7jvea_og@mail.gmail.com> <CAEh+42ik9WbAhxa+SjDxV4scEEaFfvACw4PWvLHLYcO04gAV1A@mail.gmail.com> <CA+RyBmXYTj=1NPxnk66cgf0Ci=FWe=u7zfX+beLkBwogKW5eCw@mail.gmail.com> <CAEh+42jkv50vnDtF5C+oGJU-V3UOrP1KvrEF2F6Xo2uKrSFhyA@mail.gmail.com> <CA+RyBmWiJDrRUaNq0ZLRVkvQE+0UAdp2a8ryQeGG7VP6n8av6w@mail.gmail.com>
In-Reply-To: <CA+RyBmWiJDrRUaNq0ZLRVkvQE+0UAdp2a8ryQeGG7VP6n8av6w@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.12.0.181014
x-originating-ip: [81.108.178.133]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM6PR0702MB3573; 6:IKQMmS2rR/BdOOr9wkopRLGcdfViEtFiS/hClMd4ClKGVzYeUbBXtS1KgSeCgSjFfSRBxSy1G2b4iSkiXVrLou9cHz2xyv/RvcphZqNFyIW1BwvIUucupsvc5GW4o3JjVUo+pXhES9MmX2vOvoyxgQkMzU+8kBgoyTo19knvSJNS5WZ8iATqhFYuOpu49aUarXR3XIO8/n7ZJn4tYnbunFz3oMlpgMvd0fmSPGuwaEUEmWKD/65+BlrsDK15xe6REPxN6mxVXGuNcuQqM4w0bXjrfm4lIdCjeYzHhyNfY08HVxnF+UfLc6jD5fgJ1rZSr7YmDkohND/+Fyce/g5WT30sWg9xEQsmV6D5aYjTGKLr6VJqOudpdygdYWvSuLJQIpaJ45qYe01eQFaCqvTmfJFJZ6T4P1odTKDEAAsHxdWxOVX8bS1bGGxEfmKSC0cecNjE7S9Dagy/qars6mmFvQ==; 5:rIQxoHepEEskPLXUfTPz0JmAGFjakQWJt+EW8VdIA79PxrSRPbbUkYHGEAbSezCBbyapTC7KS/MSU+hHUAxE2ebbVzbkjZfUIH9age/NG9uFkoguy9FB1CI+oJX1XVovc6lBL58G1sVEz1a2RsYg+eQq6hJ39hUD8P8I7aFeP00=; 7:JFUnlV37o4IE0KtOZ6VMDI1cQ/wQRN+sz1WbSFNQfdivN8ZqdwSFoE34qwFOwF0jJ/GVx9KuzaML6g8d7p8FY45W2w+M0cvk+npIZXe3uMNNnuBkJsocjUO4fEwTX3BZoALoxhOlyXHV/0B89hYPJZIGrKdIt7zyoIQuXjKHOUiHGyfkIX8y1ZBsgCl/dI3B5qloIuccvgYyqIshwPQNfC2gMg4vnKjEuutoZBQmPT2XclZWj2Psc5Hv41w/APh1
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 4aee3a1f-9606-4226-4ab2-08d635ad5773
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7167020)(7193020); SRVR:AM6PR0702MB3573;
x-ms-traffictypediagnostic: AM6PR0702MB3573:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=matthew.bocci@nokia.com;
x-microsoft-antispam-prvs: <AM6PR0702MB3573143E5827ECC5CAA24427EBF90@AM6PR0702MB3573.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(85827821059158)(195916259791689)(109105607167333)(82608151540597)(35073007944872)(21748063052155)(28532068793085)(190501279198761)(227612066756510);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3231355)(11241501184)(806099)(944501410)(52105095)(3002001)(6055026)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:AM6PR0702MB3573; BCL:0; PCL:0; RULEID:; SRVR:AM6PR0702MB3573;
x-forefront-prvs: 0830866D19
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(396003)(366004)(346002)(136003)(376002)(55674003)(199004)(189003)(229853002)(54896002)(6512007)(39060400002)(6486002)(6436002)(53936002)(8936002)(6306002)(68736007)(8676002)(25786009)(81156014)(81166006)(236005)(7736002)(6246003)(83716004)(71200400001)(4326008)(110136005)(76176011)(54906003)(58126008)(478600001)(71190400001)(99286004)(14454004)(5660300001)(2501003)(86362001)(36756003)(5250100002)(97736004)(345774005)(3846002)(2906002)(6116002)(106356001)(102836004)(26005)(486006)(186003)(2900100001)(316002)(55236004)(6506007)(53546011)(11346002)(2616005)(93886005)(476003)(446003)(14444005)(33656002)(105586002)(66066001)(82746002)(256004); DIR:OUT; SFP:1102; SCL:1; SRVR:AM6PR0702MB3573; H:AM6PR0702MB3622.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: IWtknoovRnN3KyvrLN27znRtUZW3E89qJ/aVeRDYW5Aq7fcYV/RT06KQrLMMZtjBwI274yA360ohZjdXmTrgcOo7/e+3Gn6K8ZznkxMgwWU7hFhcuAfqRnKuLG8McGec/9eHjSm+rhk/X11HUiDPRM56IibXwmDYLq9tVqm7vSplRKHNrJFAj/keB3MmO7uY6O353k5LQtXoyZJPFtqlbQ1fBuarvDmOTLKiL9rj89TXPtqQEowJGUT7V3VLLIdtTGjbcOOwNhqxtNWmAB/c9g8EWp/mNVz3p4IF2oiAS7Boi+sL/Q+m+bz6BCgoOxoPGjWc5gyff+G169ts8YvMAszW17RZ6p4NUo6IJ7Jnr6iyZtgC3rTY7Nkc9JGbx4WI3qXBKZkIa70f0sSXQRnQaQ==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_C560D21D1A4A4CF99D01F2727AE87CE3nokiacom_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 4aee3a1f-9606-4226-4ab2-08d635ad5773
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2018 10:26:33.1281 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0702MB3573
Archived-At: <https://mailarchive.ietf.org/arch/msg/nvo3/eko-kJ1JDpExWfy2vGHgfbYcn0s>
Subject: Re: [nvo3] Working Group Last Call and IPR Poll for draft-ietf-nvo3-geneve-08.txt
X-BeenThere: nvo3@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Network Virtualization Overlays \(NVO3\) Working Group" <nvo3.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nvo3>, <mailto:nvo3-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nvo3/>
List-Post: <mailto:nvo3@ietf.org>
List-Help: <mailto:nvo3-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nvo3>, <mailto:nvo3-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Oct 2018 10:26:41 -0000

Greg, Jesse

Is there any value in renaming the O bit to something more generic to indicate that it is really acting as an exception mechanism to tell the terminating NVE to process the packet in its control plane, rather than forward it or imply something about the protocol. It seems that its function is more aligned with the GAL or ‘0001b’ nibble in the PW-ACH.

Matthew




From: Greg Mirsky <gregimirsky@gmail.com>
Date: Thursday, 18 October 2018 at 16:21
To: "jesse@kernel.org" <jesse@kernel.org>
Cc: "Bocci, Matthew (Nokia - GB)" <matthew.bocci@nokia.com>, NVO3 <nvo3@ietf.org>, "draft-ietf-nvo3-geneve@ietf.org" <draft-ietf-nvo3-geneve@ietf.org>
Subject: Re: [nvo3] Working Group Last Call and IPR Poll for draft-ietf-nvo3-geneve-08.txt

Hi Jesse,
thank you for kind consideration of my comments and I'm looking forward to the updated definition of the O-bit flag. In the meantime, I'll note that using the flag to indicate that the payload, e.g., Ethernet frame of IP packet, contains OAM message, e.g., CCM or BFD, seems unnecessary to me. Consider that Ethernet uses EtherTypeand IP uses port number to demultiplex OAM. I imagine that the egress Geneve node will terminate a packet and realize that the payload, the frame or the packet, is addressed to it. Then the type will be properly identified and acted upon. In MPLS we use IP/UDP encapsulation for BFD and Ping, and over VXLAN have to add Ethernet header to IP/UDP encapsulated BFD control message. At the same time, MPLS label stack may include GAL special label that indicates that the label stack is followed by the Generic Associated Channel header, which includes the Channel Type field to demultiplex the payload. In this case, IP/UDP encapsulation is not used.
Apologies if my example came out too wordy. My point is that if Geneve identifies the payload as OAM, there's no an apparent benefit in having the payload encapsulated in one of the network layers.

Regards,
Greg

On Wed, Oct 17, 2018 at 2:14 PM Jesse Gross <jesse@kernel.org<mailto:jesse@kernel.org>> wrote:
On Wed, Oct 17, 2018 at 1:32 PM Greg Mirsky <gregimirsky@gmail.com<mailto:gregimirsky@gmail.com>> wrote:
> On Wed, Oct 17, 2018 at 11:31 AM Jesse Gross <jesse@kernel.org<mailto:jesse@kernel.org>> wrote:
>>
>> Greg,
>>
>> The 'O' bit does not override or interact with the Protocol Type
>> field, so there is no issue with precedence. It is possible to
>> implement OAM on Geneve using options, in which case the payload could
>> be a stub of a packet to ensure consistent behavior between OAM and
>> data packets as has been done with other protocols. In this situation,
>> the Protocol Type would still indicate the type of the stub packet as
>> usual. It is also possible to implement OAM using the payload of the
>> packet as you describe and the Protocol Type would indicate that using
>> an EtherType assigned for this purpose.
>
> GIM>> If understand you correctly, O-bit indicates presence of OAM TLV(s) not the type of the payload. But, in my opinion, that is not how the O-bit is currently defined:
>  O (1 bit):  OAM packet.  This packet contains a control message instead of a data payload.
> The definition is the definition of a packet in active OAM per RFC 7799 but your description suggests that the O-bit only characterizes the content of TLVs, not of the payload of the Geneve packet. Would you agree?

No, I am not saying that the bit indicates the presence of OAM TLVs.
TLVs are always processed in the usual way by looking at the Opt Len
field and the individual TLV header fields. The 'O' bit does not
change this, similar to how it does not change the Protocol Type
field.

I think we can rework the first sentence to simply say something like
"This packet is a control message." As you point out, the text about
"instead of a data payload" is confusing because the bit does not
impact the processing of the payload.

> GIM>> In addition, yes, TLV may be used to implement OAM but, as I believe, it would not support all requirements usually set for OAM. For example, because the length of the Value field is limited TLV could not support testing with synthetic packets of large size. You can find more details in draft-mirsky-rtgwg-oam-identify.

This is a good example of a use for a stub of packet that I mentioned
earlier. However, that does not mean that the OAM instructions also
need to be in the payload. They can still be in a TLV and then a
synthetic payload is present. I believe that this is the cleanest
implementation because it keeps everything consistent between OAM and
non-OAM packets and active and passive OAM.

Although I prefer the use of TLVs for OAM, it is possible to implement
OAM using a shim layer in the payload as well - Geneve has the
flexibility to do it both ways and the behavior of the 'O' bit remains
the same.

>> In either case, the meaning of the 'O' bit is the same and it only
>> affects the behavior of endpoint devices processing OAM. Most devices
>> are oblivious to this and will simply use the Protocol Type field to
>> process the payload as usual. The appropriate behavior for 'O' bit
>> flagged packets is described in the draft:
>>
>>       Endpoints MUST NOT forward the payload and
>>       transit devices MUST NOT attempt to interpret or process it.
>>       Since these are infrequent control messages, it is RECOMMENDED
>>       that endpoints direct these packets to a high priority control
>>       queue (for example, to direct the packet to a general purpose CPU
>>       from a forwarding ASIC or to separate out control traffic on a
>>       NIC).  Transit devices MUST NOT alter forwarding behavior on the
>>       basis of this bit, such as ECMP link selection.
>
> GIM>> Could you please clarify what is considered as "transit devices"? Is it node in Geneve layer or is it a node in the underlay network. If it is the latter, then the requirement is just re-stating layer preservation. If it is the former, then it appears to prohibit tracing OAM operation on multi-segment Geneve tunnel.

The draft defines a transit device as:

Transit device.  A forwarding element along the path of the tunnel
   making up part of the Underlay Network.  A transit device MAY be
   capable of understanding the Geneve packet format but does not
   originate or terminate Geneve packets.

i.e. it is a node in the underlay.

>> The 'O' bit does not otherwise change the interpretation of the packet.
>
> GIMM> I disagree. At least as the curreent definition of the O-bit states - O-bit defines the payload of the Geneve packet.

I think by changing the first sentence as I suggested above, we can
correct this. The intention is that the 'O' bit only has the effects
quoted above.