Re: [Teas] [netmod] Typedefs for bandwidth

"Acee Lindem (acee)" <acee@cisco.com> Fri, 14 May 2021 12:27 UTC

Return-Path: <acee@cisco.com>
X-Original-To: teas@ietfa.amsl.com
Delivered-To: teas@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 227713A30EC; Fri, 14 May 2021 05:27:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.595
X-Spam-Level:
X-Spam-Status: No, score=-9.595 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_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=FF7NiJuu; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=me/DOuFa
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 rTt1_kx-0F5g; Fri, 14 May 2021 05:27:15 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF5CF3A30B5; Fri, 14 May 2021 05:27:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3286; q=dns/txt; s=iport; t=1620995235; x=1622204835; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=qAeh7yiFqV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sZu6GcKT9J3jJh5WJGkAAcwNnmQJaDpzUHcGOTWubqBJcq Z0k/A33wZIDk5nF/hTaEN1O9TrlpnurtbLcBQGDxko5E2lljWz8oP3FBCew1M3Ty5P6a1Kyx mBryXJooGY992rwB7V0GHeq75MnsH699dFDMuQzuAINzTXjBqybogJYczHgNl1mpDp1L8Zqq iUn/4SBbUq15oXRBDvnfLZ4Xin7N/p0Q659bbXuwq/nSWzfkNKNyMIv/MoTvKe0Tt9gDm5u5 g7gV5wcPFsfEz9dW3Glqr1v1sBrDvGnVMy1eEUlHBRSo0YdftYqpEe5lpcFNMaEDv9851PKp gjMCjw3ocdTbqhVQGVgoCv+q3kYp05JGbIfqHDgL3f79FypgE286I1/r1pop4wzuN0d3Af3Z WxDk1BrsA5ciY5V9MJONs8
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.82,299,1613433600"; d="scan'208";a="714857548"
Received: from alln-core-6.cisco.com ([173.36.13.139]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 14 May 2021 12:27:14 +0000
Received: from mail.cisco.com (xbe-aln-001.cisco.com [173.36.7.16]) by alln-core-6.cisco.com (8.15.2/8.15.2) with ESMTPS id 14ECRDDC029224 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Fri, 14 May 2021 12:27:13 GMT
Received: from xfe-aln-005.cisco.com (173.37.135.125) by xbe-aln-001.cisco.com (173.36.7.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Fri, 14 May 2021 07:27:13 -0500
Received: from xfe-rcd-003.cisco.com (173.37.227.251) by xfe-aln-005.cisco.com (173.37.135.125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Fri, 14 May 2021 07:27:13 -0500
Received: from NAM04-BN8-obe.outbound.protection.outlook.com (72.163.14.9) by xfe-rcd-003.cisco.com (173.37.227.251) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3 via Frontend Transport; Fri, 14 May 2021 07:27:12 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b/RwWbvTSOYxeF4zUqbfyswO9JBtvJ1oDgtxA6r0hZ3OWJ2d15De8bhAf0AQQR7qmTMyUPHLi6pX9jz6dEOKVp5tOSYH7SHpCJWHZtjRVGtK8K1ehFzQ1KeOH8KMEraeEtuPJztOUBxQ9uMIjDSbSTSDaIqRSfNUB+nrZQPSf0jk3UfGfsVu5wLioZgl2JvYEZFDL6amWuruNDP3boJSmsfjXSf8kk2SZABayPfvhqLLQOM0WK+H30tZutSKof0DbPULO29aFp6XER7CYOzIJVJxSP6OPLZyGpZvsng5ICT8ZZTcH3JolX2WS1EkLa6Totxv84X5h5TggkyW/ttLOQ==
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=qAeh7yiFqVdYdr0tNpx3DY2u31WMGM8lHbhQ5tE8MYs=; b=ivpomrotbOVD0OxdOMEESXRxiOD1Co5sbf55YmnKh1Ks+LByRblOURLOebMZoo+mbDnlcKoUizxhsYpuluiN3WN/9RFKkOt+JBSoMipgkcO1dJL78nwCvVtfjEDzvmFMjubjWzMUpNpOwtP9Z8uA6zr2etDBhLFkhJhsM1+x1SvJN52FOQmaAWBOiaudDKqZXDHP5tyfKGMyNaKEMUQnNFJg7b7GldADrZh3ynEgmnRiq8/lqE4qMve2D+okgS8O6P4iRZ2tZJ9b09y3ceXkwY3rYXoSp87FHXdeTrGwRHkFHivVcIPwPaG76CUfnrZR9bbsXP2wD4vtPLGSdiiVwQ==
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=qAeh7yiFqVdYdr0tNpx3DY2u31WMGM8lHbhQ5tE8MYs=; b=me/DOuFaenPERfhSrIEMVxCvRnqTzDjTN3Xte2hcEbhbsGsLwDPYtc3syOL1n62hK/8nY3dxt4wRERoJd50KT+o3TbiTmRUjTfeHSjuIpZ0cXfchhHccu8YGg2nhrv5fwN8ZElrRBz0JSXI/GpdMaV+HuIQZ2FtZujSTIC5Gzdw=
Received: from BYAPR11MB2887.namprd11.prod.outlook.com (2603:10b6:a03:89::27) by SJ0PR11MB4831.namprd11.prod.outlook.com (2603:10b6:a03:2d2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.26; Fri, 14 May 2021 12:27:11 +0000
Received: from BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::6989:446f:c2bd:9470]) by BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::6989:446f:c2bd:9470%3]) with mapi id 15.20.4129.028; Fri, 14 May 2021 12:27:11 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Italo Busi <Italo.Busi@huawei.com>, 'Juergen Schoenwaelder' <j.schoenwaelder@jacobs-university.de>, Reshad Rahman <reshad=40yahoo.com@dmarc.ietf.org>
CC: "teas@ietf.org" <teas@ietf.org>, "'netmod@ietf.org'" <netmod@ietf.org>
Thread-Topic: [netmod] Typedefs for bandwidth
Thread-Index: AQHXSBDdUAVlDZLUbkm7cPYFJhJfwKrhqa4AgAEYOgD//+PTAA==
Date: Fri, 14 May 2021 12:27:11 +0000
Message-ID: <35CB345E-B70B-42BF-BE13-5BBC4D09C05E@cisco.com>
References: <507944B5-2E1F-4BC1-87D4-6599A6632CD4.ref@yahoo.com> <507944B5-2E1F-4BC1-87D4-6599A6632CD4@yahoo.com> <20210513172502.mwuwm7ddd2ypxano@anna.jacobs.jacobs-university.de> <108aa61bf6414f36bc6661d72b1b3a03@huawei.com>
In-Reply-To: <108aa61bf6414f36bc6661d72b1b3a03@huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.49.21050901
authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [74.87.96.158]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5cf30cde-2c46-46c2-a561-08d916d39972
x-ms-traffictypediagnostic: SJ0PR11MB4831:
x-microsoft-antispam-prvs: <SJ0PR11MB4831D935B4BECAAA9F6BF2A3C2509@SJ0PR11MB4831.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: jxtDbnHauwu+lAK61WrGnbtjKg0XmF6v6XoJ3aXwMtnWXAZhnhD9+Wm0vIVKBLp15zthoYAaFUGqw8pYy2NjScNJwHxyL5Hpb/HcoQRlBlWSgJPdvN3NUh9WchNrWfhQAZVBhBYBsdfCVrHM6mYSSkz+X4k7vqcVStGRq8jLN6UjjILmviVvaVJxg0dOYQslO8iG5bGDp5aIY9a0i3xwzlhSXYcomoqKBBx4RVd6I8ALoXzZM9rCNbIgYuNqwJepLX1uAUFZNUlqDBpcYZg+AvYqhz4VP6D3rtlWItGWVX+pdioYvBuxrqPCsGAK5uV+7XhMCKgBB58UN4OOxvSImwCyqw/de+ERud4jMKA5DOdPR/552/2MDKOBPdt+Pwa1hk00LsU/46mLU0g1U+Z1l6Fv6BNdpe0s4nBUH1IlPtI0o/qc1SHn1zKvA/EFbepMVQ1UG6Z73isNdEOmC0qcjy99ZXok8sL1nzTg0XyCLL4IBXb+OUeBgZWLEqEIVk29yXfMIRh6sMHhgIj4JlYZfgRCvFym8hwQjd7AjFvQm8SV1FuN/V47kvopnPgKAOtflYVEQ98Okqcst/o3z7rcDvaCHU7Wxs6t55DZ+3LBpH83DnrMy4A3ZK4Obs92MLZbCW9Jirqug14kqkWXY6KVnU7/lDlUU5Ee1ZApc+l8drioGQFeZdCFIQyUkX7748nAgCg0EsxFK9JU/f4R65uexjtMBxQH4/AXNgaVxAub8t1pGh830ixnIMNzJVL1P+GEz5eU5AvXvrj0UxdktjqMMczugzqFapMJNPpVfjGzclkIgJSrfetWAmfzzef2DaMc
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2887.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(376002)(396003)(136003)(39860400002)(366004)(6486002)(83380400001)(6512007)(2616005)(122000001)(53546011)(6506007)(36756003)(2906002)(71200400001)(4326008)(8676002)(186003)(26005)(478600001)(5660300002)(316002)(110136005)(38100700002)(86362001)(66446008)(64756008)(66476007)(66556008)(66946007)(8936002)(966005)(54906003)(76116006)(33656002)(21314003)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: TaOGwMCU2Q/WUjb15KCB59UcS85RT+0EqOh7rvFsO7a/M9kyOmXpbozhRpgtcyTReIoxPjtIzT8rbM5eZ4oKoKWlolNW51t3qyBIsrLn8kjNLgm8QRW7Xl4o0vP7Sro0Pe0itELDoYH7ypEj44nXuCMV5QPSVmjLnSQOQLn5WZDINl2g1MTA5OhdrzwQIAmqNzSYM/gCdHTIDy0HLnXbGrppByigrYnOaqYhXQYvFX97KKsfSdiKiSUxQyLwtwHn4w9G4Vz8ZUaPUL0CWSxTvaSvUC1jZ8OZ0SHoVFFDO2T3t0/cNCtcGtHNiJ3/cap9tTBMYkWWWBja0La8kYJW3Fxvb0GUSv1ej2H2GUtgDf81b5adcROVc3rmY4qjAFJCR7dZdp4x7RUr3gTT6dzU9lnqMnETfx/UTdczzRo+uDaAgzRQPGpYuMIVjLM7+HTyq5Q30Al+ZABINwLxZy6iymA9qmJpp4MJRqEx2tueHjix3Fnio4YNb/qHuDRmtFFhucVxvCgCh2TxhaK3TdMWocMPziozJbucvdtG/emzCpXwjvHDqX3l4zUp5OTs47EPaGKo5dJWtSQJmXqGUNx2hl0cM7gm9YapX/yui4CxzYVAX5s88nyjjath0EGNEIXhkg3FaUZnuEz1jgtUu/IuggCmdD0aLOJi93rOozpY4dEE6WK5Yug7xao3v4TRyeEr6g31hv7SndWK+s/Eq9xI0l7824CWw2/MeE0KqBMELM5uiP6k7nR5UWkZ4g7I7mJ/puJ7jB/ESklD2O/vVPYpuDRVKeQKIEdLbERJKL+YRs5veuFcOtbkkYaxJZvhhXigWSYL4up6vlh4xCoYo2YCLSJNVkGtq96vX3o1DGtHboOSBkmkL2nlaLNtHRml7zhmaV04XAqVrIvbvm4p0FGMuZGGrOQEy9uMZ2QIC2X+zPMR9QGZM032ig4tS4jagN7eEoewed2HhtRPm1o69f9QzawYQZCEZOZQe2g53k1j16JyoxskgIT/UrjLeJ1Qv4D5X81WMiRBewX+NkcdWOuV7VeQwqLpdVUpCFZA2+o4jhNNy98Nr1yWGKiHrfu82Xo16krVDAZGJ87xbLnxWL8LvBOFSD/drC24fhfczFu92EtnV3F7zAMYtjA2aNrNsk8lrGQ3rjp2z70fU1k3OfxzSoYoaciSiZ3JbTUDVAzI0jthZlOFcGMRwhC19Kzr68qVlK93s+/BSDJHvKuuQLQAaE/4Ija6euAz2VIDsoF/RPQzssxq35XM5VJX971Fs3HJ1Y4aU87qoHOE2/17IjFx8lbYLbiPKL2PwT+JZ0FzGuPDwU8SOXltxkkPftxfwFWC
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <5AD3D44EECB3E340A0A1919F73C9DF6B@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2887.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5cf30cde-2c46-46c2-a561-08d916d39972
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 May 2021 12:27:11.5595 (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: c/t3l6UQMAbQmCIX51Xg3+dyt711zAIG+Lt/ht7yRG72boxWkdH7cgwTLgGKA49H
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4831
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.16, xbe-aln-001.cisco.com
X-Outbound-Node: alln-core-6.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/Jpwg-zrFOFPwDjoMH0RqTDyrHVI>
Subject: Re: [Teas] [netmod] Typedefs for bandwidth
X-BeenThere: teas@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <teas.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/teas>, <mailto:teas-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teas/>
List-Post: <mailto:teas@ietf.org>
List-Help: <mailto:teas-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/teas>, <mailto:teas-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 May 2021 12:27:21 -0000

I'd be all for using some unsigned integer quantity. I think it was a mistake for using IEEE floating point in the first place. This floating point nonsense was carried over to Traffic Engineering (TE) from early work done on transport area on RSVP. For example, https://www.rfc-editor.org/rfc/rfc2210.txt and we've been stuck with it ever since... 

Thanks,
Acee

On 5/14/21, 6:08 AM, "netmod on behalf of Italo Busi" <netmod-bounces@ietf.org on behalf of Italo.Busi@huawei.com> wrote:

    Reshad, Juergen,

    Actually, there is some on-going discussion within TEAS because some packet technology-specific YANG modules are not using the bandwidth-ieee-float32 but prefers using some uint type:

    https://github.com/tsaad-dev/te/issues/116

    The ietf-te-packet-types already defines bandwidth-kbps, bandwidth-mbps and bandwidth-gbps but during the discussion of this open issue it was pointed out that it would be desirable to specify both the bandwidth and the units (Kbps/Mbps/Gbps)

    Italo

    > -----Original Message-----
    > From: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de]
    > Sent: giovedì 13 maggio 2021 19:25
    > To: Reshad Rahman <reshad=40yahoo.com@dmarc.ietf.org>
    > Cc: 'netmod@ietf.org' <netmod@ietf.org>
    > Subject: Re: [netmod] Typedefs for bandwidth
    > 
    > On Thu, May 13, 2021 at 11:57:26AM -0400, Reshad Rahman wrote:
    > > Hi,
    > >
    > >
    > >
    > > Has there been any discussions wrt adding new  bandwidth types e.g. the
    > bandwidth-xxx types in draft-ietf-teas-yang-te-types? I see RFC8294 has
    > bandwidth-ieee-float32 but it doesn’t have units (Kbps/Mbps/Gbps).
    > >
    > 
    > The description of bandwidth-ieee-float32 says:
    > 
    >           The units are octets per second.
    > 
    > Note that draft-ietf-teas-yang-te-types has been published as RFC 8776 in June
    > 2020, it should be safe to use these definitions.
    > 
    > /js
    > 
    > --
    > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
    > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
    > Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
    > 

    _______________________________________________
    netmod mailing list
    netmod@ietf.org
    https://www.ietf.org/mailman/listinfo/netmod