Re: [netmod] [802.1 - 12909] IETF Sub-interface VLAN YANG Data Models - draft-ietf-netmod-sub-intf-vlan-model-04

Lou Berger <lberger@labn.net> Tue, 13 November 2018 07:03 UTC

Return-Path: <lberger@labn.net>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D65712D4E7 for <netmod@ietfa.amsl.com>; Mon, 12 Nov 2018 23:03:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (768-bit key) header.d=labn.net
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 sN91ZLcYRrO3 for <netmod@ietfa.amsl.com>; Mon, 12 Nov 2018 23:03:40 -0800 (PST)
Received: from outbound-ss-579.bluehost.com (outbound-ss-579.bluehost.com [74.220.218.175]) (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 B2B43128CF3 for <netmod@ietf.org>; Mon, 12 Nov 2018 23:03:40 -0800 (PST)
Received: from cmgw12.unifiedlayer.com (unknown [10.9.0.12]) by gproxy6.mail.unifiedlayer.com (Postfix) with ESMTP id C168C1E1022 for <netmod@ietf.org>; Tue, 13 Nov 2018 00:03:38 -0700 (MST)
Received: from box313.bluehost.com ([69.89.31.113]) by cmsmtp with ESMTP id MSjagTR0EE0jMMSjagp3KA; Tue, 13 Nov 2018 00:03:38 -0700
X-Authority-Reason: nr=8
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=labn.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=73g4AhpGys4lFpzBjuD5gs1aFjf5wPD4OZmNr+luUHQ=; b=XS0WDser4JehT54nDQBAfu4AX2 2bgXuM/B/B4Jom7TwbxD+pzK/Xyrcz+rx2T9W6cXEdTv4T8LgMzvGlcTB0viy207mU4pe+slq+IJl sqseQHPtBk/ht+gIoFj+ES/rC;
Received: from pool-100-15-106-211.washdc.fios.verizon.net ([100.15.106.211]:51488 helo=[IPv6:::1]) by box313.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from <lberger@labn.net>) id 1gMSjZ-0010xq-SU; Tue, 13 Nov 2018 00:03:38 -0700
To: John Messenger <jmessenger@advaoptical.com>, Robert Wilton <rwilton@CISCO.COM>, "Holness, Marc" <mholness@ciena.com>, "STDS-802-1-L@LISTSERV.IEEE.ORG" <STDS-802-1-L@LISTSERV.IEEE.ORG>, "netmod@ietf.org" <netmod@ietf.org>
References: <14a5c6fd-b24a-9669-7701-75dd822f95e2@cisco.com> <9485c56783074f19b4fbf357e5e82946@advaoptical.com>
From: Lou Berger <lberger@labn.net>
Message-ID: <bd991915-4670-fe52-f1aa-2c05f528b0ef@labn.net>
Date: Tue, 13 Nov 2018 14:03:32 +0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
MIME-Version: 1.0
In-Reply-To: <9485c56783074f19b4fbf357e5e82946@advaoptical.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - box313.bluehost.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - labn.net
X-BWhitelist: no
X-Source-IP: 100.15.106.211
X-Source-L: No
X-Exim-ID: 1gMSjZ-0010xq-SU
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: pool-100-15-106-211.washdc.fios.verizon.net ([IPv6:::1]) [100.15.106.211]:51488
X-Source-Auth: lberger@labn.net
X-Email-Count: 5
X-Source-Cap: bGFibm1vYmk7bGFibm1vYmk7Ym94MzEzLmJsdWVob3N0LmNvbQ==
X-Local-Domain: yes
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/r0t5t0tUQ6d7P-ehx-sBpA9n_PU>
Subject: Re: [netmod] [802.1 - 12909] IETF Sub-interface VLAN YANG Data Models - draft-ietf-netmod-sub-intf-vlan-model-04
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Nov 2018 07:03:44 -0000

Hi John,

     Thank you (and Janos, the group) for the agenda time and the 
message.  There was also a request for a single c-type vlan example.  I 
see that there is already one on page 22 as part of the match container.

See below for inline responses.

Rob/WG,
     The plan is to address the comments raised in this mail, update the 
draft and then go to LC.  Please note that the document status should be 
changed Informational to Standards Track.

On 11/13/2018 11:55 AM, John Messenger wrote:
> Hi,
>
> At the 802.1 TSN meeting this morning, Lou Berger made a presentation on behalf of Rob Wilton summarising the recent changes in this draft.  I like the changes to the structure which are intended to align the VLAN tag structure to that specified in 802.1Q.  I notice that the draft retains clause 2.2 (Extensibility) but I think that's a bug, because it's not reflected in the model (which is a fixed structure of one or two tags).
I agree.
> Right now, it says that the Ethertypes are taken from dot1q-tag-type.  Would this allow tags other than 802.1QTagType (81-00) and 802.1QSTagType (88-A8)?  That shouldn't be allowed.
I read this as just trying to use the IEEE defined types.  We certainly 
can restrict this to just c-vlan and s-vlan values, but perhaps you want 
to consider defining an enumeration for this case (valid-qtag-types).

