Re: [netmod] Reminder: WGLC - draft-ietf-netmod-yang-tree-diagrams

Benoit Claise <bclaise@cisco.com> Tue, 16 January 2018 09:51 UTC

Return-Path: <bclaise@cisco.com>
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 2F13512F4B1; Tue, 16 Jan 2018 01:51:17 -0800 (PST)
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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, 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 7aFSzY60z61R; Tue, 16 Jan 2018 01:51:14 -0800 (PST)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8EA3012FB10; Tue, 16 Jan 2018 01:51:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4348; q=dns/txt; s=iport; t=1516096273; x=1517305873; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to; bh=yKrK8vPMjLnLnIP08ipqGLuaAmg+LYKRt8dvtCGQRO4=; b=UsACSD7wYVLKPE0OalNyfUvmg5Z/ycHwp/cfPFsOldlCG4Yoh+kQvrEI mpXI/X/oP8j5MK6N0YMSBlh86i3ExKF+gqg0QUcupCLsePDytMfxVYHRl E+T7fLl1clp73R8Yyt6NkzePHJ0p55hEQaCKT7/wGE8LT16VKFFDUqcRk I=;
X-IronPort-AV: E=Sophos;i="5.46,367,1511827200"; d="scan'208,217";a="1423865"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2018 09:51:11 +0000
Received: from [10.55.221.36] (ams-bclaise-nitro3.cisco.com [10.55.221.36]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id w0G9pBVW026979; Tue, 16 Jan 2018 09:51:11 GMT
To: Robert Wilton <rwilton@cisco.com>, Martin Bjorklund <mbj@tail-f.com>
Cc: netmod@ietf.org, draft-ietf-netmod-yang-tree-diagrams@ietf.org
References: <66857af8-80b4-8c7c-f952-f04c3f2adaa7@cisco.com> <20180115.153933.1215610340924130656.mbj@tail-f.com> <9a7e9c47-c8bb-afdc-81d2-1799cfd635cf@cisco.com> <20180115.162623.2008313631188177181.mbj@tail-f.com> <5bbfb2b8-597c-1d19-0d4f-95f83c0ab4b5@cisco.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <ccbd1351-3511-53ab-a6d0-2e874b0c13ce@cisco.com>
Date: Tue, 16 Jan 2018 10:51:11 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
In-Reply-To: <5bbfb2b8-597c-1d19-0d4f-95f83c0ab4b5@cisco.com>
Content-Type: multipart/alternative; boundary="------------C2900FD8BD87F97BEF45311E"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/6CFkwY9G0tb2LMf4LoaqZYiWbk0>
Subject: Re: [netmod] Reminder: WGLC - draft-ietf-netmod-yang-tree-diagrams
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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, 16 Jan 2018 09:51:18 -0000

On 1/15/2018 4:48 PM, Robert Wilton wrote:
>>>> OLD:
>>>>
>>>>         If the node is augmented into the tree from another module,
>>>>         its name is printed as <prefix>:<name>.
>>>>
>>>> NEW:
>>>>
>>>>         If the node is augmented into the tree from another module,
>>>>         its name is printed as <prefix>:<name>, where <prefix> is the
>>>>         prefix defined in the module where the node is defined.
>>> This is OK with me, but there is still a potential for a prefix
>>> namespace clash (since prefixes are not guaranteed to be unique).
>>>
>>> An alternative solution would be for the YANG tree diagram to list (at
>>> the beginning or the end of the diagram) the mappings from prefix ->
>>> module name used.
>> The tree diagram is supposed to give a simplified overview of the
>> structure of a module.  I agree with your statemenet below that such a
>> mappig adds noise...  I prefer to keep the diagram as is.
> That is fine with me, really just raising so that the point could be 
> discussed and closed.
Sections such as this one are super useful and should ideally become 
common practice.
https://tools.ietf.org/html/draft-ietf-netmod-rfc8022bis-08#section-2.3

Regards, Benoit
>
> Thanks,
> Rob