Re: [yang-doctors] Percentage type definition

Ignas Bagdonas <ibagdona@gmail.com> Tue, 24 April 2018 13:16 UTC

Return-Path: <ibagdona@gmail.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F2A1C126C19 for <yang-doctors@ietfa.amsl.com>; Tue, 24 Apr 2018 06:16:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 PHkk1B4zVnMx for <yang-doctors@ietfa.amsl.com>; Tue, 24 Apr 2018 06:16:11 -0700 (PDT)
Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 236BA127AD4 for <yang-doctors@ietf.org>; Tue, 24 Apr 2018 06:16:11 -0700 (PDT)
Received: by mail-wm0-x234.google.com with SMTP id 66so892226wmd.3 for <yang-doctors@ietf.org>; Tue, 24 Apr 2018 06:16:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=Xpj43+Cq54IVXgqD/n2mVlOhX5QvypeQ3h1kuMu3SKQ=; b=grDQJjAfbWvXWdBv/LPTRKt74d4a8XlTmCZF1RBzBwoBqHBaCQMbSHC5HBDKlmQDC8 sgbMzrSviYQck37Vp0XGS2nZL1X2P0JX647RK5eNzlcPt3/O2XTwVfqI8NWTFKyunG5C m1/US8juGBfk/Qax0tdB/3+jLw6vc4MTMD4sNwM0PEklIZnrepg2/BqddeN2lwYZx9rE BPSA8xkkXlSGKdY8mmhE8xT4CAGOJvsd0nF+vUkBsktVWCnGB0wLUo+fve0okA4YjdYD AKp1I1UlWS0b/8y6/RcILhBIs+j1kVLCja+5AHoH/W/xW9aU+PEsIwcHW3UDT5H3ea+E tbnA==
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 :content-language; bh=Xpj43+Cq54IVXgqD/n2mVlOhX5QvypeQ3h1kuMu3SKQ=; b=ucdYezXs/0G/PZVP+d3m9C5j4gN2B2svYGe3vUT1+1I4abdgMIzUoFPwrKYgszJgPb GOKKZviygg/bcldIr5khr/WEWJnBwTi0mZBSs7hq5ZJIpDHOxu1mVdYpreIOABkIiR2M KD1Zhe7jGuJi052v/Gg3y00gkot4wgiMssDpGuFrr2q9ywNuxzFFuvHlZ4okgE8DzKxT 1oF9FZfPkncKZsrPr/60huAonM5BHJKArqzRhI9JXqCax0u7JUa9OwmFj9WwOLD4lX7k cxikzzXyNarwfNGVgOhMixWOxSvkM3O1l+B/jww6PdBCE3KbqyrYhiNV3tEJ57zHi/oL SUOA==
X-Gm-Message-State: ALQs6tDxXHD6dxdyaL/cERaTYuvGcc4GmYdgOL/qGgUddeqJcejfZByF wCJyC71eHFDAz+hhAY03hWuTuUTU
X-Google-Smtp-Source: AIpwx48vcFabHJTJCxh/j0f+fQAnQyvYJboP1xUWbSXYQimTLMZlmBriIhnFEmgdz4b8VuRs9D0f9A==
X-Received: by 10.167.214.140 with SMTP id d12mr16160062edr.6.1524575769373; Tue, 24 Apr 2018 06:16:09 -0700 (PDT)
Received: from [192.168.96.201] ([80.69.10.100]) by smtp.gmail.com with ESMTPSA id h7sm8901684edj.59.2018.04.24.06.16.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 06:16:08 -0700 (PDT)
To: "Acee Lindem (acee)" <acee@cisco.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
References: <d51e1e8d-aec5-acfd-435d-2fedeba70ee9@gmail.com> <CC9F0D74-3D81-4976-AAC4-30EF844EC1FE@cisco.com>
From: Ignas Bagdonas <ibagdona@gmail.com>
Message-ID: <85849c67-91ef-51bb-c552-8fd944ace15b@gmail.com>
Date: Tue, 24 Apr 2018 14:16:07 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CC9F0D74-3D81-4976-AAC4-30EF844EC1FE@cisco.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/JQcH5cfalqEdk0zeOL8DNfJ6tT8>
Subject: Re: [yang-doctors] Percentage type definition
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Apr 2018 13:16:18 -0000

That was my guess initially.

What would be the preferred way for a module not (directly) related to 
routing to get a percentage definition - define its own, or import it 
from routing types?


On 24/04/2018 14:04, Acee Lindem (acee) wrote:
> Hi Ignas,
>
> Very simple - the requirement for this type surfaced while we were developing RFC 8294 as opposed to RFC 6012. Defining common types and refactoring is a journey - NOT a destination.
>
> Thanks,
> Acee
>
> On 4/24/18, 8:56 AM, "yang-doctors on behalf of Ignas Bagdonas" <yang-doctors-bounces@ietf.org on behalf of ibagdona@gmail.com> wrote:
>
>      Colleagues,
>      
>      Would anyone remember the history behind having percentage type defined
>      in routing-types and not in a more generic module like yang-types? I am
>      not questioning that decision, just trying to understand the history.
>      
>      Thank you.
>      
>      Ignas
>      
>      
>      _______________________________________________
>      yang-doctors mailing list
>      yang-doctors@ietf.org
>      https://www.ietf.org/mailman/listinfo/yang-doctors
>      
>