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

Martin Bjorklund <mbj@tail-f.com> Thu, 04 October 2018 13:44 UTC

Return-Path: <mbj@tail-f.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 4B882130E4B for <netmod@ietfa.amsl.com>; Thu, 4 Oct 2018 06:44:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 fQ7qMmGmy40F for <netmod@ietfa.amsl.com>; Thu, 4 Oct 2018 06:44:52 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id C78E9130E03 for <netmod@ietf.org>; Thu, 4 Oct 2018 06:44:51 -0700 (PDT)
Received: from localhost (unknown [173.38.220.61]) by mail.tail-f.com (Postfix) with ESMTPSA id 09B2E1AE0442; Thu, 4 Oct 2018 15:44:48 +0200 (CEST)
Date: Thu, 04 Oct 2018 15:44:48 +0200
Message-Id: <20181004.154448.1934765954209842070.mbj@tail-f.com>
To: rwilton@cisco.com
Cc: lhotka@nic.cz, netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <ccc83277-cfa7-f363-1beb-78e801f8b675@cisco.com>
References: <69afa537-9a5f-6fb6-de21-2add0ffec4b2@cisco.com> <0aa239221e80e812f920db6ae023eabc6b3ef5ed.camel@nic.cz> <ccc83277-cfa7-f363-1beb-78e801f8b675@cisco.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/4UC831-_xuWZDzyl_r_G2mxWXJ0>
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 13:44:54 -0000

Robert Wilton <rwilton@cisco.com> 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://tools.ietf.org/html/draft-clemm-netmod-nmda-diff-00
> >>>> [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.

I agree, this is why I prefer this format for general diffs.


/martin

> 
> 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://www.ietf.org/mailman/listinfo/netmod
> >>> .
> >>>
> >> _______________________________________________
> >> netmod mailing list
> >> netmod@ietf.org
> >> https://www.ietf.org/mailman/listinfo/netmod
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod