Re: [Netconf] netconf-binary-encoding comments

Andy Bierman <andy@yumaworks.com> Fri, 06 July 2018 23:37 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 88982131072 for <netconf@ietfa.amsl.com>; Fri, 6 Jul 2018 16:37:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=ham 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 P6gKlqQPEVXh for <netconf@ietfa.amsl.com>; Fri, 6 Jul 2018 16:37:37 -0700 (PDT)
Received: from mail-lf0-x233.google.com (mail-lf0-x233.google.com [IPv6:2a00:1450:4010:c07::233]) (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 0DD14130DD5 for <netconf@ietf.org>; Fri, 6 Jul 2018 16:37:37 -0700 (PDT)
Received: by mail-lf0-x233.google.com with SMTP id a4-v6so11009390lff.5 for <netconf@ietf.org>; Fri, 06 Jul 2018 16:37:36 -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 :cc; bh=lFhSgdxUvEGXLLiJHoBT44GaldB5nEAi++gHHAJL9gw=; b=U2oB5a2ZTO9eEGXgpwkvZU26e0IKifrZEn24YA78d/Sygl1/mRv8IB59OiKzDIqN/i NxFc366kFyrT4GRvCp+KjKmgyTOutwpi5Sb6XLCkpddUCIgfEdziY5wquuAchu+GR1j6 PQCZy+OztT0+tqZEyUVBfzyzofved5pLrMkMx3AG2MSCh5WqNLjn21v3nHyxsEXzHAQl dJDGafIIKsskiin2+BW3/P3SYz8xqILAAmDCP1MAZEMXMwg/hrHaXzB5WsmqFMWqT8UT 1Z1MZsWltYkS7JFkiJsIa6CkPS62hvUaayWlfieAAAJJBY/2PbdyAhAkXWa0QJ/Q/Y6w VWDQ==
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:cc; bh=lFhSgdxUvEGXLLiJHoBT44GaldB5nEAi++gHHAJL9gw=; b=iqFZO8rdjGILmm0pIM7Du7fFqpOWii5gTWKNr6B5+7F+xN+FwJIbyaMWT08uvmagrk f9Og59bGJmYVgoE4PBhsNLQTw0wag6z6EpsM25mMgZUfESdeTHdS5lNeIIJ2mxuR3Ry0 Aa8o4/rQ4kfLw88SnloDQyqJfrEvET63tvTnNHyu26DyjGCidSt8U+uhggAnKOlLclJ6 t41Px+rMaOR7nAEaoMiVkTxTnNm4Jia56t4Qy+19u5FhJIef1E3avRev9TKyTf4y9zti V849v/9iCLKjeLqOq5iksNC8BbilLfmdIbEtb9DClDzQvFfHeGC9hzy67M8hmeq/LNl2 1B8A==
X-Gm-Message-State: APt69E2OKCT9ZYLbdskvoRB5iLUgjSPLlZGXk0upJ+hPY4ENWXoipMGS x6RSSpcBlsgVBSBc66kyJGxmdcgf0U7XpjzV44FcIg==
X-Google-Smtp-Source: AAOMgpfAwlRTu4Dm0q3YXxLLGy37vrjaG0t7eDaj7axR8noNqUnuPDju0r0dcm7BYW/r4u4BFp6Aj0pwsMjMJTPrgTw=
X-Received: by 2002:a19:b598:: with SMTP id g24-v6mr8891109lfk.129.1530920255279; Fri, 06 Jul 2018 16:37:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:aa46:0:0:0:0:0 with HTTP; Fri, 6 Jul 2018 16:37:34 -0700 (PDT)
In-Reply-To: <70874365-9182-413D-8FD5-927941DA7E08@juniper.net>
References: <14395e68-eb71-7766-d4d2-4de0ea67681f@ericsson.com> <CABCOCHRJM5vTgTXcNircjcn6DCqK5fzW3E2rjMM6sb3A3Edz_g@mail.gmail.com> <79d3af9b-dd0c-833b-491f-a25a54a38559@cisco.com> <CABCOCHQfwND7uezS_ykQ4G-v_JPNqTx0Pw3hJVqTVB83XqJgzw@mail.gmail.com> <d6109edb-d54d-2e58-d830-6410f1a22013@cisco.com> <20180706172308.5ro5cjv3x7ujopsx@anna.jacobs.jacobs-university.de> <CABCOCHTj0FTzC6_96dgo8MYnPowWSqF5HRy-eU3nPvRzVLVS5w@mail.gmail.com> <70874365-9182-413D-8FD5-927941DA7E08@juniper.net>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 06 Jul 2018 16:37:34 -0700
Message-ID: <CABCOCHS=YEP_7EC8kxU=72f-swd8wP_ixV4rfk2CG1KGtfL6jQ@mail.gmail.com>
To: Kent Watsen <kwatsen@juniper.net>
Cc: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>, "netconf@ietf.org" <netconf@ietf.org>, "draft-ietf-netconf-nmda-restconf@ietf.org" <draft-ietf-netconf-nmda-restconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000feedb105705d25a9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/o7UgKDv_E-VrLhxGUlBhNak-KmY>
Subject: Re: [Netconf] netconf-binary-encoding comments
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2018 23:37:40 -0000

On Fri, Jul 6, 2018 at 1:39 PM, Kent Watsen <kwatsen@juniper.net> wrote:

>
>
> > Working on binary (gNMI).
>
> > Very interested in CBOR+SID as a better solution.
>
> > The NETCONF WG is done wrt/ RESTCONF.
>
>
>
> Collections are still pending and, if RESTCONF is ever to supersede
> NETCONF, there would need to be something like a commit-confirmed, or
> perhaps this is already taken care of via /restconf/operations/ietf-
> netconf:commit?
>
>
>
> BTW, I notice that nowhere in the nmda-restconf draft does it mention that
> the auto-commit feature of the "unified" datastore is no active and that
> clients must(?) now use /restconf/operations/* to do things.  Is this an
> oversight?
>
>
>
>
>


Why would the unified API be considered harmful to the Internet if NMDA
datastores are also present?
I see no reason to remove existing APIs just because new ones are added.

With NMDA, a client has to edit candidate and then use POST
/restconf/operations/commit to finish the edit,
which requires 2 steps (or 6 if locking is used). With unified (RFC 8040) 1
step is needed and no locking
is required.

Andy


> CORE WG will standardize YANG to CBOR and SID.
>
> > Seems like any use of CBOR in NETCONF, YANG Push, or RESTCONF
>
> > is gated on the completion of these RFCs.
>
>
>
> Regarding YANG-push, perhaps the NETCONF WG should consider a "coap-notif"
> transport layer draft and, by extension, the CORE WG should consider
> defining a "coap-client-server" draft.
>
>
>
>
>
> > Andy
>
>
>
> Kent // contributor
>
>
>
>
>
>
>