Re: [netmod] WG adoption poll for draft-clemm-netmod-nmda-diff-00

Kent Watsen <kwatsen@juniper.net> Thu, 04 October 2018 17:41 UTC

Return-Path: <kwatsen@juniper.net>
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 B76EC130D7A for <netmod@ietfa.amsl.com>; Thu, 4 Oct 2018 10:41:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.157
X-Spam-Level:
X-Spam-Status: No, score=-3.157 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.456, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 1NWFBW2aYMCo for <netmod@ietfa.amsl.com>; Thu, 4 Oct 2018 10:41:27 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 EC5A712F1A2 for <netmod@ietf.org>; Thu, 4 Oct 2018 10:41:26 -0700 (PDT)
Received: from pps.filterd (m0108163.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w94HYI7X017074; Thu, 4 Oct 2018 10:41:25 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=Bk7bwmynBcL0cip2UO2eRnVLP++QTRvi1KLblS0j6Zg=; b=pk1FmhnjT6LTaSGJv6HHJaCmFwZwmx5ARXtbKwNrfbBiavZcOqy8Ap2Wxqd6uO8QIgau v4Z2iIuzn12PtEiEysPvwMC8xyeEOyTbliJp0eDncGXxMJd1eU/UIWvkKhw3KAp4bSlp JJwbYpkfDudSz8m1RWfNzcBnt5viEFphPibMs2BqjCb3zbx9zWkK3qdkygKdC9eJefYT 3yrz2/bIBK0OV3ueYyDQ9nfE4ggOVxVX1MsKsJiU2EEBzm4E89G55Y2rc1hXO+Plg+0/ djzxur/bjj1hJDKBmGCilcNGovaot6xG9YHZLlTwlo9Es3mQIoiTVUD4W1LPOSovgG9H Eg==
Received: from nam04-co1-obe.outbound.protection.outlook.com (mail-co1nam04lp0056.outbound.protection.outlook.com [216.32.181.56]) by mx0b-00273201.pphosted.com with ESMTP id 2mwnhwr6x7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 04 Oct 2018 10:41:24 -0700
Received: from DM6PR05MB4665.namprd05.prod.outlook.com (20.176.109.202) by DM6PR05MB4411.namprd05.prod.outlook.com (20.176.78.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.11; Thu, 4 Oct 2018 17:41:22 +0000
Received: from DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::8574:3388:660d:e495]) by DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::8574:3388:660d:e495%5]) with mapi id 15.20.1207.022; Thu, 4 Oct 2018 17:41:23 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Ladislav Lhotka <lhotka@nic.cz>, Robert Wilton <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] WG adoption poll for draft-clemm-netmod-nmda-diff-00
Thread-Index: AQHUWyPz6FAZXxCAuEeMxCal0HeWUaUO37yAgAAnp4CAAARbAIAABz8AgABBFoD//8WNgA==
Date: Thu, 04 Oct 2018 17:41:22 +0000
Message-ID: <7E46B2E3-3F12-4E08-8172-823E73E25D50@juniper.net>
References: <201810031419.w93EJNpn040188@idle.juniper.net> <20181004.121417.2190375850946168105.mbj@tail-f.com> <69afa537-9a5f-6fb6-de21-2add0ffec4b2@cisco.com> <0aa239221e80e812f920db6ae023eabc6b3ef5ed.camel@nic.cz> <ccc83277-cfa7-f363-1beb-78e801f8b675@cisco.com> <27c125fa83754c5f6723e04243f1efdaf4be8e82.camel@nic.cz>
In-Reply-To: <27c125fa83754c5f6723e04243f1efdaf4be8e82.camel@nic.cz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.10.2.180910
x-originating-ip: [66.129.241.10]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM6PR05MB4411; 6:9hAaHqMV7pZ45CA5elGCdRQdJWI2mvbiDKf+lbvjqzLGw/ueJbqNRg29H01KWeluw5Stn6JUTqFdZ0kC+/BwamFIIIBCiJLsVQqb0muzlDSikOQ95fAAV2BKD9PNF5UJBdvPDDRzA5MbXuQg3wKcv5oxc7pPXbx+bd7t0az94qzx1bTTXhASqW60Me4r8agU08WnRlCYk3uQsZgKEwoIAdMAjfHtGRvpIWkwnGeahptyV3OH5ntVJ3kSeQHTniSKKkn+dQuUXgQxCCBbc2mxDHNKvqMfffF8vwc3fi9PatJuzgFtdzoas14Xqd6U2+mRqRoepYC4tPXFMo5q3Bimmd15zJB63NKo2k4zyILWdwHaWLqNpgjNDI0vrKty/x1pwxsb63EPLDK8YyuuW1uWvyMfXg2Sy/7DkCs+dNbMwRU3dtViduCxBmD6cGI5uePxwne72T11mITnGhJjPgGgoA==; 5:n4G5IVV6Y+FB+PpleMJv9qOqd5/PCYptY739HyLL0yaU00YHuVdKRKwsvAABescpsDtZC5SVs8PxEIbkOHKBY8/obuZJuJihQjjUB7RkHhsCcaAuC9r3vtWA0vT7J0q8B4UWgomodfjoag8Z46yyj0KlguZfmUPLHaTSbsbK3TI=; 7:3j+CgdJiSh9R458+mjVpeGyuHMD7pWE0aVGaK9aFqfklR5h2ORAgkVdFOCy7rU+TTrKmxwEHOVjv7mt4ljSS/vOCnucbULN3g6x+AZbWy6Ztrl8ZCHFyOa0SxWNlCVX1LKzps2bZKAxmuRQNru3NpDpWjB7Xp0n8oN1BaPzt9e+Vv6Kd+BBxWd7YcCdUH1291FDvVnRQuKUqfrw8KFqq5U+SNu+9mbkVZK+e4Yha5Jcjlt7QnWclC5mkwedeaSwD
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 284ec2e2-8759-4dc7-3c60-08d62a209a00
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DM6PR05MB4411;
x-ms-traffictypediagnostic: DM6PR05MB4411:
x-microsoft-antispam-prvs: <DM6PR05MB4411A7BE896C60BFEC4C8EBCA5EA0@DM6PR05MB4411.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(10436049006162)(95692535739014)(138986009662008);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3231355)(944501410)(52105095)(3002001)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:DM6PR05MB4411; BCL:0; PCL:0; RULEID:; SRVR:DM6PR05MB4411;
x-forefront-prvs: 0815F8251E
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(136003)(396003)(39860400002)(346002)(366004)(13464003)(51444003)(189003)(199004)(6512007)(6306002)(106356001)(110136005)(8676002)(8936002)(6246003)(256004)(66066001)(105586002)(36756003)(99286004)(229853002)(5250100002)(68736007)(53936002)(58126008)(97736004)(966005)(2900100001)(81166006)(3846002)(81156014)(6116002)(316002)(76176011)(53546011)(575784001)(2501003)(476003)(5660300001)(486006)(186003)(102836004)(478600001)(82746002)(114624004)(6506007)(71190400001)(25786009)(7736002)(6486002)(2906002)(14454004)(446003)(86362001)(26005)(83716004)(71200400001)(305945005)(2616005)(6436002)(93886005)(11346002)(33656002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB4411; H:DM6PR05MB4665.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: Wrf3dsadTw00MEIS7e+9K9mkjxyqDC0BUxF7XGatxhHG9QJGuHCuYCw4Oi6GvR8SzKNYhsGBd9IdtwnC3RoZ6Dsye6KHFy+xhsyx4cWsDx7wfs8GsHRx6EZUtEP/zFdtosSA0RWBHK+GRaVRDmpMEfEA1PtetnA+ywjgbKMlSn8j1E7SvHgqwK//oiUgbbf47DIsdsiSuL3YvPiFTy9XnLMaaeGf0XxS5Z6WTVguWwhb16prBwXGJ7lcpscFCaIR/pdG3TRJrQuifFRE5PR5PIOa0+ZtHjnLt4gKvXF5FGNYxKCB3848xSvmi2vVvmP1uFj8lAE+1qGH7FPhGdNUmNfo6ieiU27GEZriq2jWK6Q=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <2A109B3CEDAD0B499AC425A500D2F017@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 284ec2e2-8759-4dc7-3c60-08d62a209a00
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2018 17:41:22.9279 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4411
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-10-04_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810040162
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/RW9kPM2s1EvQY1V-ucizVKh1WDc>
Subject: Re: [netmod] WG adoption poll for draft-clemm-netmod-nmda-diff-00
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, 04 Oct 2018 17:41:30 -0000

We agree that the diff-format should be client-selectable, modulo what the server supports.  yang-patch and edit-config both are viable.  Should we document them both?

That said, since neither edit-config nor yang-patch are diffing formats, so much as formats for converting one data tree to another, would it make sense to define an actual diffing format?  I would think that a diff would provide both values, not just a new value.

Kent // contributor


-----Original Message-----
From: netmod <netmod-bounces@ietf.org> on behalf of Ladislav Lhotka <lhotka@nic.cz>
Organization: CZ.NIC
Date: Thursday, October 4, 2018 at 1:11 PM
To: Robert Wilton <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] WG adoption poll for draft-clemm-netmod-nmda-diff-00

