Re: [netmod] WG Last Call: draft-ietf-netmod-intf-ext-yang-07

"Rob Wilton (rwilton)" <rwilton@cisco.com> Tue, 05 November 2019 14:52 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 054D412099D for <netmod@ietfa.amsl.com>; Tue, 5 Nov 2019 06:52:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, 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=JI2kBejS; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=zgJRh6GW
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 VgSmKPoopDrZ for <netmod@ietfa.amsl.com>; Tue, 5 Nov 2019 06:52:03 -0800 (PST)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 84F271200B3 for <netmod@ietf.org>; Tue, 5 Nov 2019 06:50:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5863; q=dns/txt; s=iport; t=1572965410; x=1574175010; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=Ms16i5+9tJ9GGuYj1oyeNP8/fi4b2fzMeGzp38gy1g0=; b=JI2kBejS/fcfCL9q3QFFMPW1TzY0FQggOiBNAHvDHDBNxZSQTOhK63mM hmTdKdX9YfQy7uV2Ld/WlyhfT1V6aEKOguCW2Ib1+eza6z5ljQn6WWSwA ocmLBWEcsPDjuonwdFx7MpNS1m0MPhqN2wQFh7hWSBSeURtoEWSREE7Nx Y=;
IronPort-PHdr: 9a23:BeFoNxCHG5JJoSz8Eel5UyQJPHJ1sqjoPgMT9pssgq5PdaLm5Zn5IUjD/qs13kTRU9Dd7PRJw6rNvqbsVHZIwK7JsWtKMfkuHwQAld1QmgUhBMCfDkiuNuHrazA9GuxJVURu+DewNk0GUMs=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AsAAAsfcFd/4YNJK1mGwEBAQEBAQEFAQEBEQEBAwMBAQGBagYBAQELAYFKJCwFbFggBAsqCodlA4Rahh9OghCXfoEuFIEQA1QJAQEBDAEBGAsKAgEBg3tFAoQOJDQJDgIDAQMCAwIBAQQBAQECAQUEbYU3DIVRAQEBAQMBARALIwEBJQcMCwQCAQgOAwQBARYZJwsdCAEBBAESCBqDAYJGAy4BAgykbAKBOIhggieCfgEBBYUDGIIXAwaBNgGMEhiBQD+BV4JMPoJiAQGBHB8oPYMDgiyVYGCXOgqCJIcVjkKCPIdbj1KOQ4gukS4CBAIEBQIOAQEFgVI5gVhwFTuCbFARFIMGg3OFFIU+AXSBKI4fgTABgQ0BAQ
X-IronPort-AV: E=Sophos;i="5.68,271,1569283200"; d="scan'208";a="373072920"
Received: from alln-core-12.cisco.com ([173.36.13.134]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 05 Nov 2019 13:46:48 +0000
Received: from XCH-RCD-014.cisco.com (xch-rcd-014.cisco.com [173.37.102.24]) by alln-core-12.cisco.com (8.15.2/8.15.2) with ESMTPS id xA5DkmPQ006847 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 5 Nov 2019 13:46:48 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by XCH-RCD-014.cisco.com (173.37.102.24) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 5 Nov 2019 07:46:47 -0600
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 5 Nov 2019 08:46:46 -0500
Received: from NAM01-SN1-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.1473.3 via Frontend Transport; Tue, 5 Nov 2019 07:46:46 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jnR6Akg4F5FFjct1jhE4VmwiOaLYDsAdI9SDFOeFxsIIaXycTGpn7d39Q8q5LYAoVpPNDkagFosE+Hzw6jvJF19CzciL51pPVZBorcuzQJYnGmUnbsfs6og+fps6QaHV0d7nNfzR37X7sCJaIuhZGvQyjOTvjglNCpH9N9y1pulDVRhMg9aa4oub0YRxQncrR5ZKhkh9YYlXfFnR34aDx+XZeeAkEKSMMRZHXS6PObhOyCsKq+ykUCxilmDi/LcXy4jvqEX1d8po7vEKn7dyZFlpUSQxl9yWH8k2ujoPF27G0wEBflb/IpYcDIj78jWkzrXmz+oi4wU1ceBU7UiBCw==
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=BD2r8zkYnstKoBvhQn42+CytQ+xfH8Z9uVRj2+73PA4=; b=NKUIq2VucA/KMpjFjpbj8Wjc7OpsOOuozi2gEAYsnrbuPfhBvaqzWQvgNxd1Gnzk3MO0wkU3pyzr6Xv0vnr8T0nig0cSOYjQwKVc2xPwsc1aG7dNBOCdVVTcSWEkKx1JTcpjVK4z+MJCmijM9/vvrpEyH8LQbhFFguAobn2F/pBCbvjP9rOKF/f5jaXm/Rwj/Nh00QWQ1RHLp4BJWDRvtfc/r32vHC9flXIkzE3jP6LBo1ktDt4gNK7kCCZGmJ3UzT/BGXl4iSJodw+wtRGucPb0gOsJ6PiqalQ1MFhJ62bYx/28StYIpEiv63TbM+IWoV18T4OuCOCeLxQaK4ko5Q==
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=BD2r8zkYnstKoBvhQn42+CytQ+xfH8Z9uVRj2+73PA4=; b=zgJRh6GWpWxf8celIOUqzQseCD4bHrlHvkr4lXs3LxM3HT6bhfcn2h6YQuQ5G+7zmugGaHOHT/rJjoNDtuucxGyeM94wPfRgJPX6JF4dLfOjBE+agpb+qZ4uejqRwEaB0acYf4jL1GKGjysjIQs4+hI2GtO887umMnX8pTG6pTg=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (52.135.38.209) by MN2PR11MB4191.namprd11.prod.outlook.com (10.255.180.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Tue, 5 Nov 2019 13:46:45 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::49b6:bc5c:bd3e:203c]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::49b6:bc5c:bd3e:203c%5]) with mapi id 15.20.2408.024; Tue, 5 Nov 2019 13:46:45 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Qin Wu <bill.wu@huawei.com>, Kent Watsen <kent+ietf@watsen.net>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] WG Last Call: draft-ietf-netmod-intf-ext-yang-07
Thread-Index: AdVWbuoFnURVzbOjSWymVJiHz5UHjw9VPAlQ
Date: Tue, 05 Nov 2019 13:46:45 +0000
Message-ID: <MN2PR11MB4366206F42E91ECB89143A9EB57E0@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <B8F9A780D330094D99AF023C5877DABAA92A6C90@dggeml511-mbx.china.huawei.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABAA92A6C90@dggeml511-mbx.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rwilton@cisco.com;
x-originating-ip: [173.38.220.45]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: f0d3ea42-224a-4923-f9f2-08d761f69951
x-ms-traffictypediagnostic: MN2PR11MB4191:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <MN2PR11MB41918CC5641D7E7E3FB0A262B57E0@MN2PR11MB4191.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0212BDE3BE
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(136003)(346002)(39860400002)(376002)(396003)(189003)(199004)(13464003)(316002)(86362001)(966005)(2906002)(6246003)(33656002)(478600001)(74316002)(14454004)(7696005)(99286004)(14444005)(256004)(76116006)(66476007)(66556008)(64756008)(55016002)(66446008)(9686003)(66946007)(486006)(11346002)(446003)(52536014)(66066001)(76176011)(229853002)(66574012)(81166006)(102836004)(26005)(71190400001)(8936002)(6436002)(3846002)(6506007)(476003)(5660300002)(2501003)(6116002)(7736002)(6306002)(25786009)(305945005)(186003)(71200400001)(53546011)(8676002)(81156014)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4191; H:MN2PR11MB4366.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 4d3mRS9xoVWEvdZj+5xYriNh1hsKsNa/HpFCt7+IPTLsD769PhBDtQIkJde2GF9ktfiaf/K074A5zkcbN2XBfkFNiw5Fbk/LM6PObCeO6cQ9ubvpaephh4K9WoR48N2/w+9knbLYITrr/tdbnxOwCHGgaOfp2OiSBuGTYqugnsJGuEMyiXTeJ1SKb2D1DHTmUVUMhKykHaLWq5aj4Ggszq7js2tCNYrU2uPIo0HbUG40cXUsgaD+H9g1q1Qjp662nLAPNDxA1RZheQKKORZ8fGy4lltF562odjqR+AXC6hXXKv6g93vbQAQbvmBmyMLyttvwnNoTB4MHa0ClQqyV7fIXyBKocqKRqvz3EbwgN0G7Oz8r/dJRv8ExoLauxVwevXD6GycviLLbxnWUF6b5mvOAtBWK47g8ZyjiTTmIs/oIPkBjOfty3pPCkh2WbXSMnGcWn4Xq86LM9qbKIn0MAnVACRShdUvSvaiVV9VQ/G4=
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-Network-Message-Id: f0d3ea42-224a-4923-f9f2-08d761f69951
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2019 13:46:45.7740 (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: jx8PgTIFC8q+WGMWp2HCyoHrN09nY/d+0f995xgBCbrvx5gHAOFtPOhNZxtKCzUix8w46s6vRf87byOEk1Q3/Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4191
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.24, xch-rcd-014.cisco.com
X-Outbound-Node: alln-core-12.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/c1B6g8SILGsQf0cJmSgYgzfrroM>
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-intf-ext-yang-07
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, 05 Nov 2019 14:52:16 -0000

Hi Qin,

Thank you for the review comments.

Apologies for the late reply on action on the WG LC comments.

Please see inline ...

> -----Original Message-----
> From: netmod <netmod-bounces@ietf.org> On Behalf Of Qin Wu
> Sent: 19 August 2019 10:23
> To: Kent Watsen <kent+ietf@watsen.net>; netmod@ietf.org
> Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-intf-ext-yang-07
> 
> I have reviewed this document and have a few comments as follows:
> 1. Suggest to add references for imported module
[RW] 

I presume that you mean:

  import ietf-interfaces {
    prefix if;
    reference
      "RFC 8343: A YANG Data Model For Interface Management";
  }

If so, this is now done.


 2. Suggest to add a
> paragraph in the section 5 to explain which common type or type in
> specific module is imported
[RW] 

Please can you clarify this comment, because I'm not sure what you are requesting here.  I've left an open issue to track this:  https://github.com/netmod-wg/interface-extensions-yang/issues/21


 3. s/ reference "Internet draft: draft-ietf-
> netmod-intf-ext-yang-07";/ reference "RFCxxxx: Common Interface Extension
> YANG Data Models";
[RW] 

I've changed the references to:

  revision 2019-11-04 {
    description
      "Initial revision.";

    reference
      "RFC XXXX, Common Interface Extension YANG Data Models";
  }

And

  feature carrier-delay {
    description
      "This feature indicates that configurable interface
       carrier delay is supported, which is a feature is used to
       limit the propagation of very short interface link state
       flaps.";
    reference "RFC XXXX, Section 2.1 Carrier Delay";
  }


 4. I am not sure L2 MTU is common attribute applicable
> to all packet frame based interface, in most case, we are using L3 MTU.
> >From the definition of L2 MTU
> " A layer 2 MTU configuration leaf (l2-mtu) is provided to specify the
> maximum size of a layer 2 frame that may be transmitted or received on an
> interface. "
> I am wondering this L2 MTU is related to Maximum Receive Unit defined in
> RFC4638. If the answer is YES, I would suggest to rename it, but it is
> still not clear whether it should be An common attribute part of ietf-
> interfaces-common.
> If it is No, I am wondering why L2 MTU is not augmented from IP address
> management module which define common MTU attribute, also it is not clear
> to me if ietf-interfaces-common Is positioned as technology specific
> model? When we choose to use MTU defined in RFC8344 and when we should
> choose to use L2 MTU defined in draft-ietf-netmod-intf-ext-yang-07.
> I think L3 MTU is common and widely deployed and supported by most of
> implementations. But go to L2 MTU:
> "
> The payload MTU available to higher layer protocols is either derived from
> the layer 2 MTU, taking into account the size of the layer 2 header, or is
> further restricted by explicit layer
> 3 or protocol specific MTU configuration."; "
> You add a lot of flexibility or multiple options, therefore I think it is
> hard to implement it.
[RW] 
Some platforms define MTU in terms of L3, and derive the maximum L2 frame size from that value.
Other platforms define MTU in terms of L2 frame size, and derive the maximum L3 packet size from that value.

It is also useful to be able to see (e.g. in operational state) the actual maximum L2 frame that may be sent/received on an interface.

Further, if a service is L2 based then describing the maximum L2 frame that can be forwarded is more meaningful that describing the L3 payload of the data that may be carried, particularly if the size of the L2 header may not be of fixed size (e.g. depending on how many VLAN tags are configured).

I've changed the name and definition of L2 MTU to:

    /*
     * Allows the maximum frame size to be configured or reported.
     */
    leaf max-frame-size {
      if-feature "max-frame-size";
      type uint32 {
        range "64 .. max";
      }
      description
        "The maximum size of layer 2 frames that may be transmitted
         or received on the interface (including any frame header,
         maximum frame payload size, and frame checksum sequence).

         If configured, the max-frame-size also limits the maximum
         frame size of any child sub-interfaces.  The MTU available
         to higher layer protocols is restricted to the maximum frame
         payload size, and MAY be further restricted by explicit
         layer 3 or protocol specific MTU configuration.";
      
      reference "RFC XXXX, Section 2.5 Maximum Frame Size";
    }

But I'll start a separate thread to close on the l2-mtu/max-frame-size issue (and the others).

Thanks,
Rob



> 
> -Qin
> -----Original Message-----
> From: netmod <netmod-bounces@ietf.org> On Behalf Of Kent Watsen
> Sent: 2019. július 10., szerda 2:15
> To: netmod@ietf.org
> Subject: [netmod] WG Last Call: draft-ietf-netmod-intf-ext-yang-07
> 
> All,
> 
> This starts a twelve-day working group last call for
> draft-ietf-netmod-intf-ext-yang-07
> 
> The working group last call ends on July 21 (the day before the NETMOD 105
> sessions).  Please send your comments to the working group mailing list.
> 
> Positive comments, e.g., "I've reviewed this document and believe it is
> ready for publication", are welcome!  This is useful and important, even
> from authors.
> 
> Thank you,
> NETMOD Chairs
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod