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

"Rob Wilton (rwilton)" <rwilton@cisco.com> Wed, 17 July 2019 15:36 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 5512312008A for <netmod@ietfa.amsl.com>; Wed, 17 Jul 2019 08:36:22 -0700 (PDT)
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=KLawl9BF; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=PnIJ4ebn
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 f6AHSkYYfH4y for <netmod@ietfa.amsl.com>; Wed, 17 Jul 2019 08:36:20 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CB78B120721 for <netmod@ietf.org>; Wed, 17 Jul 2019 08:36:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=27402; q=dns/txt; s=iport; t=1563377779; x=1564587379; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=gDFcmIjNFcheobfSJL0ucQ32zUZIg8Dt9AC3rhFOUOg=; b=KLawl9BFvuTny4R35H32rmonpBoAQDbrXAFTkRrxZAl2gUzvsvcNiTGM dq0m5mjvExf67+PXpSbTna3K3b7fTyk7V2rU4UqmCYFXYkUgjwHHB4dDV uVoiQNAodoiWjzqNuRlnuRYfrCABuyKLByEBReQTvLJ1bybsL3kn759LG E=;
X-Files: 802.3_YANG_Relationships.xlsx : 14474
IronPort-PHdr: 9a23:PUwCZBUaX/JQbUG02qu62yPPpS/V8LGuZFwc94YnhrRSc6+q45XlOgnF6O5wiEPSA92J8OpK3uzRta2oGXcN55qMqjgjSNRNTFdE7KdehAk8GIiAAEz/IuTtankgA8VGSFhj13q6KkNSXs35Yg6arw==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AIAAAtQC9d/4ENJK1mGgEBAQEBAgEBAQEHAgEBAQGBUwUBAQEBCwGBQyQsA21VIAQLKgqEEoNHA4RSiSlMgg+VeYFXgS6BJANUAgcBAQEJAQIBARgNCAIBAYN6RgIXgjEjNAkOAQMBAQQBAQIBBW2FPAyFSgEBAQEDAQEQCwYdAQEsDAsEAgEIEQQBASsCAgIlCx0IAgQBEggGFIMBgWoDHQECDKEPAoE4iGBxgTKCeQEBBYEyAYNfGIIMBwMGgTQBgVCKDheBQD+BEUaCTD6CYQEBgWMVgnQygiaMIjaCIIR+gQyVZQkCghmDK4IggQ2NT4IthyWKCoQujFVgh0iQCAIEAgQFAg4BAQWBUDiBWHAVO4JsPYIECRqDToUUhT4BcoEpjCYBgSABAQ
X-IronPort-AV: E=Sophos;i="5.64,274,1559520000"; d="xml'?xlsx'72,48?scan'72,48,208,72,48?bin'72,48,208,72,48?rels'72,48,208,72,48"; a="298485382"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 17 Jul 2019 15:36:18 +0000
Received: from XCH-RCD-007.cisco.com (xch-rcd-007.cisco.com [173.37.102.17]) by alln-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id x6HFaI8K021734 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 17 Jul 2019 15:36:18 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by XCH-RCD-007.cisco.com (173.37.102.17) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 17 Jul 2019 10:36:17 -0500
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 17 Jul 2019 11:36:16 -0400
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 17 Jul 2019 11:36:16 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fj9a9W/EE1zBVzh2VBVUskk0TSnnUlx5UIm22m17GlaaODbg/ADUgJgB9r4EkUmJ7yPk3dXHy9M1EjtqZLSRN8BkL4lW5TX7yawUg77PaCROoKnY3PrgphcHTLQX0xIN3AgEVB4iJOLrKUSAEeyWG2cKCZzvfjPhCGCI1FiWPLV66cGfRTo0CaIQ+sMAHIgPblRQPHrYAfUW29oXfcdems4o4o44Hm8sv6hm+TJeQAuTyP3TXa8c1cACEjmU0voi36ZbCP7eXEoE6VxFqWkeyHJUeBIC7zt6bu8KfT666DBlBv06e5LZtWYy+cLl5fGFzH5LnMSnPot+vWOeSBlIdQ==
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=tTBUzCZxcVLljSf+P6vEpCCvNy0eRElHJkPhw7fDR58=; b=N256H2FIGeZAYuSZucC8b/38JJK0IZXN+XQ8K4ytKZOr1lPpQoJRf/N0zZgsbC+7z+VmjPxOZKJEal7jApahsjIlfzVQHSLeicEcwu4isTiHpkfum0UcZ4E2TByEVnUchtOuMqUB0dZ6SfXODVb3NvwcwDeI9aU0xZOQWcZl4Nyer7HxmIO8xAcgft6sMp8VngDsvobUWHlbkyMQ9iweekwARtzmBy2KES1XdFH99sMocWar96GyLiStJUW2AQQiy+Mwo0ZKfemg/a9vbczeGDHXVVnNDq6mQRuq7HrPTzTGmKF/OEz+rXtHgMEZKInoBnxcVoe/9ZQ2ty4Fd8Qgcg==
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=tTBUzCZxcVLljSf+P6vEpCCvNy0eRElHJkPhw7fDR58=; b=PnIJ4ebnHmL+jwpBF7IWxKN6zyOu5w5MlsaQ2teVqLSKMiV9Q1GNBXCiGavIQWklTybQdoqDF+DewqJ6UmagtC7cwdaPdrHpELhYQk1jUhCxS235yJTLYOpz5pAbWXs9ibSzZGmP8YZO9vmOHD7YdW2E5WIdXgJAhJo1r2TCK2g=
Received: from BYAPR11MB2631.namprd11.prod.outlook.com (52.135.227.28) by BYAPR11MB2936.namprd11.prod.outlook.com (20.177.228.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.14; Wed, 17 Jul 2019 15:36:15 +0000
Received: from BYAPR11MB2631.namprd11.prod.outlook.com ([fe80::91da:1669:aaf0:d428]) by BYAPR11MB2631.namprd11.prod.outlook.com ([fe80::91da:1669:aaf0:d428%4]) with mapi id 15.20.2073.012; Wed, 17 Jul 2019 15:36:15 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: "Acee Lindem (acee)" <acee@cisco.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: AQHVNrSsI3r62XsUgUy/9VeuuC2cP6bD086AgAmC0nA=
Date: Wed, 17 Jul 2019 15:36:15 +0000
Message-ID: <BYAPR11MB2631CAAA7837907190FF7786B5C90@BYAPR11MB2631.namprd11.prod.outlook.com>
References: <0100016bd93bfe12-b7c7407d-7c5f-4d61-a714-3aa38b0d1da7-000000@email.amazonses.com> <80F2E6D2-8F6A-4EF4-9838-45AC48BE84E5@cisco.com>
In-Reply-To: <80F2E6D2-8F6A-4EF4-9838-45AC48BE84E5@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rwilton@cisco.com;
x-originating-ip: [173.38.220.36]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 87beffaf-46da-4f8f-30be-08d70acc8128
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(49563074)(7193020); SRVR:BYAPR11MB2936;
x-ms-traffictypediagnostic: BYAPR11MB2936:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <BYAPR11MB2936C434F15BECB42762C40DB5C90@BYAPR11MB2936.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01018CB5B3
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(136003)(39860400002)(346002)(396003)(189003)(199004)(51914003)(51444003)(13464003)(478600001)(966005)(99936001)(561944003)(53936002)(71190400001)(71200400001)(33656002)(66066001)(68736007)(6246003)(5024004)(14444005)(52536014)(76116006)(86362001)(53546011)(2906002)(305945005)(256004)(7736002)(229853002)(8676002)(5660300002)(14454004)(26005)(3846002)(186003)(11346002)(110136005)(99286004)(2501003)(74316002)(476003)(55016002)(6306002)(25786009)(9686003)(81166006)(486006)(66946007)(66616009)(102836004)(66556008)(64756008)(66446008)(8936002)(7696005)(66476007)(81156014)(316002)(6436002)(76176011)(446003)(6116002)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR11MB2936; H:BYAPR11MB2631.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-message-info: HkT4lgCkUb67Y7KGFMsBdSmo8Udu7R7inTzP0qm/OknPEwnmqPKFoIRuiNqCa8hP+2/hTxeqVMDkMKZvKcqyFqt7AGNP4GcFwijxpvjrZRLMYrcGtFvhBuHFj4NhI2ejAdsFWk1W+ZFJAHIoQYZLeTdT73d21DI90fkNuZmZbYDyBBQA/lEzl6lOtM/2JOTfHUfagyLyg+rOwghVA9WrHLzl30yH9XYWv1V2GJWhtMYfO+OTw4c6o2SsXLcv6v7mQ0O20ZlefwwbgCNQnPVZkKrULLoQQp5wQfYmYNl0jO2MD/uljKqHin+k/o4Ho6R1Id54BmJaSF5yZaO/8rUnGoUyA+Q0KwAHCT4VMdIs4LQGtph8uC3mQEi8bOEzv2vTV6jqkZOMTsILv3HzxiDwnFbhP5lIXrJsWUz8Kn5XCEM=
Content-Type: multipart/mixed; boundary="_002_BYAPR11MB2631CAAA7837907190FF7786B5C90BYAPR11MB2631namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 87beffaf-46da-4f8f-30be-08d70acc8128
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2019 15:36:15.1296 (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: rwilton@cisco.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2936
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.17, xch-rcd-007.cisco.com
X-Outbound-Node: alln-core-9.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/yFzXWLe3FaH3CdmI0lmVgvkzkTg>
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: Wed, 17 Jul 2019 15:36:22 -0000

Hi Acee,

Thanks for the review, and apologies for the delayed reply.

Regarding your stats question, there was some effort to handle this as part of defining the Ethernet interface YANG (IEEE 802.3.2-2019) (https://github.com/YangModels/yang/tree/master/standard/ieee/published/802.3) that I was involved in the earlier parts of.  Please see the attached XLS that was my earlier effort to rationalize the different ethernet interfaces counters between RFC 7223, Ethernet YANG, Etherlike MIB, RMON MIBs, and the counters exposed in the 802.3 clause 30 management API.

For physical Ethernet interfaces (and anything that looks very similar to a physical Ethernet interface) then I think that we should be well covered by the combination of what is in ietf-interfaces, and IEEE 802.3.2.

There are also some counters that apply to all Ethernet-like interfaces (really anything using Ethernet framing, but not an Ethernet physical layer).  The only counter currently defined in this category is in-drop-unknown-dest-mac-pkts in ietf-interfaces-ethernet-like.  Arguably we could also add a drop counter for frames that could not be demuxed to a sub-interface because it didn't match any of the sub-interface match expressions.

There was one set of counters that 802.3.2 didn't want to include in their YANG module which related to the histogram frame statistics.  E.g. counters like the following (taken from IOS XR):

    Input pkts 65-127 bytes     = 0
    Input pkts 128-255 bytes    = 0
    Input pkts 256-511 bytes    = 0
    Input pkts 512-1023 bytes   = 0
    Input pkts 1024-1518 bytes  = 0
    Input pkts 1519-Max bytes   = 0

    Output pkts 65-127 bytes    = 0
    Output pkts 128-255 bytes   = 0
    Output pkts 256-511 bytes   = 0
    Output pkts 512-1023 bytes  = 0
    Output pkts 1024-1518 bytes = 0
    Output pkts 1519-Max bytes  = 0

The 802.3 YANG WG had two issues with including counters like these:
(1) They didn't really want to define histogram counter values for MTUs that are above the officially sanctioned MTU of 1514/1518 in the Ethernet specification, even though a lot of hardware supports up to 9K+.
(2) The bucket ranges, at least once you get past the "512-1023" bucket, seem to somewhat vary by ASIC vendor.
(3) IEEE 802.3 has a well defined internal management API (802.3 clause 30), and these histogram counters are not currently defined as part of that internal management API.  Extending the internal 802.3 management API seems tricky due to point (1) and (2) above.

There was a suggestion in the 802.3 discussions that these counters could be defined in an IETF YANG module (skirting the IEEE concerns about maximum MTUs).  The proposal was to allow the operational data to return a list of bucket entries, where each entry defines the inclusive range of the bucket, and a count of the pkts that matched the bucket range (in either the ingress or egress direction).  This list would sit alongside a RECOMMENDATION of what bucket sizes to use, basically doubling each time up to the MTU, with some consideration around the 1514/1518/1522 boundary, but allowing freedom for a device to accurately return the histogram ranges actually supported by the hardware.

However, I'm not sure it is worth delaying these drafts to add these counters in now, particularly because there are dependencies on them.  Possibly best done as future work?  Do you, or anyone else in the WG have an opinion on this?

Thanks,
Rob



-----Original Message-----
From: netmod <netmod-bounces@ietf.org> On Behalf Of Acee Lindem (acee)
Sent: 10 July 2019 14:09
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 the subject document and support publication. I have the following comment:

  Perhaps ietf-interface-ethernet-like module ethlike:ethernet-like/ethlike:statistics could include a subset of the counters from RFC 3635. I say a subset since some of these counters are a bit archaic given the state of the technology and judgement should be applied on which to include.

  Thanks,
Acee 

On 7/9/19, 8:16 PM, "netmod on behalf of Kent Watsen" <netmod-bounces@ietf.org on behalf of kent+ietf@watsen.net> wrote:

    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