Re: Last Call: <draft-ietf-ospf-te-metric-extensions-08.txt> (OSPF Traffic Engineering (TE) Metric Extensions) to Proposed Standard

t.p. <daedulus@btconnect.com> Wed, 17 December 2014 11:22 UTC

Return-Path: <daedulus@btconnect.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCB471A88BE for <ietf@ietfa.amsl.com>; Wed, 17 Dec 2014 03:22:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.265
X-Spam-Level:
X-Spam-Status: No, score=0.265 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FF_IHOPE_YOU_SINK=2.166, SPF_HELO_PASS=-0.001] autolearn=no
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 KEmuD8U8MCMB for <ietf@ietfa.amsl.com>; Wed, 17 Dec 2014 03:21:59 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0752.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::752]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CCF1B1A88A0 for <ietf@ietf.org>; Wed, 17 Dec 2014 03:21:57 -0800 (PST)
Received: from DB4PR07MB252.eurprd07.prod.outlook.com (10.242.231.153) by DB4PR07MB0735.eurprd07.prod.outlook.com (10.242.223.142) with Microsoft SMTP Server (TLS) id 15.1.36.23; Wed, 17 Dec 2014 11:21:35 +0000
Received: from pc6 (81.151.166.145) by DB4PR07MB252.eurprd07.prod.outlook.com (10.242.231.153) with Microsoft SMTP Server (TLS) id 15.1.31.17; Wed, 17 Dec 2014 11:21:34 +0000
Message-ID: <053001d019eb$92845760$4001a8c0@gateway.2wire.net>
From: "t.p." <daedulus@btconnect.com>
To: "Acee Lindem (acee)" <acee@cisco.com>, adrian@olddog.co.uk
References: <018b01d014ce$06215290$1263f7b0$@olddog.co.uk> <07ae01d01636$ac853340$4001a8c0@gateway.2wire.net> <89C1D2C3-DC24-4A8F-84F4-EB6CC7DC829D@cisco.com> <064e01d01637$bab52370$301f6a50$@olddog.co.uk> <1D523223-38FB-4FEE-9B59-CB1930FDDC82@cisco.com>
Subject: Re: Last Call: <draft-ietf-ospf-te-metric-extensions-08.txt> (OSPF Traffic Engineering (TE) Metric Extensions) to Proposed Standard
Date: Wed, 17 Dec 2014 10:14:27 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [81.151.166.145]
X-ClientProxiedBy: AM3PR01CA028.eurprd01.prod.exchangelabs.com (10.141.191.18) To DB4PR07MB252.eurprd07.prod.outlook.com (10.242.231.153)
Authentication-Results: cisco.com; dkim=none (message not signed) header.d=none;tools.ietf.org; dkim=none (message not signed) header.d=none;
X-Microsoft-Antispam: UriScan:;UriScan:;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DB4PR07MB252;
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:DB4PR07MB252;
X-Forefront-PRVS: 042857DBB5
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(377454003)(164054003)(51704005)(13464003)(24454002)(93886004)(40100003)(46102003)(86362001)(4396001)(101416001)(21056001)(66066001)(50226001)(105586002)(107046002)(106356001)(92566001)(47776003)(64706001)(116806002)(20776003)(50986999)(89996001)(33646002)(97736003)(87976001)(61296003)(31966008)(1456003)(76176999)(50466002)(23756003)(14496001)(230783001)(62236002)(84392001)(99396003)(44716002)(122386002)(19580405001)(19580395003)(81816999)(68736005)(77156002)(62966003)(42186005)(81686999)(120916001)(44736004)(77096005)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:DB4PR07MB252; H:pc6; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:0; LANG:en;
X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:DB4PR07MB252;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DB4PR07MB0735;
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2014 11:21:34.3978 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR07MB0735
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/NMuMhUaciykY1JuMEZSJCZn-o98
Cc: draft-ietf-ospf-te-metric-extensions.all@tools.ietf.org, ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Dec 2014 11:22:02 -0000

Acee

Sorry that my original comment was opaque.   Partly, I was agreeing with
Adrian that a reference to a floating point standard would be a good
idea, but disagreeing with Adrain about the particular standard, that a
more recent one was available and had been used previously by an IETF
RFC.  That part I hope is now clear, thanks to the clarifications by
others.

My tangential comment was that YANG has no facility to model floating
point numbers, having looked at doing so and rejected it, several times,
reckoning that the decimal-64, defined in RFC6020 section 9.3, is
adequate for network configuration.

A consequence of this, which is understood, is that if you think of a
number, express it in YANG's decimal-64, convert it to floating point
because that is what XPath uses (and so is used by YANG's conditional
statements), convert it back to decimal-64 then you do not get the
number you first thought of (sometimes), so a test for equality will
fail, when you might expect it to succeed.

Is this an issue?  The consensus of the netmod WG (AFAICT) is that it is
not, that the use of floating point in the IETF is minimal - after all,
it took SNMP over 20 years to get round to specifying it.

But given the explosion of interest in YANG recently, I think it is a
topic to keep an eye on so when I read an I-D and find floating point, I
point{!} out that it cannot readily be modeled.  I suspect that, in this
case, consistency with what has gone before outweighs the facility to do
it in YANG.

Tom Petch


