Re: [yang-doctors] Percentage type definition

"Acee Lindem (acee)" <acee@cisco.com> Tue, 24 April 2018 13:34 UTC

Return-Path: <acee@cisco.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 0C3EB12AAB6 for <yang-doctors@ietfa.amsl.com>; Tue, 24 Apr 2018 06:34:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 18CQKaTDQiqH for <yang-doctors@ietfa.amsl.com>; Tue, 24 Apr 2018 06:34:35 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5A6AB129C51 for <yang-doctors@ietf.org>; Tue, 24 Apr 2018 06:34:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2120; q=dns/txt; s=iport; t=1524576875; x=1525786475; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=rNso+udYa84n0gVizPv2wgphhZgSVbSN+rAr3tjpuhc=; b=EhYHziN0La+mIRJwiQc/uLOgs3TkqTsqScOERTNUf6Ug0J6CRIQ8HMrE VyZzCacZBJ8DXtsTkL5Mg1FlRZup9Pe0GrS3vfxj4Rr7hlz99ROno6Zym GQqw4RExWpSeNS97lZ2Qc0Lw/nKi72d79bn2YVbkPsk/s74jAl/3c0ghf I=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DtAACWMd9a/4QNJK1cGQEBAQEBAQEBAQEBAQcBAQEBAYNDYXooCoNgiAKMe4FTIYEPhm2MFoF4CxgLhEkCGoJeITQYAQIBAQEBAQECbBwMhSMBAQEDAQEhETobAgEIDgoCAiYCAgIfBgsVEAIEARKEdwMVD6VfghyEWII3DYErgjQFgQmHA4ITgTIMglyCT0IBAYFgF4JpMIIEIAKQboZhLAgCi0OCfYxQiXmGEQIREwGBJAEcOIFScBU7KgGCGIsQhT5vj0iBGAEB
X-IronPort-AV: E=Sophos;i="5.49,323,1520899200"; d="scan'208";a="382866669"
Received: from alln-core-10.cisco.com ([173.36.13.132]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2018 13:34:34 +0000
Received: from XCH-RTP-014.cisco.com (xch-rtp-014.cisco.com [64.101.220.154]) by alln-core-10.cisco.com (8.14.5/8.14.5) with ESMTP id w3ODYYFt002368 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 24 Apr 2018 13:34:34 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-014.cisco.com (64.101.220.154) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Tue, 24 Apr 2018 09:34:33 -0400
Received: from xch-rtp-015.cisco.com ([64.101.220.155]) by XCH-RTP-015.cisco.com ([64.101.220.155]) with mapi id 15.00.1320.000; Tue, 24 Apr 2018 09:34:33 -0400
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Ignas Bagdonas <ibagdona@gmail.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
Thread-Topic: [yang-doctors] Percentage type definition
Thread-Index: AQHT28uw2bRjKGZ310ekPp429iNVnKQP4hcAgABGLoD//8IXAA==
Date: Tue, 24 Apr 2018 13:34:33 +0000
Message-ID: <5036FD91-B12D-4146-B4A7-DF16525A3993@cisco.com>
References: <d51e1e8d-aec5-acfd-435d-2fedeba70ee9@gmail.com> <CC9F0D74-3D81-4976-AAC4-30EF844EC1FE@cisco.com> <85849c67-91ef-51bb-c552-8fd944ace15b@gmail.com>
In-Reply-To: <85849c67-91ef-51bb-c552-8fd944ace15b@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.24.17.116]
Content-Type: text/plain; charset="utf-8"
Content-ID: <3A0865353A8A7743BF8CF01A9CDDA5E3@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/zGYH-rQnI82QYiHqk8mUMvA8jb0>
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:34:37 -0000

There are tradeoffs in either case. However, I'd probably import and use it or, concurrently with the module under development, spin a model with additional yang types.
Acee 

On 4/24/18, 9:16 AM, "Ignas Bagdonas" <ibagdona@gmail.com> wrote:

    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
    >      
    >