Re: [Teas] [netmod] Typedefs for bandwidth

Don Fedyk <dfedyk@labn.net> Fri, 14 May 2021 19:52 UTC

Return-Path: <dfedyk@labn.net>
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 3E8FB3A3E1E; Fri, 14 May 2021 12:52:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 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, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=labn.onmicrosoft.com
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 aueaDG-z5dOm; Fri, 14 May 2021 12:52:47 -0700 (PDT)
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2091.outbound.protection.outlook.com [40.107.94.91]) (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 4D7703A3E1C; Fri, 14 May 2021 12:52:47 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hmviY3nnNOXyibJ2pWh1lR1Qw6hc/N/y/KOpd3+3hzanmr3/BolXVd/+KwEzo+149GfRET/VCEXI6y7puRAdCEb+OWPWXqOnHjyrrFlBtZOIjY8Wfl++xmXTV2wAGv53zcE+ym+kyYvCmY+179VmvEv3wVnxhT4dOl5eJYoCSK0i63kTMcK2PXtnHboa4omNjoTUGhavs8IF8GIFSgHJ8/h8KbPJuiEEqlZNPxDl3yhwi5Pi6JPQOgsem4+FSGv9f2vw8c6fQZMQ8ekn7DQTFgjeUlqs8m8uPuXbaTzF6MVxOutSFLswbJM75w3rJQxaN/R7tVYnZ1VxWfKCPPCGGA==
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=aJ/CQtnFok7nePUWuNKriEn3CFUSJ3xFXPeBmRy71ks=; b=oLHE4DLkfsaKXsr10p6HcyxxwAxeVeRoLh3LrRwLt/ze5aI7Zym5szOmG+NMW6Jg8JxsB2KOKN3fk4ME4QKi77670tWqWbXr5xGQ1E65fFxg5qqdT+YUibDVU5rIzqH5w76RtNL886y19xMl78M9HFNrDe2c+V3IBuJ2FQP7d5+f7PzG6BKa6/TpLcWpOqhG5N5CMdCtNcHBS5reJAMzqBpb3nRjL/qDVhrR+vmvkJN6EAA9lrdv7jv/IMU7AZJaKtPQZ4cN+9i+f0uicA2DOBoFiMMOJoAujrCKWrFQ7QmXloyF4Xrtw8wWImYhNbMuV6nJ5UH1Lyjw+YTvwKUNdg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=labn.net; dmarc=pass action=none header.from=labn.net; dkim=pass header.d=labn.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=labn.onmicrosoft.com; s=selector2-labn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aJ/CQtnFok7nePUWuNKriEn3CFUSJ3xFXPeBmRy71ks=; b=NjlAll2guBs1K8Ubs1a03sFKOb1VP4TU9B2OyUeFgjwy14IncSqvqcW8xB0umi5a47Y3UcmM6m4zuPlzBbv/idAl/kC4zr/1q2YB8NxXpPR1hpGFkzaXrnBMKSw58v7dw9vWjkryldi1nPpeqcMFZhwLbMdw3NqbcYma9tnZikI=
Received: from MN2PR14MB4030.namprd14.prod.outlook.com (2603:10b6:208:1dc::14) by BL0PR14MB3809.namprd14.prod.outlook.com (2603:10b6:208:1c8::18) 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 19:52:42 +0000
Received: from MN2PR14MB4030.namprd14.prod.outlook.com ([fe80::9c34:d815:845:48eb]) by MN2PR14MB4030.namprd14.prod.outlook.com ([fe80::9c34:d815:845:48eb%7]) with mapi id 15.20.4129.028; Fri, 14 May 2021 19:52:42 +0000
From: Don Fedyk <dfedyk@labn.net>
To: "Acee Lindem (acee)" <acee=40cisco.com@dmarc.ietf.org>, Italo Busi <Italo.Busi@huawei.com>, 'Juergen Schoenwaelder' <j.schoenwaelder@jacobs-university.de>, Reshad Rahman <reshad=40yahoo.com@dmarc.ietf.org>
CC: "'netmod@ietf.org'" <netmod@ietf.org>, "teas@ietf.org" <teas@ietf.org>
Thread-Topic: [netmod] Typedefs for bandwidth
Thread-Index: AQHXSBDRqiyh9aZFhUmC5lLc9Erot6rhqa4AgAEYOgCAACbjgIAAevqw
Date: Fri, 14 May 2021 19:52:41 +0000
Message-ID: <MN2PR14MB403032E46822DB9B5761DC18BB509@MN2PR14MB4030.namprd14.prod.outlook.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> <35CB345E-B70B-42BF-BE13-5BBC4D09C05E@cisco.com>
In-Reply-To: <35CB345E-B70B-42BF-BE13-5BBC4D09C05E@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; dmarc=none action=none header.from=labn.net;
x-originating-ip: [173.48.105.206]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 17661d7f-5fc4-42de-1158-08d91711d5ed
x-ms-traffictypediagnostic: BL0PR14MB3809:
x-microsoft-antispam-prvs: <BL0PR14MB38094729F52C21D46614953DBB509@BL0PR14MB3809.namprd14.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: zpUMc5Y4AhHCGn2uMG4InX98NYTgV+QcMN5GhTp44i7wQMG/KpJX/LjRf2QiogWUAtERy5UCz7v16qd1YAc/DBVXgqM0M8/+rwYiGLSwlu0E8iB1p6hzRwK6BDW1eNf+Hy6DKW3aiBFSciviXEsw2ewEQUU4Dl28LzNgKEDphdHhNp841T8b/v3pQic7mUEOmreZFGj3mAqcxGUMtKrZLMFMpHI+Qob+TRKad2WAAsmxg+KfxIxn76lbYSaJcxcqM24/cc3W5Dz3pw5/KmkPoLvQuYB4KZ3L0p/L4nXwGuNGTQ4hW+v8KTrR0qc0xNZ8gReilcb0hTJoYXqSCnOoo/NQtWgpDq3XH1PHY/Dn/gkv9qWYjX8jWXIxnvx0lofS77S6xBY6KQPuN+A58IiB47ocf/0tXRNyXsmMj3iPIsoqaDAjsbpfQJL8ZREy5LCNdV5brdk7J090nJIRayARR6CBZU6P8nlJDcLFidbCH+iMtCa9IFlGtstfVCNUeUWxZY3pYxULmeaHYQAp0nAbfSHhOlqOuqpBkClp3decgqucwas1Eisy/FLwyN1XWe26I19uy4J4Nko6o7qZBFyCpMT6KGYkyS5UJKJCfTCbmbrxXaNpY5EGnG/VJboaY3eacmpVzxnLXCiwpBe+KaM4xTl0wpOqLUAXaFpX/I//WxPhGJfpoMwdwYjXknu0/UjzHWZ1TBJOcrdrZ2YXXMxubbkfxEVIhesGi/QcqVldN8c=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR14MB4030.namprd14.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(39830400003)(376002)(346002)(396003)(136003)(478600001)(66476007)(83380400001)(6506007)(38100700002)(122000001)(66446008)(26005)(9686003)(8676002)(71200400001)(186003)(86362001)(55016002)(54906003)(4326008)(64756008)(2906002)(66946007)(33656002)(53546011)(76116006)(5660300002)(966005)(66556008)(52536014)(316002)(110136005)(8936002)(7696005)(21314003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: tn0tRKgd2cUmfksbCntH9FeqwrsAMIFj5T6Et6+mC726ftKKOm76q5A7QSZEAKGwdBM6Ix0RVV40ZIP2tsUKqill01uKJEezvGCjTP+IP66sfB+CxEdicIiwg7STEyqrH7l76VLjVf0glR5fWEg8MJfnhIa8To7e8m8tY9jf2eUzRbFbzWH9Z6waq6GhWVurxs9jT8iNUwiEhKWbviBcNL9YB+YMQJsW9dc7G/+1n8cnKADixBRcUaLD8sakX+VjgH2OOMLfE7EH8iVO6bmpcFI4XxhJDI0ZAGckZ2RR6Y/K4Fn7Cq2zrAoyfKg3Xxekp5A0z00fgeMqbWCDsBzjavhHkIdLmg0zVUSh/NA8pj5kmqBvIm5p8dCsz6JFJf5Fe8VrVE18Ql/Y1aaiIs77ndVr4yDVgut3BJ6pcOgMjlJ0GC1Vz2YyTqtwDG4fVK98JfehoUwMzjGTE4TEyKALPFfDYen+2tOOIzRnQ2mNIxC2OXANr5RzV+r36oRWgMzQpiaXf++h3rktn8bX2iCYmEyuBjz2/Nz9N/2zM7omceyxgnMK2WjoDzAyyT6OkK2mTr/S0Lgt8NyTqbt8CE7jWOQuUrzP8mf0x94y1+5Qgub+4DSr0DscLCkgiVARWXw3QY1kKHY22NtP+UWTsj5vXai2DXfiES8vyArT2Y0ac/gtGtBBytr4eSZRVPn+9vmFPyIWac6UG+FTKPciJsS14+UpU/Eqx1WWbBQ4SK2nDAI=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: labn.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR14MB4030.namprd14.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 17661d7f-5fc4-42de-1158-08d91711d5ed
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 May 2021 19:52:41.9098 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: eb60ac54-2184-4344-9b60-40c8b2b72561
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 1IDQdilnr0NfTo6O4i6FC2xyqWvrW3ck27UXA91lYAAwD0sR+tKp6oefqf/EU3ytTrTR+69CJ6L+7W3BgmX5OQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR14MB3809
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/CO4CVf4Cf2xJxZb987bRPyErzM0>
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 19:52:53 -0000

+1 The floating point format is really non-intuitive. We have used uint64 bit rates. 
Cheers
Don

-----Original Message-----
From: netmod <netmod-bounces@ietf.org> On Behalf Of Acee Lindem (acee)
Sent: Friday, May 14, 2021 8:27 AM
To: Italo Busi <Italo.Busi@huawei.com>om>; 'Juergen Schoenwaelder' <j.schoenwaelder@jacobs-university.de>de>; Reshad Rahman <reshad=40yahoo.com@dmarc.ietf.org>
Cc: 'netmod@ietf.org' <netmod@ietf.org>rg>; teas@ietf.org
Subject: Re: [netmod] Typedefs for bandwidth

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

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