Re: [netmod] 6021 ipv4-prefix

Randy Presuhn <randy_presuhn@alumni.stanford.edu> Tue, 30 April 2019 22:30 UTC

Return-Path: <randy_presuhn@alumni.stanford.edu>
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 C2C4D1200D7 for <netmod@ietfa.amsl.com>; Tue, 30 Apr 2019 15:30:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, LOTS_OF_MONEY=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 gRnWip1RrdCr for <netmod@ietfa.amsl.com>; Tue, 30 Apr 2019 15:30:34 -0700 (PDT)
Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1094712000E for <netmod@ietf.org>; Tue, 30 Apr 2019 15:30:34 -0700 (PDT)
Received: by mail-pf1-f171.google.com with SMTP id 188so7761894pfd.8 for <netmod@ietf.org>; Tue, 30 Apr 2019 15:30:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Rn5ZbidWz0J9A7nmRRC6hd20czQ/Zw1KyNjKBNUMqrI=; b=mYYE8lj6fMIzgcGVXiMi1Zrp/5goi47pIR3/nYElfZ7umUdL1vazzubFHRSBm99WXI 5yNDrWM1mXxxhTdGVi8HE6XMg6uf1ibKi6BidQE+W9lDmQ3l95JGCpbYYMK3KoaZjlDB 0kIJ3wrzbJ8Xvi3OsCHeFzMsB+Af7giRcYPV3cgwOTODbTY/sxYefa3pf+vI7Is+G8UY m+u8WbHkqGDNo4lC281fJ4ZGc9KMf3DKBRMu/eUdFUOeAmyOrOiUBIkbRS/At2SNubhF UHVpFWA8ktAFz6eHqsEUtPX4tMITqCxDgxmDrmWE4H+iWRALuG9nEeBRj/QHdPO8A6GR lrBg==
X-Gm-Message-State: APjAAAV5uh3PqKQdju+WofJXrfSMgkRNbW0AcMP0dnstt22OWlzwSmkE mMBwSq5N2FNrCdGk0NP5l5n/kXX7IQ4=
X-Google-Smtp-Source: APXvYqwd3abFzwZYo09OuRn1tqzmUZb4k1lzH4apXF+OhPQlUUEQFCNBEsuKZU7LvbxzFR/56fZkyw==
X-Received: by 2002:a62:2541:: with SMTP id l62mr51895095pfl.243.1556663433369; Tue, 30 Apr 2019 15:30:33 -0700 (PDT)
Received: from [192.168.1.100] (c-69-181-241-121.hsd1.ca.comcast.net. [69.181.241.121]) by smtp.gmail.com with ESMTPSA id f14sm19070181pgj.24.2019.04.30.15.30.32 for <netmod@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Apr 2019 15:30:32 -0700 (PDT)
To: netmod@ietf.org
References: <20190429100213.vukmmbdsz5zlw6w5@anna.jacobs.jacobs-university.de> <bbf252aaca86418ca80b3bf04a910aff@XCH-RCD-007.cisco.com> <20190429103451.yink4bdvvmlh7ohe@anna.jacobs.jacobs-university.de> <c03aa9a27ed544c5be88fd0750d782e3@XCH-RCD-007.cisco.com> <20190429134615.f32zkbia6fqwk3to@anna.jacobs.jacobs-university.de> <b404565930694fd8af93326b5e754a2b@XCH-RCD-007.cisco.com> <0c4265d31adbf208a680f76216cc4bc42c766eae.camel@nic.cz> <959ed1a8092f4798ac0b923384962049@XCH-RCD-007.cisco.com> <20190429153643.oxfcq7ze6ttdihb4@anna.jacobs.jacobs-university.de> <alpine.DEB.2.20.1904300713100.3490@uplift.swm.pp.se> <20190430061737.vvxghxyacd57k73i@anna.jacobs.jacobs-university.de> <alpine.DEB.2.20.1904301038570.3490@uplift.swm.pp.se>
From: Randy Presuhn <randy_presuhn@alumni.stanford.edu>
Message-ID: <18711798-25e6-f4f2-8a41-a003c18037c6@alumni.stanford.edu>
Date: Tue, 30 Apr 2019 15:30:50 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.20.1904301038570.3490@uplift.swm.pp.se>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/U_vk47LzqN9gC7zzaqFE_kznOFA>
Subject: Re: [netmod] 6021 ipv4-prefix
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, 30 Apr 2019 22:30:36 -0000

Hi -

On 4/30/2019 1:46 AM, Mikael Abrahamsson wrote:
...
> Is it generally ok that the canonical value potentially represents a
> different bit field/value than what the client sent?
...

The *value* represented is the same.  The sequences of bytes used
to represent that value may be different.  Some information sent
by the client may be extraneous to the *value*.  Consider the case
of currency values entered into some application.  A robust application
won't care whether I enter $1,234,567.89 or 1234567.89 and if it
subsequently chooses to display it as "1.234.567,89 USD" I can't
complain that the value is different, even though several bytes of
my input have clearly been discarded.

This situation is hardly unique to netconf. I recall coding
for such situations forty years ago.  It has been a fact of life
throughout the history of ASN.1 and especially BER. It will continue
to be a consideration at least as long as folks feel the need to
support "human readable" representations on input.  Frankly,
I was surprised that anyone was surprised by this.

Randy