Rob (wg)

     Do you see any issue with restricting tag-types to 
dot1q-types:c-vlan and dot1q-types:s-vlan?

> My preference would be to remove the forward-looking statement quoted here because it implies a willingness to extend to 3 tags:
> 	The structure of the model is currently limited to matching or
>     rewriting a maximum of two 802.1Q tags in the frame header but has
>     been designed to be easily extensible to matching/rewriting three or
>     more VLAN tags in future, if required.

sure. (at least from my perspective.)

> It looks like you could parse an untagged frame as either :(untagged) or :(dot1q-vlan-tagged) (without either of the optional tags).  Is that a bug?

I may be missing something, but I think you're right - i,e., why would 
dot1q-vlan-tagged be present without an outer-tag, but I may be missing 
something...

Thanks again.

Lou

> Thanks,
> 	-- John
>
> -----Original Message-----
> From: List HELP only <hdk.1-oeyo8vs4@hjkeen.net> On Behalf Of Robert Wilton
> Sent: 05 November 2018 16:16
> To: STDS-802-1-L@LISTSERV.IEEE.ORG
> Subject: [802.1 - 12909] IETF Sub-interface VLAN YANG Data Models - draft-ietf-netmod-sub-intf-vlan-model-04
>
> Ballot due Nov. 6: P802.1Qcx/D0.4
> For particulars see
>    https://1.ieee802.org/active-ballots/
> 802.1 list help: https://1.ieee802.org/email-lists/
> List archives (access-controlled) by date:
>                 www.ieee802.org/1/private/email2/mail1.html
> -----
>
> Dear esteemed 802.1 WG members,
>
> A few years back, at the start of my IETF and IEEE standards journey I wrote a draft defining a sub-interface based VLAN termination YANG model.  After discussion and presentations in both IETF NETMOD WG and IEEE 802.1 WG, there was a general agreement that it would be acceptable for IETF to publish this YANG model as an informational RFC, with the acknowledgement that 802.1Q VLAN technology is owned by IEEE, and in future the IEEE 802.1 WG may choose to publish a VLAN termination model.
>
> As part of that IETF NETMOD WG process, and after IEEE 802.1 WG had reviewed the model, I made a small change in structure of the YANG model with the sole aim of making the model simpler to use. In particular, the older model required a slightly clunky indexed list of VLAN tags, and that is replaced with a simpler structure supporting two explicit named VLAN tags ('outer-tag' and 'second-tag').  A while back, Glenn requested that I pass these changes by the IEEE 802.1 WG to ensure that the changes are acceptable to the IEEE 802.1 WG, hence this email.
>
> The change is perhaps best illustrated via the following change in the YANG tree output.
>
> The*older format* of the YANG model (that members of the 802.1Q WG previously saw) was like this:
>
> *if-cmn:encaps-type: +--:(vlan) +--rw vlan +--rw tags +--rw tag* [index]
> +--rw index uint8 +--rw dot1q-tag +--rw tag-type dot1q-tag-type +--rw
> vlan-id dot1q-vlan-id*
>
> The *updated format *of YANG model in the current draft is like this:
>
>          +--:(dot1q-vlan)
>             +--rw dot1q-vlan
>                +--rw outer-tag!
>                |  +--rw tag-type    dot1q-tag-type
>                |  +--rw vlan-id     ieee:vlanid
>                +--rw second-tag!
>                   +--rw tag-type    dot1q-tag-type
>                   +--rw vlan-id     ieee:vlanid
>
> The same equivalent change has been made for L2 sub-interfaces as well.
>
> The latest internet draft is
> https://tools.ietf.org/html/draft-ietf-netmod-sub-intf-vlan-model-04
>
> In particular, it may also be useful to look at the instance data
> examples in chapter 7, that give a couple of examples of how the YANG
> model is expected to be used both for L3 termination, and also when used
> in conjunction with the IETF L2VPN YANG model to provision a
> point-to-point L2 service.
>
> I hope to submit this draft to the NETMOD WG chairs for WG last call
> after the current IETF 103 meeting.  So if anyone has any concerns then
> please may I ask that you raise them.  ideally I would like to get them
> informally addressed before this document progresses.  Alternatively if
> you need more time to review this change, or need this as a formal
> liaison then please let me know, and I'll do my best.
>
> Thank you for your time,
> Rob Wilton
>
>
> ===
> Unsubscribe link: mailto:STDS-802-1-L-SIGNOFF-REQUEST@LISTSERV.IEEE.ORG
> IEEE. Fostering technological innovation and excellence for the benefit of humanity.