[Ietf-and-github] FW: YANG Model Formatting

"Salz, Rich" <rsalz@akamai.com> Tue, 09 April 2019 15:23 UTC

Return-Path: <rsalz@akamai.com>
X-Original-To: ietf-and-github@ietfa.amsl.com
Delivered-To: ietf-and-github@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 682F6120864 for <ietf-and-github@ietfa.amsl.com>; Tue, 9 Apr 2019 08:23:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.337
X-Spam-Level:
X-Spam-Status: No, score=-1.337 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, KHOP_DYNAMIC=1.363, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.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 2MRTtlsUwhz7 for <ietf-and-github@ietfa.amsl.com>; Tue, 9 Apr 2019 08:23:40 -0700 (PDT)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::1]) (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 7AFDD1200B1 for <ietf-and-github@ietf.org>; Tue, 9 Apr 2019 08:23:40 -0700 (PDT)
Received: from pps.filterd (m0122332.ppops.net [127.0.0.1]) by mx0a-00190b01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x39FLxib030981 for <ietf-and-github@ietf.org>; Tue, 9 Apr 2019 16:23:40 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=jan2016.eng; bh=7m6LUQPwa+JldDDmRO6k1kwXTo2PecTYCkAotSLeDuU=; b=S2pnxPU3mGAMS3FKRnrRcV9cKxiAGm1yxpnlQOgfMdntC4sZnKhdlQlQHt2iwrysZdhP Ys6UBCV1p0/Y70J1v3NdV6Qh112mc9P8siR2f1z/ySWP+glf660EEL90tGyrgMJamrmb Z15AzO/6lDj/guek0PsJ71q4DI8I1fDlOLlVO/um1PULdHQyCy9OH23wKMWwh0AQQ/1e BDZtlkaEq4108K2D3eek42sRi69NPC73m7/fGrQAJLoFToJ2nKyzhWnoAZsvz9wz5v2G KuH204mNlTbntXOts+QRx2uqbtUyt1IIhSj2n9wkGnTMleRIwCTKe8xYW6eQvs0z53tz ww==
Received: from prod-mail-ppoint2 (prod-mail-ppoint2.akamai.com [184.51.33.19]) by mx0a-00190b01.pphosted.com with ESMTP id 2rrnm21y40-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <ietf-and-github@ietf.org>; Tue, 09 Apr 2019 16:23:39 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1]) by prod-mail-ppoint2.akamai.com (8.16.0.27/8.16.0.27) with SMTP id x39FHQds011289 for <ietf-and-github@ietf.org>; Tue, 9 Apr 2019 11:23:38 -0400
Received: from email.msg.corp.akamai.com ([172.27.25.31]) by prod-mail-ppoint2.akamai.com with ESMTP id 2rpqevfbj0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <ietf-and-github@ietf.org>; Tue, 09 Apr 2019 11:23:38 -0400
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb5.msg.corp.akamai.com (172.27.27.105) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 9 Apr 2019 10:23:37 -0500
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1473.003; Tue, 9 Apr 2019 10:23:36 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: "ietf-and-github@ietf.org" <ietf-and-github@ietf.org>
Thread-Topic: YANG Model Formatting
Thread-Index: AQHU7lHhPg0LssW8iEmFQ3nngW2gmKY0BIYA
Date: Tue, 09 Apr 2019 15:23:36 +0000
Message-ID: <5F854869-1E6A-4834-9F7F-92386BE5253C@akamai.com>
References: <8F770E74-110D-4EC3-A94F-3A97E36B103B@cisco.com>
In-Reply-To: <8F770E74-110D-4EC3-A94F-3A97E36B103B@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.18.0.190403
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.37.32]
Content-Type: multipart/alternative; boundary="_000_5F8548691E6A48349F7F92386BE5253Cakamaicom_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-09_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904090096
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-09_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904090097
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-and-github/7lL1c1djsMw98-6WPEO3e1-Xi6E>
Subject: [Ietf-and-github] FW: YANG Model Formatting
X-BeenThere: ietf-and-github@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of using GitHub in IETF activities, particularly for Working Groups" <ietf-and-github.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-and-github>, <mailto:ietf-and-github-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-and-github/>
List-Post: <mailto:ietf-and-github@ietf.org>
List-Help: <mailto:ietf-and-github-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-and-github>, <mailto:ietf-and-github-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Apr 2019 15:23:41 -0000

Something to automate at some point I suppose.

From: "Acee Lindem (acee)" <acee@cisco.com>
Date: Monday, April 8, 2019 at 5:28 PM
To: 'WG Chairs' <wgchairs@ietf.org>
Cc: Martin Bjorklund <mbj@tail-f.com>, "ops-ads@ietf.org" <ops-ads@ietf.org>
Subject: YANG Model Formatting

All,

I had a YANG model RFC discussion with the Sandy Ginoza, RFC Editor, at IETF 104 and she indicated that they are using pyang to format YANG models prior to publication. It would help greatly if authors do the formatting in advance to facilitate reviews and lessen the RFC Editor task. Here are the commands in use:

pyang -f yang --keep-comments
pyang --ietf --max-line-length 69


Thanks,
Acee