----- Original Message -----
From: "Acee Lindem (acee)" <acee@cisco.com>
To: <adrian@olddog.co.uk>
Cc: "t.p." <daedulus@btconnect.com>;
<draft-ietf-ospf-te-metric-extensions.all@tools.ietf.org>;
<ietf@ietf.org>
Sent: Monday, December 15, 2014 4:58 PM
Subject: Re: Last Call: <draft-ietf-ospf-te-metric-extensions-08.txt>
(OSPF Traffic Engineering (TE) Metric Extensions) to Proposed Standard


Hi Adrian, Tom,
Can you guys indicate how you would like to see this comment reflected
in the draft? Are you suggesting to change he encoding to 64 bits for
the new bandwidth sub-TLVs?
Thanks,
Acee
On Dec 12, 2014, at 1:16 PM, Adrian Farrel <adrian@olddog.co.uk> wrote:

> Good catch Tom,
>
> Acee, the trick is to go to 6340 and look in the references :-)
>
>   [IEEE.754.2008]  Institute of Electrical and Electronics Engineers,
>                    "Standard for Floating-Point Arithmetic",
>                    IEEE Standard 754, August 2008.
>
> A
>
>> -----Original Message-----
>> From: Acee Lindem (acee) [mailto:acee@cisco.com]
>> Sent: 12 December 2014 18:14
>> To: t.p.
>> Cc: adrian@olddog.co.uk;
> draft-ietf-ospf-te-metric-extensions.all@tools.ietf.org;
>> ietf@ietf.org
>> Subject: Re: Last Call: <draft-ietf-ospf-te-metric-extensions-08.txt>
(OSPF
> Traffic
>> Engineering (TE) Metric Extensions) to Proposed Standard
>>
>> Hi Tom,
>>
>> On Dec 12, 2014, at 1:08 PM, t.p. <daedulus@btconnect.com> wrote:
>>
>>> On the question of Floating-Point, there is now 754-2008, which is a
>>> tighter spec and is used in RFC6340.
>>
>> What is 754-2008?
>>
>> Thanks,
>> Acee
>>
>>
>>
>>>
>>> At a tangent, the issue of floating-point support has surfaced a
number
>>> of times in YANG and, to date, has always been rejected, reckoning
that
>>> suppport for 64-bit decimal is adequate for data modelling.  The
>>> interactions with XPath (which is used as a basis for YANG
constraint
>>> statements), where floating-point is allowed, have caused a number
of
>>> discussions, some ongoing, about the comparison of a floating-point
>>> number to a 64-bit decimal one. Something to be aware of should you
ever
>>> want to model this in YANG.
>>>
>>> Tom Petch
>>>
>>>
>>> ----- Original Message -----
>>> From: "Adrian Farrel" <adrian@olddog.co.uk>
>>> To: <draft-ietf-ospf-te-metric-extensions.all@tools.ietf.org>
>>> Cc: <ospf@ietf.org>; <ietf@ietf.org>
>>> Sent: Wednesday, December 10, 2014 11:07 PM
>>>
>>>> All,
>>>>
>>>> I reviewed this document as AD and found a few small points that I
>>> have asked
>>>> the authors to address as IETF last call comments.
>>>>
>>>> Adrian
>>>>
>>>> ===
>>>>
>>>> Please look for places where you have "proposed" something and
change
>>>> that to "defined".
>>>>
>>>> ---
>>>>
>>>> It would be good to include a reference for encoding floating point
>>>> integers. The usual is (I think)...
>>>>
>>>>       IEEE, "IEEE Standard for Binary Floating-Point Arithmetic",
>>>>       Standard 754-1985, 1985 (ISBN 1-5593-7653-8).
>>>>
>>>> ---
>>>>
>>>> Section 4.2.5
>>>>
>>>>  Implementations MAY also permit the configuration of a static (non
>>>>  dynamic) offset value (in microseconds) to be added to the
measured
>>>>  delay value, to facilitate the communication of operator specific
>>>>  delay constraints.
>>>>
>>>> On the third reading I got it! I'm slow (I have a high delay :-)
>>>>
>>>> The point here is that the measured value and the static value are
>>> added
>>>> together and the sum is transmitted in this field. I'd suggest...
>>>>
>>>>  Implementations MAY also permit the configuration of a static (non
>>>>  dynamic) offset value (in microseconds) to be added to the
measured
>>>
>>>>  delay value before encoding into this TLV, to facilitate the
>>>>  communication of operator specific delay constraints.
>>>>
>>>> Similarly in 4.2.6.
>>>>
>>>> ---
>>>>
>>>> 4.2.7 appears out of sequence. But since it repeats the content of
>>>> 4.2.4 I suggest you merge them and talk about the plurality of
fields.
>>>>
>>>> ---
>>>>
>>>> Section 7
>>>>
>>>> "Sections 6 and 7 provide" should be 5 and 6.
>>>>
>>>> ---
>>>>
>>>> Section 10
>>>>
>>>>  "As per (RFC3630), unrecognized TLVs should be silently ignored"
>>>>
>>>> There has been confusion about what 3630 means by "silently
ignored".
>>>> In particular, some enthusiastic implementations thought this meant
>>> the
>>>> TLVs should be stripped from the LSA before it is propagated. I
think
>>> it
>>>> is worth the few words to explicitly state that this is not the
case.
>>>>
>>>> ---
>>>>
>>>> Section 13
>>>>
>>>> RFC 4203 is used in a normative way, please move it to the other
>>>> section.
>>>>
>>>>
>>>>
>>>
>