Re: [netmod] WG adoption poll for draft-clemm-netmod-nmda-diff-00
Andy Bierman <andy@yumaworks.com> Thu, 04 October 2018 19:27 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 CB1EF128CF3 for <netmod@ietfa.amsl.com>; Thu, 4 Oct 2018 12:27:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.808
X-Spam-Level:
X-Spam-Status: No, score=-1.808 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, HTML_OBFUSCATE_10_20=0.093, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no 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 VJ5h_fzba7uE for <netmod@ietfa.amsl.com>; Thu, 4 Oct 2018 12:27:28 -0700 (PDT)
Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 189761277BB for <netmod@ietf.org>; Thu, 4 Oct 2018 12:27:28 -0700 (PDT)
Received: by mail-lj1-x22b.google.com with SMTP id u21-v6so9425995lja.8 for <netmod@ietf.org>; Thu, 04 Oct 2018 12:27:27 -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; bh=rvx/fvV8RLPlSVUnjW3R9dYNSL1FrqnN6q/8o2MLE7I=; b=rVcDZMSjVJnhPl85vYrS2WzOJzbL9UYrr9BpBjY8v1AUOrjD5Vs1C5vp0snLUVt9fk 4Z20i1PODYZTrdjJwlTuCeXrDK1f7px+efngdBFYyPU6qmgD6IGi23/tE/qRe4HNEaJf 2kO/+S+S9ankdByxzURw2BUBpplmFs8+ZjSqUHj1VzfrdGf2AZGS/l8HnVkR7TzS2Ix3 7A9SAC3mhNeatjQQ92qsSp9/IhN7hO2ZGswLU+WSsCTyiAk5dflwnjDV6SStT2Yvtyyj Gy3HcN51isqz9zW4rQGD9mrprV/FDJluWsD9xf4QpvQ0Uw0NZAJwiVh/+Pr+L4XHDg46 a/eA==
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; bh=rvx/fvV8RLPlSVUnjW3R9dYNSL1FrqnN6q/8o2MLE7I=; b=VcW1SZTIc1taCDm2bPzb/URZAcNmdYijm9lENpos/xWoArt8VuO6HCcmPfNT2pAb8K /IxjGIwtlYADiIHp0R3eLn+306Yv1gaue3ct7A7hfHEm28MYvC5hfkTpr5pahtfF2izZ NRyRxOCIdfEVI8LuMSnJU4T33hB66LO+aC1d2xbJHb46m8IKN3npwRFAOdUamg+M9KtA bzNKsBci8N7cd+/wiCCrGTmsTuPKv6AXK+NrDQ2fFMGC33Da0TVCKoQLcDqvnL4iwONc P4chLtEBzQ86LGq/ds2akA1YpiqiK8j7tJNuHnBzQuanrwZZ2nflIKZXAxx7cnQLLyYt dwag==
X-Gm-Message-State: ABuFfoiRWZReHbh82Zl435fUGG5eSb/nsCS5Vain4ju0dHGBJIXDzvEa 0kpJrH9Pn8/ZEEQLO6zBkO6mIZ7MDB/ZrB78cbLw1rWQ
X-Google-Smtp-Source: ACcGV61SCF0WT9pG1vCfJ6UyKlK90PA+rkbDpBTljX5W2bRw6jJoGRKfOXYzR0bZBamJv2gFUc4LIudQoCORuIBUGRM=
X-Received: by 2002:a2e:810e:: with SMTP id d14-v6mr5067147ljg.170.1538681246048; Thu, 04 Oct 2018 12:27:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:f811:0:0:0:0:0 with HTTP; Thu, 4 Oct 2018 12:27:25 -0700 (PDT)
In-Reply-To: <20181004190754.fsu5ck5jblw5uuah@anna.jacobs.jacobs-university.de>
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> <7E46B2E3-3F12-4E08-8172-823E73E25D50@juniper.net> <20181004190754.fsu5ck5jblw5uuah@anna.jacobs.jacobs-university.de>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 04 Oct 2018 12:27:25 -0700
Message-ID: <CABCOCHTu5ju8Qv548g+mDNioBAAuxRywZknoNO9mbUOY3MaoGw@mail.gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Kent Watsen <kwatsen@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000017f77005776c25f4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/d8usNuvHq-SPNsaAiGoHlnlEJIY>
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 19:27:32 -0000
On Thu, Oct 4, 2018 at 12:07 PM, Juergen Schoenwaelder < j.schoenwaelder@jacobs-university.de> wrote: > Folks, the more formats there are, the less interoperability we > get. If there are multiple formats, is there a mandatory to implement > format? Does the mandatory to implement format depend on the protocol > that is being used? > > I prefer one format or if necessary I am fine with one mandatory to > implement format. An open ended collection of implementation specific > formats is super flexible but defeats the purpose of a standard, > namely interoperability. > > I agree there needs to be 1 mandatory-to-implement format. IMO this needs to be YANG Patch because it is more precise then constructing an XML tree with operation attributes in it (e.g., how else do you represent a delete or a move?) Also, YANG Push is using YANG Patch format and common code for push and diff would be possible. I think other formats should be allowed. This is very tool-specific. I could see how somebody might want a textual patch of the XML representation to produce the new XML representation. > /js > Andy > > On Thu, Oct 04, 2018 at 05:41:22PM +0000, Kent Watsen wrote: > > 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-0 > 0 > > > > 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.i > etf.org_html_draft-2Dclemm-2Dnetmod-2Dnmda-2Ddiff-2D00&d=DwI > CAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJ > UvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=7s6VdzzH9Ol3BOCbVLBarB > rQ5fD0vTt8k_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.iet > f.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh > 0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTv > jISlaJdcZo&m=7s6VdzzH9Ol3BOCbVLBarBrQ5fD0vTt8k_I2KDEN97c&s= > RVJcg5pzHW-zi1OboCL4SX2huW9euHiVRSCor9n_APQ&e= > > > > > > . > > > > > > > > > > > _______________________________________________ > > > > > netmod mailing list > > > > > netmod@ietf.org > > > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.iet > f.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh > 0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTv > jISlaJdcZo&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.iet > f.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh > 0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTv > jISlaJdcZo&m=7s6VdzzH9Ol3BOCbVLBarBrQ5fD0vTt8k_I2KDEN97c&s= > RVJcg5pzHW-zi1OboCL4SX2huW9euHiVRSCor9n_APQ&e= > > > > _______________________________________________ > > 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 <https://www.jacobs-university.de/> > > _______________________________________________ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod >
- [netmod] WG adoption poll for draft-clemm-netmod-… Kent Watsen
- Re: [netmod] WG adoption poll for draft-clemm-net… Jeff Tantsura
- Re: [netmod] WG adoption poll for draft-clemm-net… Alexander Clemm
- Re: [netmod] WG adoption poll for draft-clemm-net… Ladislav Lhotka
- Re: [netmod] WG adoption poll for draft-clemm-net… Qin Wu
- Re: [netmod] WG adoption poll for draft-clemm-net… Reshad Rahman (rrahman)
- Re: [netmod] WG adoption poll for draft-clemm-net… Kent Watsen
- Re: [netmod] WG adoption poll for draft-clemm-net… Robert Wilton
- Re: [netmod] WG adoption poll for draft-clemm-net… Acee Lindem (acee)
- Re: [netmod] WG adoption poll for draft-clemm-net… Martin Bjorklund
- Re: [netmod] WG adoption poll for draft-clemm-net… Yingzhen Qu
- Re: [netmod] WG adoption poll for draft-clemm-net… Reshad Rahman (rrahman)
- Re: [netmod] WG adoption poll for draft-clemm-net… Susan Hares
- Re: [netmod] WG adoption poll for draft-clemm-net… Kent Watsen
- Re: [netmod] WG adoption poll for draft-clemm-net… Balázs Lengyel
- Re: [netmod] WG adoption poll for draft-clemm-net… Phil Shafer
- Re: [netmod] WG adoption poll for draft-clemm-net… Martin Bjorklund
- Re: [netmod] WG adoption poll for draft-clemm-net… Robert Wilton
- Re: [netmod] WG adoption poll for draft-clemm-net… Ladislav Lhotka
- Re: [netmod] WG adoption poll for draft-clemm-net… Robert Wilton
- Re: [netmod] WG adoption poll for draft-clemm-net… Martin Bjorklund
- Re: [netmod] WG adoption poll for draft-clemm-net… Andy Bierman
- Re: [netmod] WG adoption poll for draft-clemm-net… Ladislav Lhotka
- Re: [netmod] WG adoption poll for draft-clemm-net… Kent Watsen
- Re: [netmod] WG adoption poll for draft-clemm-net… Juergen Schoenwaelder
- Re: [netmod] WG adoption poll for draft-clemm-net… Andy Bierman
- Re: [netmod] WG adoption poll for draft-clemm-net… Kent Watsen
- Re: [netmod] WG adoption poll for draft-clemm-net… Juergen Schoenwaelder
- Re: [netmod] WG adoption poll for draft-clemm-net… Reshad Rahman (rrahman)
- Re: [netmod] WG adoption poll for draft-clemm-net… Andy Bierman
- Re: [netmod] WG adoption poll for draft-clemm-net… Ladislav Lhotka
- Re: [netmod] WG adoption poll for draft-clemm-net… Ladislav Lhotka
- Re: [netmod] WG adoption poll for draft-clemm-net… Ladislav Lhotka
- Re: [netmod] WG adoption poll for draft-clemm-net… Alexander Clemm
- Re: [netmod] WG adoption poll for draft-clemm-net… Xufeng Liu
- Re: [netmod] WG adoption poll for draft-clemm-net… Tianran Zhou
- Re: [netmod] WG adoption poll for draft-clemm-net… Susan Hares
- Re: [netmod] WG adoption poll for draft-clemm-net… Kent Watsen
- Re: [netmod] WG adoption poll for draft-clemm-net… Alexander Clemm
- Re: [netmod] WG adoption poll for draft-clemm-net… Kent Watsen
- Re: [netmod] WG adoption poll for draft-clemm-net… Andy Bierman
- Re: [netmod] WG adoption poll for draft-clemm-net… Kent Watsen
- Re: [netmod] WG adoption poll for draft-clemm-net… Kent Watsen
- Re: [netmod] WG adoption poll for draft-clemm-net… Alexander Clemm