On Thu, 2018-10-04 at 14:17 +0100, Robert Wilton wrote:
> 
> On 04/10/2018 13:51, Ladislav Lhotka wrote:
> > On Thu, 2018-10-04 at 13:36 +0100, Robert Wilton wrote:
> > > On 04/10/2018 11:14, Martin Bjorklund wrote:
> > > > Phil Shafer <phil@juniper.net> wrote:
> > > > > Bal?zs Lengyel writes:
> > > > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_html_draft-2Dclemm-2Dnetmod-2Dnmda-2Ddiff-2D00&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=7s6VdzzH9Ol3BOCbVLBarBrQ5fD0vTt8k_I2KDEN97c&s=gQWJtjc_2EF3QgRvABgZKsjqzuIw9yUq_xee6aFJOcw&e=
> > > > > [I've moved to a "deep lurker" role here, but ...]
> > > > > 
> > > > > Can we ensure this model contains a "format" leaf in the RPC's input
> > > > > so that future (and proprietary) formats can be supported?   That
> > > > > leaf can be an identityref that defaults to yang-patch.
> > > > I think this is a good idea.  I would prefer the edit-config format
> > > > over YANG patch for describing a diff.  The edit-config format is more
> > > > suited for this purpose imo.
> > > +1
> > > 
> > > I would like something closer to edit-config to be available via
> > > RESTCONF as well.
> > YANG Patch is IMO better because it clearly separates the target for the
> > edits
> > from the new content.
> > In edit-config these two are mixed together.
> Yes, that is primarily why I prefer the edit-config.  I perceive that it 
> is a denser and more efficient format.  I think that it is both easier 
> to construct (when diffing two trees) and also more efficient to apply 
> when generating an updated tree.

Except for certain corner cases, for example if two trees differ only in the
value of a single leaf but this leaf happens to be a list key.

Lada

> 
> Thanks,
> Rob
> 
> 
> > That being said, I support specifying format/media-type and having
> > potentially
> > multiple options.
> > 
> > Lada
> > 
> > > Thanks,
> > > Rob
> > > 
> > > 
> > > > /martin
> > > > 
> > > > _______________________________________________
> > > > netmod mailing list
> > > > netmod@ietf.org
> > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=7s6VdzzH9Ol3BOCbVLBarBrQ5fD0vTt8k_I2KDEN97c&s=RVJcg5pzHW-zi1OboCL4SX2huW9euHiVRSCor9n_APQ&e=
> > > > .
> > > > 
> > > _______________________________________________
> > > netmod mailing list
> > > netmod@ietf.org
> > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=7s6VdzzH9Ol3BOCbVLBarBrQ5fD0vTt8k_I2KDEN97c&s=RVJcg5pzHW-zi1OboCL4SX2huW9euHiVRSCor9n_APQ&e=
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67

_______________________________________________
netmod mailing list
netmod@ietf.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=7s6VdzzH9Ol3BOCbVLBarBrQ5fD0vTt8k_I2KDEN97c&s=RVJcg5pzHW-zi1OboCL4SX2huW9euHiVRSCor9n_APQ&e=