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

joel jaeggli <joelja@bogus.com> Tue, 16 January 2018 17:34 UTC

Return-Path: <joelja@bogus.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 86CC612E867 for <netmod@ietfa.amsl.com>; Tue, 16 Jan 2018 09:34:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] 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 8Yyp8y8VKpZm for <netmod@ietfa.amsl.com>; Tue, 16 Jan 2018 09:34:58 -0800 (PST)
Received: from nagasaki.bogus.com (nagasaki.bogus.com [IPv6:2001:418:1::81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4D5EF12D82D for <netmod@ietf.org>; Tue, 16 Jan 2018 09:34:37 -0800 (PST)
Received: from MBP.local (c-73-202-177-209.hsd1.ca.comcast.net [73.202.177.209]) (authenticated bits=0) by nagasaki.bogus.com (8.15.2/8.15.2) with ESMTPSA id w0GHYXVr062391 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 16 Jan 2018 17:34:34 GMT (envelope-from joelja@bogus.com)
X-Authentication-Warning: nagasaki.bogus.com: Host c-73-202-177-209.hsd1.ca.comcast.net [73.202.177.209] claimed to be MBP.local
To: Robert Wilton <rwilton@cisco.com>, Martin Bjorklund <mbj@tail-f.com>, vladimir@transpacket.com
Cc: netmod@ietf.org
References: <aa7a1449-fd6e-e4c6-7568-41061c09d9f2@transpacket.com> <20180116.115606.561861432247288407.mbj@tail-f.com> <e94d1ed3-e859-3167-501f-ce23e77804df@transpacket.com> <20180116.164053.2123534827829006518.mbj@tail-f.com> <e63efa9f-3114-d59d-e1d8-e62602a830c5@cisco.com>
From: joel jaeggli <joelja@bogus.com>
Message-ID: <a2c75af7-c5b9-f277-1d04-5891dc97c0d2@bogus.com>
Date: Tue, 16 Jan 2018 09:34:28 -0800
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
In-Reply-To: <e63efa9f-3114-d59d-e1d8-e62602a830c5@cisco.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/3JfWfGvhBScF5c7s5zKHP7CTajs>
Subject: Re: [netmod] 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 17:34:59 -0000


On 1/16/18 8:01 AM, Robert Wilton wrote:
>
>
> On 16/01/2018 15:40, Martin Bjorklund wrote:
>> Vladimir Vassilev <vladimir@transpacket.com> wrote:
<snip>
>> Does anyone else have an opinion on this?  I can see three
>> alternatives:
>>
>>    1) allow any number of addtional spaces
>>    2) allow any number of addtional spaces + define a suggested
>>       alignment algorithm
>>    3) mandate the alignment algorithm
>
> Definition of symbols should be precise/consistent, so that readers
> can consistently interpret tree diagrams.
>
> I think that flexibility in layout should be OK, but the draft should
> provide guideline to ensure the output is readable, and likely to be
> broadly consistent (since consistency aids readability).
>
> If the IETF data modeling group is trying to specify text output
> precisely enough that it can be screen scraped then we may want to
> consider whether we are focusing on the right solution ;-)
I would hope that we are not, as the diagrams are programmatically 
generated if you wanted to for example validate them one should do that
from the sources. 

Approaches that result in the most easily human readable, followed by
consistency between tools is probably better for that. That said this is
almost the indentation wars so the proscriptive it gets the more dissent
you can probably find (e.g. 3).

> In summary, (2) is my preference, followed by (1), followed by (3).
>
> Thanks,
> Rob
>
>>
>>
>> /martin
>>
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
>> .
>>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>