Re: [netmod] WG adoption poll draft-lhotka-netmod-yang-markup-00

Andy Bierman <andy@yumaworks.com> Thu, 13 April 2017 16:08 UTC

Return-Path: <andy@yumaworks.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 609721294B8 for <netmod@ietfa.amsl.com>; Thu, 13 Apr 2017 09:08:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=yumaworks-com.20150623.gappssmtp.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 MYCHHyGB_fet for <netmod@ietfa.amsl.com>; Thu, 13 Apr 2017 09:08:56 -0700 (PDT)
Received: from mail-wr0-x22d.google.com (mail-wr0-x22d.google.com [IPv6:2a00:1450:400c:c0c::22d]) (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 75E8A12949F for <netmod@ietf.org>; Thu, 13 Apr 2017 09:08:55 -0700 (PDT)
Received: by mail-wr0-x22d.google.com with SMTP id z109so38574495wrb.1 for <netmod@ietf.org>; Thu, 13 Apr 2017 09:08:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FJQ8eGOGpwG14bYLWFBnM5qU/q1Yg5U/Vi4BAbA98Mc=; b=l8vYTt6urlTGVTk2bM/WL0n5dMfjercZvfPR/vDnE2K2nr3Ee7QuASKw9AQvYu4YXK 1fPj5MD4Qj9RA/BZ4bfCu7terbcrKknKmY94mQB2ZZzh7DDyBeAowpuHHHcU6j/WZ1kO +XTKC7+zaMJYxPkRXueuN2GcPUz6lcThZiJPowBUXZw6yjk82KrlSUuaIk3hhlutANPf I2Xje5TBckbMBrGf9Ta5Y2/kVxejTj9W4Y68B8fVHQc3he4sztAmXKhzIjO5adoAibkP IWvA7Dk70OavLkLCb5uncAZCeNq2UYaYGvkkUy50IQsVxUkM4rNYu2ejlb4Jwr6hLXyC oyvQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FJQ8eGOGpwG14bYLWFBnM5qU/q1Yg5U/Vi4BAbA98Mc=; b=SRUk1RV9JyDLqJpDN6iSyRLprSo+XbhOB7bO6yXYagkffNkAz7/FBE6XPWg8F/3tkm 4YpkwgZle7QpsOYzQulVzS45y7JjhOlLDdwlKniyXm8lurRZNl0xf3iKNvXUYSPVyQQo IHYE/On/4BgbJkNF/Owf2TqllrsxQ9csAkZ3wyhwZilHGGaHwrtvFC+kIxn1TW5FOE7s 1hLntACQ1V45BGQCecNjawjZbdNrRsL7D20BFfGrmQIRobO1uT64p8E2SDkRpEQKlETE FaRMxk1w8RXhCPnQc2xlhWspC5MBvKKePpq3T5gNR7l37PR5XoWrhkUdi70LcucmLUCB E5Sw==
X-Gm-Message-State: AN3rC/7oNAPkWjVuFuoBsH/lRFkYShCav/fhps/oUc3eNWpj0zimXnwA 7H9Am1UGvQyB5Uwc6reBP8G3ul/pxw==
X-Received: by 10.223.178.68 with SMTP id y4mr3888980wra.88.1492099733874; Thu, 13 Apr 2017 09:08:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.139.23 with HTTP; Thu, 13 Apr 2017 09:08:52 -0700 (PDT)
In-Reply-To: <82424428-C5C0-4EA8-BBD2-6F52EEFD300F@nic.cz>
References: <10335DBC-AF4B-4CEF-AC4C-F0E4D27C13A6@juniper.net> <m2d1ck1o5q.fsf@birdie.labs.nic.cz> <80e51c0a-9463-8ebe-c35d-9f1fae8c07e9@cisco.com> <m28tn5u6rv.fsf@birdie.labs.nic.cz> <20170412130207.GA83817@elstar.local> <CABCOCHQ4g6RZc=Jj0zqEu8Sydo8HHOHpfMMFFX7JRCnUAnvm6A@mail.gmail.com> <06e201d2b44f$35c0a780$4001a8c0@gateway.2wire.net> <82424428-C5C0-4EA8-BBD2-6F52EEFD300F@nic.cz>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 13 Apr 2017 09:08:52 -0700
Message-ID: <CABCOCHSjWW6GFH-sBCUq1NaDS89yid7PMbvqYwOwjEvSsOJmZg@mail.gmail.com>
To: Ladislav Lhotka <lhotka@nic.cz>
Cc: "t.petch" <ietfc@btconnect.com>, Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>, Robert Wilton <rwilton@cisco.com>, Kent Watsen <kwatsen@juniper.net>, NETMOD WG <netmod@ietf.org>, NetMod WG Chairs <netmod-chairs@ietf.org>
Content-Type: multipart/alternative; boundary="f403045f1a469b8331054d0e8a43"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/0fXIOY8-xRBwR9WVVdtKD-cdI-Q>
Subject: Re: [netmod] WG adoption poll draft-lhotka-netmod-yang-markup-00
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: Thu, 13 Apr 2017 16:08:58 -0000

On Thu, Apr 13, 2017 at 5:45 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:

>
> > On 13 Apr 2017, at 13:34, t.petch <ietfc@btconnect.com> wrote:
> >
> >
> > ----- Original Message -----
> > From: "Andy Bierman" <andy@yumaworks.com>
> > Sent: Wednesday, April 12, 2017 5:44 PM
> >
> >> On Wed, Apr 12, 2017 at 6:02 AM, Juergen Schoenwaelder <
> >> j.schoenwaelder@jacobs-university.de> wrote:
> >>
> >>> I think it is crucial that descriptions etc. remain human readable
> >>> using plain text readers. Having to run a renderer to make sense out
> >>> of descriptions etc. would be a big failure and things are even
> > worse
> >>> if modules use different dialects all over the place.
> >>>
> >>> I believe there is way more important work to get done than this
> > (and
> >>> I fear endless discussions about which adapted subsets of markdown
> > or
> >>> (whatever comes next) to use). I do not object this work, but I also
> >>> do not support it at this point in time.
> >>>
> >>>
> >> +1
> >>
> >> IMO this makes YANG less readable, especially without any agreement
> >> on the specific markup supported. A YANG module should be readable by
> > humans
> >> without any special tools required.
> >
> > I agree.  I would say that if you cannot say it in text/plain, then you
> > probably should not be saying it (something I would extend to e-mail but
> > realise that I am less likely to get support there:-)
>
> OK, so if somebody writes
>
> leaf foo {
>     description "This is my *favourite* leaf.";
>     type string;
> }
>
>
Your premise is that the description-stmt is for the
benefit of the model writer, not the model reader.
Since YANG explicitly states this statement contains a human-readable
string, it seems clear the benefit to the readers is more important.


you may not like it, but it is absolutely legal and IMO also readable by
> humans. As William previously mentioned, some communities are already doing
> similar things. The principal aim of my I-D is to allow module authors to
> explicitly state that they adhere to some rules, which helps authors of
> tools reduce guesswork.
>
>
You may decide to ignore the intent of the description-stmt.
That doesn't mean we should change the definition in the standard.
IMO plain text is human-readable.  Anything that requires parsing,
reinterpreting and re-rendering is not human friendly.



> The example with email is actually very relevant. I would also love if
> people and MUAs only used plain text but, as you say, this is not going to
> happen. If we accept this as a fact, is it better or worse for
> interoperability that MUAs provide media type in mail headers?
>
> Lada
>

Andy


>
> >
> > Tom Petch
> >
> >>> /js
> >>>
> >>>
> >> Andy
> >>
> >>
> >>> On Wed, Apr 12, 2017 at 02:53:08PM +0200, Ladislav Lhotka wrote:
> >>>> Robert Wilton <rwilton@cisco.com> writes:
> >>>>
> >>>>> Yes/support.  But with the condition that I would still like the
> > draft
> >>>>> to define a basic common subset of markdown fields/annotations
> > that
> >>>>> implementations would be expected to support.  For clarity, I'm
> > not
> >>>>> suggesting that the draft should define a new markdown language,
> > I
> >>> think
> >>>>> that it would be better to use an existing markdown language,
> > but
> >>>>> perhaps simplified.
> >>>>
> >>>> In my view, this needs to remain purely optional, so
> > implementations
> >>>> won't be expected to support anything. It should be perfectly fine
> > to
> >>>> leave description texts unprocessed, or process only selected
> >>>> constructs.
> >>>>
> >>>>>
> >>>>> I want to avoid the scenario where each group of YANG modelers
> > could
> >>>>> decide to use a different incompatible variant of text/markdown,
> > and
> >>>>> hence generic tools would not be able to reliably render the
> > markup for
> >>>>> a generic YANG module.
> >>>>
> >>>> On the other hand, particular markup conventions might be dictated
> > by
> >>>> external circumstances. For example, for modules hosted at GitHub,
> > the
> >>>> GFM variant of text/markdown looks like a natural choice but
> > elsewhere
> >>>> it can be something different. William also suggested that certain
> >>>> YANG-specific constructs may also be introduced.
> >>>>
> >>>>>
> >>>>> Care would need to be taken with which variant of the Markdown
> > language
> >>>>> is chosen as a base (RFC 7764 may be of use) .  E.g. the github
> > markup
> >>>>> language has been previously suggested, but the specification
> > document
> >>>>> for that variant is long (approx 120 pages).
> >>>>
> >>>> RFC 7763 also notes that markdown itself by design has no concept
> > of
> >>>> validity, so I think it is appropriate to take it easy and avoid
> >>>> overspecifying things.
> >>>>
> >>>> I guess the key point here is "lighweight markup": if and
> > implementation
> >>>> can make use of it, then fine, but module readers should have
> > little
> >>>> difficulty if not.
> >>>>
> >>>> Thanks, Lada
> >>>>
> >>>>>
> >>>>> Thanks,
> >>>>> Rob
> >>>>>
> >>>>>
> >>>>> On 10/04/2017 12:45, Ladislav Lhotka wrote:
> >>>>>> As the author: yes/support.
> >>>>>>
> >>>>>> Two changes seemed to have support in IETF 98 audience:
> >>>>>>
> >>>>>> 1. Apart from text/plain, the media type SHOULD be
> > text/markdown
> >>>>>> (variants permitted).
> >>>>>>
> >>>>>> 2. The "text-media-type" extension can appear anywhere in a
> >>> (sub)module,
> >>>>>> and will be scoped to the parent statement and its substaments
> > (unless
> >>>>>> overriden).
> >>>>>>
> >>>>>> Lada
> >>>>>>
> >>>>>> Kent Watsen <kwatsen@juniper.net> writes:
> >>>>>>
> >>>>>>> All,
> >>>>>>>
> >>>>>>> This is start of a two-week poll on making the following draft
> > a
> >>>>>>> NETMOD working group document:
> >>>>>>>
> >>>>>>>   draft-lhotka-netmod-yang-markup-00
> >>>>>>>
> >>>>>>> Please send email to the list indicating "yes/support" or
> > "no/do not
> >>>>>>> support".  If indicating no, please state your reservations
> > with the
> >>>>>>> document.  If yes, please also feel free to provide comments
> > you'd
> >>>>>>> like to see addressed once the document is a WG document.
> >>>>>>>
> >>>>>>> Thank you,
> >>>>>>> NETMOD WG Chairs
> >>>>>>>
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> netmod mailing list
> >>>>>>> netmod@ietf.org
> >>>>>>> https://www.ietf.org/mailman/listinfo/netmod
> >>>>>
> >>>>
> >>>> --
> >>>> Ladislav Lhotka, CZ.NIC Labs
> >>>> PGP Key ID: 0xB8F92B08A9F76C67
> >>>>
> >>>> _______________________________________________
> >>>> netmod mailing list
> >>>> netmod@ietf.org
> >>>> https://www.ietf.org/mailman/listinfo/netmod
> >>>
> >>> --
> >>> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> >>> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen |
> > Germany
> >>> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
> >>>
> >>> _______________________________________________
> >>> 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
>
> --
> Ladislav Lhotka, CZ.NIC Labs
> PGP Key ID: 0xB8F92B08A9F76C67
>
>
>
>
>
>