Re: [Netconf] Verifing session consensus on RESTCONF as WG item with the maillist

Andy Bierman <andy@yumaworks.com> Mon, 25 November 2013 09:45 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 297411AD66E for <netconf@ietfa.amsl.com>; Mon, 25 Nov 2013 01:45:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level:
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 PhV4L0uIOyNw for <netconf@ietfa.amsl.com>; Mon, 25 Nov 2013 01:45:45 -0800 (PST)
Received: from mail-qe0-f48.google.com (mail-qe0-f48.google.com [209.85.128.48]) by ietfa.amsl.com (Postfix) with ESMTP id E29AA1AD2EC for <netconf@ietf.org>; Mon, 25 Nov 2013 01:45:44 -0800 (PST)
Received: by mail-qe0-f48.google.com with SMTP id gc15so3548958qeb.35 for <netconf@ietf.org>; Mon, 25 Nov 2013 01:45:45 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=R210YKOzql9juiJTnJE/KHbokjgcRGP0ADocx/qcW8E=; b=LVPb2w8V984J9vcX0WSUJ0VRgXHiLlAXIXTA0jatc2tN9nDMC71RqQzQFxpPCqwnTI MEnoVNRw0hnhx9wlTQ2CKQlFubA32NVxR9dWx/1nOUFyn98iaVs99ilNp9sPtME+Mdrn 7Ze0OnyYExxjaVAYBoeHUzu+/12K3zHvKAVkOokA99WpN5eaRwka5IVV/k42hO5uOk1h 1d2HHUvaW7CsJmhxuAHexvAS5sEuTQJR3XU2zY7Dt4PoANL8rL2Crqa3aronIQ+gJi0m WkBdhiOWiHAKQCvY2BH5lVR9U+JPMzc/J4r70yr7z+A8M2GHDN58LvlZc/gCiwjmwOrN 32YA==
X-Gm-Message-State: ALoCoQkqyE+mU7M6MiLuwiegMO76D7buzfIe5SOh7XcvFMi54rrLpSz6/6zrkGkrlzfar73BwL/E
MIME-Version: 1.0
X-Received: by 10.224.51.196 with SMTP id e4mr25510700qag.16.1385372745053; Mon, 25 Nov 2013 01:45:45 -0800 (PST)
Received: by 10.140.86.200 with HTTP; Mon, 25 Nov 2013 01:45:44 -0800 (PST)
In-Reply-To: <757CAD24-CFC6-4EBC-99A9-7C53FC37B96D@nic.cz>
References: <E4DE949E6CE3E34993A2FF8AE79131F81FE2BA@DEMUMBX005.nsn-intra.net> <20131125091510.GB58602@elstar.local> <757CAD24-CFC6-4EBC-99A9-7C53FC37B96D@nic.cz>
Date: Mon, 25 Nov 2013 01:45:44 -0800
Message-ID: <CABCOCHQOGcFo=TVG4vza2mLUSfiyq47k=9+Bipr3pMqiF3U=dw@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Ladislav Lhotka <lhotka@nic.cz>
Content-Type: multipart/alternative; boundary="001a11c29e5059d64404ebfd3acd"
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] Verifing session consensus on RESTCONF as WG item with the maillist
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Mon, 25 Nov 2013 09:45:52 -0000

On Mon, Nov 25, 2013 at 1:33 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:

>
> On 25 Nov 2013, at 10:15, Juergen Schoenwaelder <
> j.schoenwaelder@jacobs-university.de> wrote:
>
> > On Sun, Nov 24, 2013 at 02:16:36PM +0000, Ersue, Mehmet (NSN -
> DE/Munich) wrote:
> >>
> >> Following text is proposed to use for the charter update:
> >> "  3. Develop a RESTful protocol (RESTCONF) that provides a
> programmatic interface for accessing data defined in YANG, using the
> datastores defined in NETCONF. The three parts concerning RESTCONF
> protocol, the transport binding over HTTP and the YANG patch operation will
> be prepared modular and in separate drafts. This enables to add a new
> transport binding at a later stage."
> >>
> >
> > Technical question:
> >
> > I do wonder how you can separate the HTTP transport binding out of a
> > RESTful protocol without making the specification rather complicated
> > to read and understand. After all, you will make assumptions about
> > what HTTP provides in many places (e.g. what is carried in HTTP
> > message headers or HTTP mechanisms like etags are used). Is there an
> > example somewhere I can look at to understand what this separation is
> > going to look like? And which problem are we solving by separating
> > this out?
>
> Indeed, and also the use of HTTP methods is crucial.
>
>
I agree.
Just emailed Martin about this -- splitting out the HTTP bits may
not be practical or required.  More likely, the set of
mandatory-to-implement
features would be smaller for constrained devices.



> IMO, what makes sense is to factor out YANG Patch because, in principle,
> other patch formats (media types) may be supported instead/in parallel.
>
> Lada
>
> >
> > /js
>


Andy


> >
> > --
> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> > Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
> > Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
> > _______________________________________________
> > Netconf mailing list
> > Netconf@ietf.org
> > https://www.ietf.org/mailman/listinfo/netconf
>
> --
> Ladislav Lhotka, CZ.NIC Labs
> PGP Key ID: E74E8C0C
>
>
>
>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>