[netmod] Fwd: New Version Notification for draft-ietf-netmod-yang-instance-file-format-01.txt

Balázs Lengyel <balazs.lengyel@ericsson.com> Thu, 06 December 2018 10:15 UTC

Return-Path: <balazs.lengyel@ericsson.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 8D895131186 for <netmod@ietfa.amsl.com>; Thu, 6 Dec 2018 02:15:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.057
X-Spam-Level:
X-Spam-Status: No, score=-4.057 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.46, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=ZJw+tO3o; dkim=pass (1024-bit key) header.d=ericsson.com header.b=AI6UJD68
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 DXjcNMS9_4bD for <netmod@ietfa.amsl.com>; Thu, 6 Dec 2018 02:15:36 -0800 (PST)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (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 3A4B513114A for <netmod@ietf.org>; Thu, 6 Dec 2018 02:15:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1544091334; x=1546683334; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=tz4SKAdAFSlRRjUa3RHGf5bq1dbunHa21rTQFy9/I+g=; b=ZJw+tO3oir+OIwJJ2iWWMEsUZJAh5Q+zb/k0X1Xyi5rwB+LsThFsidmtHZ3PjkPA eKT2TtR6UhIp/j4VwdeMomJyfaD46HUC2QXFsqIplQK9bOmwk2v8lusKlti/6URq GJEzZa/r3RYiCPoRADaad/MFrhAbqn5zhB2HelCFpuY=;
X-AuditID: c1b4fb3a-8d8849e000002747-63-5c08f6c6842f
Received: from ESESBMB503.ericsson.se (Unknown_Domain [153.88.183.116]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 1D.DC.10055.6C6F80C5; Thu, 6 Dec 2018 11:15:34 +0100 (CET)
Received: from ESESBMR502.ericsson.se (153.88.183.134) by ESESBMB503.ericsson.se (153.88.183.170) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 6 Dec 2018 11:15:31 +0100
Received: from ESESSMB501.ericsson.se (153.88.183.162) by ESESBMR502.ericsson.se (153.88.183.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 6 Dec 2018 11:15:31 +0100
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (153.88.183.157) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Thu, 6 Dec 2018 11:15:31 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IS8XFo/ngf4FE1ig8y39vcIN0ht1C2+NPUJzLbgKqeg=; b=AI6UJD68Jg0ZmXecXEEYxq+Pf+4D7rLTW6clNTSpH6HEeEw/zwob9Iee9MkUgYtnyT1v0rM+kUGeoPjdDIca7dj/jP6pTAdP7gHfqM//Rf/xa1PtvCydRkjimM6UF23wjBKOfl3TQnCP72XNJiGVZih7ApV7TQu1ZbUVlaQxbg0=
Received: from DB7PR07MB4935.eurprd07.prod.outlook.com (20.177.192.212) by DB7PR07MB5016.eurprd07.prod.outlook.com (20.177.193.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.14; Thu, 6 Dec 2018 10:15:30 +0000
Received: from DB7PR07MB4935.eurprd07.prod.outlook.com ([fe80::c8ee:97bb:db28:7003]) by DB7PR07MB4935.eurprd07.prod.outlook.com ([fe80::c8ee:97bb:db28:7003%2]) with mapi id 15.20.1404.021; Thu, 6 Dec 2018 10:15:30 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: New Version Notification for draft-ietf-netmod-yang-instance-file-format-01.txt
Thread-Index: AQHUjUw5mF7qxDuqckaqOirCD9H9ZaVxfp0A
Date: Thu, 06 Dec 2018 10:15:30 +0000
Message-ID: <35a31eae-9a4f-7d20-a9d3-6b0b60ac8a34@ericsson.com>
References: <154409113299.3479.15867089668746650774.idtracker@ietfa.amsl.com>
In-Reply-To: <154409113299.3479.15867089668746650774.idtracker@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [89.135.192.225]
x-forwarded-message-id: <154409113299.3479.15867089668746650774.idtracker@ietfa.amsl.com>
user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2
x-clientproxiedby: AM6P192CA0055.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::32) To DB7PR07MB4935.eurprd07.prod.outlook.com (2603:10a6:10:5b::20)
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB7PR07MB5016; 6:dohfTgu25k3Hj3IabWOYiTDo3NgIj+u9YfI825IfK2wnnzoNCNjT/nmAxwCr9ZZk1UnN5S/Xocvgfm9dIP/6SZ/JpxKllRHiYmL4AvCwe+dF6uZkCLtdnir4eWj6kmfv2zZONq+OhS1wGFbG6riy5fQziw1AsrEMXU1Mvccc+yK1LVPaVoBuuVFSXi65FCzF+0Y4t7+eJkhzFMdYgu/GAdgpGW8DLCNr6YBfYKlY5WJCoZKwzKNVYr5Hp498Xvv4ZJzc4fS3lX4st4ld9BBPG1E8jWWTNreBfO0Fq4zIkZGhN1CgMiDqLdCs7yy9qLHl/aFgJ9iTc63bkIO+YUMl98WLNCpe9GX/czHx81HeiUGWqhCr9o3wJEx6FHhE0SHcInknF6Y0E6v/BCKtSmvAFh7p02kGUQJOmL71Z5EbSLySpaSifdexbO1UuD2z8fCQc58J4xE88uT5d8527R4osQ==; 5:iAwRyxx44EgiGzEVtxBcK1TefzDK3lzOCu6SFSHK4sZll/VVHj1Zvi8Nssz1od/wh9UNjiakohzY42lk9d9hB1ZTfjfo3bRgHFDJ9cpGcbAd24fG09Oi9ALEJR7+ReRQMtrQw1JGdMDCz/kOZANgLyLiVFQ1XZ842I95JS8aY8U=; 7:VLogtABO8LhhMGqumkoEJQ86EJFozUaEb5GEaHTSoLij6MtDYHM/jMXY/c2NTeNImVxwTA2vnyfoK5d+AZgRyHTK5msK1ycUfD/GjvE9qTBMa4fSLupd0bkezdPqlXVNqV2tCDxeAV7ymS8HTPgnwA==
x-ms-office365-filtering-correlation-id: c1d5be58-8b64-4043-fc06-08d65b63bf04
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(49563074)(7193020); SRVR:DB7PR07MB5016;
x-ms-traffictypediagnostic: DB7PR07MB5016:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-microsoft-antispam-prvs: <DB7PR07MB5016B481677276A30AF35840F0A90@DB7PR07MB5016.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(102415395)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231455)(999002)(944501520)(4983020)(52105112)(148016)(149066)(150057)(6041310)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699051)(76991095); SRVR:DB7PR07MB5016; BCL:0; PCL:0; RULEID:; SRVR:DB7PR07MB5016;
x-forefront-prvs: 087894CD3C
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(396003)(136003)(376002)(346002)(252514010)(199004)(189003)(5640700003)(68736007)(3846002)(6116002)(65826007)(8676002)(31686004)(25786009)(1730700003)(99936001)(81166006)(81156014)(97736004)(7736002)(478600001)(606006)(105586002)(966005)(53936002)(2473003)(5660300001)(6512007)(85182001)(6306002)(54896002)(14444005)(236005)(15650500001)(106356001)(85202003)(6436002)(256004)(229853002)(6486002)(8936002)(52116002)(76176011)(99286004)(26005)(316002)(6506007)(386003)(186003)(14454004)(102836004)(58126008)(66066001)(65956001)(65806001)(86362001)(2501003)(36756003)(66574009)(6916009)(2906002)(2351001)(2616005)(31696002)(486006)(476003)(446003)(71200400001)(11346002)(71190400001)(64126003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR07MB5016; H:DB7PR07MB4935.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: qvSBC85tU9xJcBuv48FAqVCdSBIe55/kYaqF+gsbQv5ufCllD5jBfZneIukJ8ZC61Hr2NpWJNmF+qpmg4H79Il5iFCpkF5En1lLR3IhXvLvb4zIQjVD5ZjKSpb1IONG8vOa185WM5viZjuTuw3KVM47sYZ433WmW018MOWOZ7sFpHZrW0UetUXiOjBKRSIAgp7DTx80YxJar29nGDkyjaZq3d+SK7DatymEVCO8Dta6D6ajyiuYvJ9fMj0TpZs1BshYW84wD1fsgYtLc4YRYEOWikpbXWMKBRe9EqUtpaWSpGDH30VpeAnBiHygBYXDxHU48t2rjVakdMGKCKHDHslHvMT2+zFZKXWNjRq6xra8=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="------------ms050703020803090505060500"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: c1d5be58-8b64-4043-fc06-08d65b63bf04
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2018 10:15:30.2321 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB5016
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA2WSfSxVcRjH/c459zhu7vy63p6pxJ20FHnJZpXIsFrTmq15mXDHCYtL92C0 Voom1NDYUO16m1VMWEli7XqNaGghbeZik26zVOSt1j333Fpb/32e7/Pd93me7WFI6bDIhklQ pLJKhTxRRoup8tBnqc59q0yE68P2bV6q0WsiX3SitnadOIPCxUdj2cSEdFZ58Fi0OL50eI5M 6Y/KaJ1soLPQUHA+MmEAHwJN9yydj8SMFPcgGP5WSQrFCoK3OeXob1GU3UUJRQ0BNQOF+g6F i0jIK6wwBJQQcF89ZiwUGgSDg08pfgyN/SF36SXBswXeC+XPH9M8m+MoePNeq9MZnR4FVa2+ gsUdljRaipcp7ACDtXt4WYJ9oCVHQ/KyFAdB/uhuXjbBp6G5vVIfiLAV/Bhs0A8isTVMzasI 4U4L0Iy+pgW2hMW5XyKBZVD2aUrERwIOgxf10bxsic9BztCM/kTApQgmJ7+Tgv8ADE/MI4F3 wZiqwGAap+Fu6ZqhEQSVCxsGnkLQ22cY5gT9nR0iYdFI6Ji+SRch94p/dhU4D8H0xysV+pO3 w0D5PFWh24/EjlB3Q/a/fT/UVWlJgY9A2YaaFtgeSgo0xgJ7grZ3GQnsAXWNP+lKJH6ELDmW 45Li3N1dWGVCDMclK1wUbGoL0j2W+snm4TakXjjehTCDZKYS0DARUpE8nctM6kIOupzZpvoR ZEMpkhWszEJi5KJrS2LlmZdYZXKUMi2R5brQDoaSWUv8znuFS3GcPJW9wLIprPJPl2BMbLJQ sMdJuy8rAc3Zi+NGnuSkVYZ/82iwvbNf8SZ3W93gc9F7rWFikTRzbXdcz+veakoz4bRXjS4T /SEhdrZnH4wsrEdmvDPP6bEN2TmTcMdudSnGbKt3uS1XGnDPlPXe5zunrf5q1dnaSLyqtgy7 nrh4SlU8FhjaXsfF3qoiPrt9CJRRXLzczYlUcvLfKRAo3GADAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/QRRfptUvSxGnglRfP4wdWtuC9YQ>
Subject: [netmod] Fwd: New Version Notification for draft-ietf-netmod-yang-instance-file-format-01.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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, 06 Dec 2018 10:15:44 -0000

Hello,

We uploaded a new version of the instance data draft. We tried to address all comments and also to rework the format chapter to make it easier to read. We omitted 2 comments:

Rob commented that YANG packages could be used for defining the target modules for instance data: I would like to avoid that because:

  • Packages are not defined for YANG. Currently they are not part of the versioning solution even though they were discussed and are generally a good idea.
  • IMHO as deviations/features are set on module level, just specifying packages would not be enough. If we start using package+module level deviations/features we may end up with a more complicated hybrid solution.
  • Module level YANG target definitions as described in the draft are simple and need no new design

Jürgen stated that it would be better to use the YANG XML/JSON encoding as a format instead of referencing the get operation/request. I might even agree with him, but for 2 reasons I did not follow his idea:

  • Currently there is no RFC I could reference either for XML or JSON. AFAIK even RFC7951 does not define how multiple modules should be encoded side by side.
  • It is not the job of the instance data draft to dictate how to encode YANG data generally e.g. on the wire.
  • The contents of the get operation/request are well defined

regards Balazs



-------- Forwarded Message --------
Subject: New Version Notification for draft-ietf-netmod-yang-instance-file-format-01.txt
Date: Thu, 6 Dec 2018 02:12:12 -0800
From: internet-drafts@ietf.org
To: Benoit Claise <bclaise@cisco.com>, Balazs Lengyel <balazs.lengyel@ericsson.com>



A new version of I-D, draft-ietf-netmod-yang-instance-file-format-01.txt
has been successfully submitted by Balazs Lengyel and posted to the
IETF repository.

Name: draft-ietf-netmod-yang-instance-file-format
Revision: 01
Title: YANG Instance Data File Format
Document date: 2018-12-06
Group: netmod
Pages: 21
URL: https://www.ietf.org/internet-drafts/draft-ietf-netmod-yang-instance-file-format-01.txt" rel="nofollow">https://www.ietf.org/internet-drafts/draft-ietf-netmod-yang-instance-file-format-01.txt
Status: https://datatracker.ietf.org/doc/draft-ietf-netmod-yang-instance-file-format/" rel="nofollow">https://datatracker.ietf.org/doc/draft-ietf-netmod-yang-instance-file-format/
Htmlized: https://tools.ietf.org/html/draft-ietf-netmod-yang-instance-file-format-01" rel="nofollow">https://tools.ietf.org/html/draft-ietf-netmod-yang-instance-file-format-01
Htmlized: https://datatracker.ietf.org/doc/html/draft-ietf-netmod-yang-instance-file-format" rel="nofollow">https://datatracker.ietf.org/doc/html/draft-ietf-netmod-yang-instance-file-format
Diff: https://www.ietf.org/rfcdiff?url2=draft-ietf-netmod-yang-instance-file-format-01" rel="nofollow">https://www.ietf.org/rfcdiff?url2=draft-ietf-netmod-yang-instance-file-format-01

Abstract:
There is a need to document data defined in YANG models when a live
YANG server is not available. Data is often needed already in design
time or needed by groups that do not have a live running YANG server
available. This document specifies a standard file format for YANG
instance data, which follows the syntax and semantic from existing
YANG models, re-using existing formats from <get> operation/request
and decorates them with metadata.



Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

The IETF Secretariat

-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
Senior Specialist
Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com