Re: [netmod] WG Last Call: draft-ietf-netmod-sub-intf-vlan-model-05
"Rob Wilton (rwilton)" <rwilton@cisco.com> Mon, 13 July 2020 21:48 UTC
Return-Path: <rwilton@cisco.com>
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 E24793A0C6C for <netmod@ietfa.amsl.com>; Mon, 13 Jul 2020 14:48:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.62
X-Spam-Level:
X-Spam-Status: No, score=-9.62 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=IB5c6JWR; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=ptL6ZlSP
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 uLRv8VcwcFkG for <netmod@ietfa.amsl.com>; Mon, 13 Jul 2020 14:48:13 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65BE73A0C5F for <netmod@ietf.org>; Mon, 13 Jul 2020 14:48:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8597; q=dns/txt; s=iport; t=1594676893; x=1595886493; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=cSYBbttR9VC4g35TQYfosqoC47H9HgnUrfNMJ9Jm6fI=; b=IB5c6JWRsXITlGaz9pTj8ElkpjMrGLQdG2d2Xpzy/pft90d+Kz1ZszcT 5eMm/XUN2vkF9ByGZGaBB/1KAoT6sitF+eqolK4yDIBj2AOn7XNDd+rS3 a4U/xFVLxiyvYek3n9gjGbC09qUplvnJEYExZF337dtBJ7qtmuEsZh1bV s=;
IronPort-PHdr: 9a23:n85WphfetAZ/Djf26nSwFpmRlGMj4e+mNxMJ6pchl7NFe7ii+JKnJkHE+PFxlwaQBdeHtawUzfHb4OjsWm0FtJCGtn1KMJlBTAQMhshemQs8SNWEBkv2IL+PDWQ6Ec1OWUUj8yS9Nk5YS5qgOQ2UuXDhpTIXEw/0YAxyIOm9E4XOjsOxgua1/ZCbYwhBiDenJ71oKxDjpgTKvc5Qioxneas=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DOCQDH1Qxf/40NJK1gHgEBCxIMQIMcUQdvWC8sCodvA41RmF6BQoERA1ULAQEBDAEBGAsKAgQBAYQIRAKCGgIkOBMCAwEBCwEBBQEBAQIBBgRthVsMhW8BAQEBAgEBARAuAQEsDAQHBAIBCBEEAQEvJwsdCAIEARIIGoMFgksDDiABAwueZgKBOYhhdIE0gwEBAQWFMxiCDgMGgTiCaooIGoFBP4FUgk0+glwBAYEiIxyDR4ItjywJixCaWwqCXYhRkSiCdIk2kwCRbIoilFICBAIEBQIOAQEFgWojgVdwFRohgmlQFwINjh6DcYUUhUJ0NwIGCAEBAwl8jjwBgRABAQ
X-IronPort-AV: E=Sophos;i="5.75,348,1589241600"; d="scan'208";a="782642736"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 13 Jul 2020 21:48:11 +0000
Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by alln-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id 06DLmBMg032696 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 13 Jul 2020 21:48:11 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 13 Jul 2020 16:48:11 -0500
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 13 Jul 2020 16:48:10 -0500
Received: from NAM04-BN3-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 13 Jul 2020 16:48:10 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BLrH5XzyUMmPm0+zDHjjwrxSGf7B33U4xJ0ZgTcoG5CqFIyMY5rl2neGg8gMtLjiu5yy97vApt8AoWJ/O+TBqCW7v5zLGMtKX7y3QMrcOveQWHNiXiNkEcIpjZCoE6Np+XLG4dFDEEWDA53CxEv+aXcPbVsWHl/tipPqTXrFujuUjUxnL9hCqGb70jpPL088YWFZx4bScLM1KE8uPr3wZo7yyiFFi4zW9v7cxKZNfaeXzX94fMSgCC1mUznpSWPcSRcE6jyF5KkGnLb8Dcc5xYa0rrNbA1aNrbje8IOZfQyfINljB4NcRFHxO1SbZNuOCwn5iu07KYsBgJqmDm9pXg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Btd3bk5gtk6PvepLg1ttCbGSeotp00MJJ0G4LyPbXGo=; b=naM4IPnz2eVK+DPIQnpnkYDSk3A6FdmFeUH1EZYs9Wt5BvJOA5h/SqN5v4Sa/0cklKkxK7CTFnkxvDzzpU5fdbe1kqk1NwlfBarccQo2prFft5tZK9wr/5T+dTGYaZDdRTXC2xzMbtavyyVgSjkfqmDGHRzjaJg5tuub+HJLjeR0Vi+SWw3SNzFhLlAxHhSNdbrAPS0zlrmQV3jhyzCPxUOW4SBn1vZVNjn1aAuJTf68zLn7M/rQcqPdc0VrLGt7+nq9gfTt+VwG1Q3G15zTbil0d2knf+hg3D0HZzjk0LJzT/rex5cFoP5agaHZ9kR190kVyQKnfXoS7nmUIXJplA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Btd3bk5gtk6PvepLg1ttCbGSeotp00MJJ0G4LyPbXGo=; b=ptL6ZlSPNBg0j1oCfIjrwZ/07vajSmr9MXoBL63fiAY1RDG6qP1jokfN+v/D+E4uJhRUO3d2+uBcqS26FqmWzSdQo+ghdLaURnGcL0kmAQ5XjTjV/we1ohqTbdQwqpEn9g5W5DPYrg/A+etPUEf40BKtM0U0eXuPVCh8SO2e0YQ=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (2603:10b6:208:190::17) by BL0PR11MB2898.namprd11.prod.outlook.com (2603:10b6:208:73::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20; Mon, 13 Jul 2020 21:48:09 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::e9d4:79b5:aef1:be18]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::e9d4:79b5:aef1:be18%5]) with mapi id 15.20.3174.025; Mon, 13 Jul 2020 21:48:09 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Martin Björklund <mbj+ietf@4668.se>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] WG Last Call: draft-ietf-netmod-sub-intf-vlan-model-05
Thread-Index: AQHVNrSdUftbhJt63UiE6U23Ec3oLqcH3xqAgf+2fBA=
Date: Mon, 13 Jul 2020 21:48:08 +0000
Message-ID: <MN2PR11MB4366229A89FFAEA3F9B8C50FB5600@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <0100016bd93be4a2-a22ba545-c022-44d6-9188-1b51ff1effe0-000000@email.amazonses.com> <20190822.221453.1052536475937856222.mbj@tail-f.com>
In-Reply-To: <20190822.221453.1052536475937856222.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: 4668.se; dkim=none (message not signed) header.d=none;4668.se; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [82.15.79.32]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5773e8ed-ba7c-4fa3-2115-08d827766f0f
x-ms-traffictypediagnostic: BL0PR11MB2898:
x-microsoft-antispam-prvs: <BL0PR11MB28987D925E1D54BE10008D8AB5600@BL0PR11MB2898.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: HNDgi39oOnkELrRtbLkUk1/pyoPonkXSxKBvgv9tmao+ghpvJudhHtXVtiqKfZWuRD25vHiczBRC++D2T+ICBaS/zRpHEwnVKHStWyiBAjuJeIqRlq5nSVApygoOn4uSDwioCIYNXbYDLipM0YB+CNBmG9h3jIkkp178fqGurUCeaPzQPSb1kg0htgUxQhQhlkTie1drhgN0xClHcvNDZknNp5A/lafKBYHm/ztFHnDiNTeGcqgFv9KYvfOPd7wTzpmZ8QF/J0D36/wBjItocoD3YECj9H8l2EQ7iyVIDQ4x9XwUFo1xLi3demfQTTWhGHUaeEFee3/ncxx5nnifYiD8gGLG51OJymQ13/9DGmOXPWGY95VNtuY7XgIbQIJPWjKdrUcwd+/8hzlodnOrXg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4366.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(136003)(366004)(346002)(39860400002)(376002)(5660300002)(86362001)(66476007)(66556008)(66446008)(66946007)(64756008)(76116006)(186003)(26005)(52536014)(83380400001)(71200400001)(33656002)(2906002)(8676002)(316002)(53546011)(478600001)(7696005)(6506007)(8936002)(9686003)(55016002)(966005)(110136005); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: J2kX3xPBJHmJ3vWK/Rrj3CIENkSASMa0mjGmWUqGj3HkyUOW6/2AnK6tyq4DtBns3HSuUNovGvcTkJF+6bzTgC7w44UG7kzhA0LykL46dtUO602EeEB0hKysvFDkykIxxSornvcadVMWSGsCslqdVwIMxtvy6iR/gWdXpPL+rFZXRCUqd7GsdoLcVv663kHHuY+wOcfnEl1FmxGYpZ7JBAg7fdVboCgvLRZi7j47PM7+laxZCnhx76eeJf6HY62m0t9eM62YmZgyiM2+hd+pXjqx2suf78j3SIKVZuGVzELvQr5y6v86AyfB0HQl6MJSU3mAiH2L8JacA4toddBL0fqokGeJspX7GAqzMRjtTPFaU6q+Qx9ltrCuDfWBPNeVSLed9fu7sak7oi120sLW0JoZD4PX6mKujxvcL1/0YyktPwNt1Q0GPaiKc6t9+Y7K8JXW8mSx+efbo6AltC9oU2HzSAM7ulw0Iz88YbCf4jc=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4366.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5773e8ed-ba7c-4fa3-2115-08d827766f0f
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2020 21:48:09.3393 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: iTgcj2BCsOAvXtyY9sbj6rcjCFiaMv1Z4ybrJwxufXnZxn3Aap76mlaewOOeDuB6SaQQ3qs9lStVW/QOysK+sA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB2898
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.11, xch-rcd-001.cisco.com
X-Outbound-Node: alln-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/iAvuCgroXNI0yPY3kwjz93h4UgE>
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-sub-intf-vlan-model-05
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: Mon, 13 Jul 2020 21:48:16 -0000
Hi Martin, Sorry for the amazingly late response to get to these. I've provided comments inline below. I've also raised issues and updated the YANG modules and draft at https://github.com/netmod-wg/sub-intf-vlan-yang. The -07 version of this draft that I've posted just now also contains markups (so far) to your comments below. > -----Original Message----- > From: netmod <netmod-bounces@ietf.org> On Behalf Of Martin Bjorklund > Sent: 22 August 2019 21:15 > To: netmod@ietf.org > Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-sub-intf-vlan-model- > 05 > > Hi, > > Here is my (late) review of draft-ietf-netmod-sub-intf-vlan-model-05. > > o 1 > > The YANG module names are not correct; they are listed as: > > if-l3-vlan.yang - Defines the model for basic classification of > VLAN tagged traffic to L3 transport services > > flexible-encapsulation.yang - Defines the model for flexible > classification of Ethernet/VLAN traffic to L2 transport services > > Should be "ietf-if-l3-vlan" and "ietf-flexible-encapsulation". > > Or "ietf-if-l3-vlan" and "ietf-if-flexible-encapsulation". > > But I also wonder if these names should somehow be changed. What > is a "l3-vlan"? And "flexible-encapsulation" sound a bit too > generic. > [RW] I thought about this, and what I propose (and what is in the latest draft) is as follows: ietf-if-vlan-encapsulation - Adds "dot1q-vlan" to the encapsulation choice. - Predominantly would be used for L3 sub-interfaces, but could also be used on L2 interfaces (e.g. connected to L2VPNs) if only basic VLAN tag matching was required/supported. ietf-if-flexible-encapsulation - Adds "flexible" to the encapsulation choice - Supports matching untagged traffic, priority-tagged, VLAN-tagged with ranges & wildcard, default match (i.e. match of last resort). - Supports tag manipulations (push, pop, rewrite) - Could be extended by vendors with more L2 classification (e.g. src/dst MAC matching) - Makes most sense for L2 interfaces, although there are other scenarios where it could be used (e.g. PPPoE subscribers). > > o 1.1 > > The text says: > > Sub-interface: A sub-interface is a small augmentation of a regular > interface in the standard YANG module for Interface Management that > represents a subset of the traffic handled by its parent interface. > > I think the augmentation is the YANG-realization of a sub-interface, > but it is not what a sub-interface is. Also, this definition is > mis-leading; it doesn't mention that a sub-interface has its own > interface type and is represented as one separate entry in the > interface list. I think it is better to import this term from > draft-ietf-netmod-intf-ext-yang (section 3.6) > [RW] Fixed, to pull in the reference from draft-ietf-netmod-intf-ext-yang. > o 3 > > The text says: > > The L3 Interface VLAN model provides appropriate leaves for > termination of an 802.1Q VLAN tagged segment to a sub-interface based > L3 service. > > There is a comment in the YANG model that says the same thing. > > But the YANG model itself augments not only to sub-interface-based > interface, but also to ethernet-like interfaces. > [RW] I've fixed this text to make it clear that the encapsulation can be applied to an interface or sub-interface both in the description and the YANG model. > > o YANG modules > > Both modules lack the IETF Trust Copyright statement. > > We don't list WG Chairs anymore. > > The revision statements should be on the form: "RFC XXXX: <title>" > > Many descriptions are full sentences w/o the ending ".". > > The modules should be indented properly; a starting point can be > pyang -f yang --yang-line-length 69 > [RW] Hopefully now fixed in the latest revision. > > o ietf-if-l3-vlan > > There is a comment: > > /* > * Matches a single VLAN Id, or a pair of VLAN Ids to classify > * traffic into an L3 service. > */ > > This should be moved into a description clause. [RW] I've removed this comment, and expanded the description clause to: description "Classifies 802.1Q VLAN tagged Ethernet frames to an interface or sub-interface by exactly matching the number of tags, tag type(s) and VLAN identifier(s)."; > > o ietf-if-l3-vlan / container dot1q-vlan > > The must statement has: > > count(../../if-cmn:forwarding-mode) = 0 > > This can be changed to not(../../if-cmn:forwarding-mode) which is > more direct imo. > > The must statement's description statement seems to be a > copy-and-paste error. [RW] This constraint has been removed. forwarding-mode was converted to a config false node, and the consensus was that the configuration should not be restricted. > > > o ietf-if-l3-vlan / container dot1q-vlan > > The descriptions talk about "matching frames" and "classifying > traffic", but it is not described anywhere how the matching and > classifying is used. > > (also applies to ietf-flexible-encapsulation) [RW] I've added the following paragraph to both models (the basic VLAN model doesn't contain the last sentence since it isn't so directly relevant): "Flexibly classifies Ethernet frames to an interface or sub-interface based on the L2 header fields. Only frames matching the classification configured on an interface/sub-interface are processed on that interface/sub-interface. Frames that do not match any sub-interface are processed directly on the parent interface, if it is associated with a forwarding instance, otherwise they are dropped. If a frame could be classified to multiple sub-interfaces then they get classified to the sub-interface with the most specific match. E.g., matching two VLAN tags in the frame is more specific than matching the outermost VLAN tag, which is more specific than the catch all 'default' match."; Do you think that this text is sufficient, or do you think that more is required (e.g., in the document rather than the YANG model)? > > > o ietf-if-l3-vlan / outer-tag / second-tag > > These names are a bit inconsistent. The description describes them > as "outermost tag" and "second outermost tag". Perhaps use these > names instead? > > (same names are found in ietf-flexible-encapsulation) > I prefer the existing names because they are shorter and have been agreed with IEEE 802.1Q WG. The descriptions also make it clear which tags are being matched, and I've changed the associated description text from "outermost tag" to "outermost (first) tag" to hopefully make it a bit clearer. I propose closing this issue without changing the names of the tags. > > > o ietf-flexible-encapsulation / all features > > The features are described as: > > "This feature indicates whether the network element supports > specifying flexible rewrite operations"; > > Should this be s/whether/that ? [RW] Fixed. > > > o ietf-flexible-encapsulation > > There is some descriptive text in comments that should be moved to > description statements. > [RW] Fixed. Descriptive text has been moved into description statements. > > o ietf-flexible-encapsulation > > The descriptions for pop/push are a bit terse. It seems to assume > that readers already know what this (from somewhere) is so it > doesn't need to be described. If this is intended, perhaps add a > reference to where this is described. > [RW] This isn't any standard reference for this functionality. I have tried to expand the descriptions in the YANG model, please can you check the latest version of the draft to see if you think these are sufficient. Apologies again for being so slow to process these comments. Regards, Rob > > > /martin > > _______________________________________________ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod
- [netmod] WG Last Call: draft-ietf-netmod-sub-intf… Kent Watsen
- Re: [netmod] WG Last Call: draft-ietf-netmod-sub-… Acee Lindem (acee)
- Re: [netmod] WG Last Call: draft-ietf-netmod-sub-… Jeff Tantsura
- Re: [netmod] WG Last Call: draft-ietf-netmod-sub-… Qin Wu
- Re: [netmod] WG Last Call: draft-ietf-netmod-sub-… Martin Bjorklund
- [netmod] Fw: WG Last Call: draft-ietf-netmod-sub-… Martin Bjorklund
- Re: [netmod] WG Last Call: draft-ietf-netmod-sub-… Rob Wilton (rwilton)
- Re: [netmod] WG Last Call: draft-ietf-netmod-sub-… Rob Wilton (rwilton)
- Re: [netmod] WG Last Call: draft-ietf-netmod-sub-… Rob Wilton (rwilton)
- Re: [netmod] WG Last Call: draft-ietf-netmod-sub-… Qin Wu
- Re: [netmod] WG Last Call: draft-ietf-netmod-sub-… Rob Wilton (rwilton)