Re: [netmod] WG adoption poll draft-lhotka-netmod-yang-markup-00
Robert Wilton <rwilton@cisco.com> Tue, 18 April 2017 09:32 UTC
Return-Path: <rwilton@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 97070129646; Tue, 18 Apr 2017 02:32:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.522
X-Spam-Level:
X-Spam-Status: No, score=-14.522 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-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 sW2sIzxo3FIY; Tue, 18 Apr 2017 02:32:25 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EA46C129505; Tue, 18 Apr 2017 02:32:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8598; q=dns/txt; s=iport; t=1492507945; x=1493717545; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to; bh=NXIuSa9+ienknAPbjbnqcVc4QOifySQmLLzDEJ/QQfM=; b=XmRRiL5hOna/fNdNcZAMx6qKmBqYaBs07YhSMK/9HrtuG9ehNswipOz4 IBB2SRO2LY6PRzI4YuS4gNSI3I0cZqkFTmD7B3YLpe/c9urtP0YjbKK+N vG7ZtBgXK9UnAtjK5tpYobUud8b8BGtUlLEivB9XE8phvlFY9kmBbL+p9 Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CiAQDR3PVY/xbLJq1cGQEBAQEBAQEBAQEBBwEBAQEBhT+DZooVc5BskC2FNIIPhiQChC0YAQIBAQEBAQEBayiFFQEBAQECASNWBQcECxAFAQInAwICRhEGAQwGAgEBig0IqhOCJiuKdwEBAQEBAQEBAQEBAQEBAQEBAQEBAR2GUoIIgm2BPIYhgl8FnSKSaoprhl2LcYgdHziBBSYdCBgVhTaBdD81iQsBAQE
X-IronPort-AV: E=Sophos;i="5.37,218,1488844800"; d="scan'208,217";a="651222479"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Apr 2017 09:32:05 +0000
Received: from [10.63.23.150] (dhcp-ensft1-uk-vla370-10-63-23-150.cisco.com [10.63.23.150]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id v3I9W5uD008879; Tue, 18 Apr 2017 09:32:05 GMT
To: Andy Bierman <andy@yumaworks.com>, Ladislav Lhotka <lhotka@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> <CABCOCHSjWW6GFH-sBCUq1NaDS89yid7PMbvqYwOwjEvSsOJmZg@mail.gmail.com>
Cc: "t.petch" <ietfc@btconnect.com>, Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>, Kent Watsen <kwatsen@juniper.net>, NETMOD WG <netmod@ietf.org>, NetMod WG Chairs <netmod-chairs@ietf.org>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <f3b07f2c-9cf6-843f-48e7-1b1e813c2a77@cisco.com>
Date: Tue, 18 Apr 2017 10:32:03 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CABCOCHSjWW6GFH-sBCUq1NaDS89yid7PMbvqYwOwjEvSsOJmZg@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------1E9F270571BF333AF7489494"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/WWsZmDCYDJoaIyoOFJw0quqce0c>
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: Tue, 18 Apr 2017 09:32:29 -0000
On 13/04/2017 17:08, Andy Bierman wrote: > > > On Thu, Apr 13, 2017 at 5:45 AM, Ladislav Lhotka <lhotka@nic.cz > <mailto:lhotka@nic.cz>> wrote: > > > > On 13 Apr 2017, at 13:34, t.petch <ietfc@btconnect.com > <mailto:ietfc@btconnect.com>> wrote: > > > > > > ----- Original Message ----- > > From: "Andy Bierman" <andy@yumaworks.com > <mailto: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 > <mailto: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. I see that the benefit of allowing markdown really is for the model reader. Longer term, I assume that operators using YANG models probably won't interact so much with the raw YANG models themselves, but will be much more likely to interact with the constructed tree structure through a web browser, or generated APIs. Allowing markup, e.g. so a paragraph of text can re-flow to fill a box seems useful to me, as does some sort of emphasis and lists. I also note that quite a lot (most?) language API documentation tools generally take some form of structured text, rather than relying on text/plain. But I do agree to the point that this work seems less urgent than some of other items that are being worked on in NETMOD. Rob
- [netmod] WG adoption poll draft-lhotka-netmod-yan… Kent Watsen
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… William Lupton
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Robert Wilton
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Juergen Schoenwaelder
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Andy Bierman
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Andy Bierman
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Phil Shafer
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Robert Wilton
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Phil Shafer
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Robert Wilton
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Andy Bierman
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] netmod Digest, Vol 109, Issue 17 Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Kent Watsen
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Jonathan Hansford
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Robert Wilton
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] netmod Digest, Vol 109, Issue 17 heasley
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Andy Bierman
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Andy Bierman
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… t.petch
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Juergen Schoenwaelder
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Juergen Schoenwaelder
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Andy Bierman
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Kent Watsen
- Re: [netmod] WG adoption poll draft-lhotka-netmod… Ladislav Lhotka