Re: [Netconf] Representing URLs

Andy Bierman <andy@yumaworks.com> Fri, 06 December 2013 19:43 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 064BB1AE328 for <netconf@ietfa.amsl.com>; Fri, 6 Dec 2013 11:43:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level:
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_65=0.6, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=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 XORDmEl-hy8x for <netconf@ietfa.amsl.com>; Fri, 6 Dec 2013 11:43:07 -0800 (PST)
Received: from mail-qc0-f179.google.com (mail-qc0-f179.google.com [209.85.216.179]) by ietfa.amsl.com (Postfix) with ESMTP id E9ED81AE15A for <netconf@ietf.org>; Fri, 6 Dec 2013 11:43:06 -0800 (PST)
Received: by mail-qc0-f179.google.com with SMTP id i8so848293qcq.10 for <netconf@ietf.org>; Fri, 06 Dec 2013 11:43:02 -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=tvCNlPJK/La4hcCPlwho+K+/lOMZsBosNYta37xfvnE=; b=WVpaZcGck9cUu/l040WmENTZ9jDIwvLDih1qJ7ZOUFDZq2aNJuLfkmVAOQ15WLIIsH e7WCc45S4wArLr55R0eAYmzhv78v7OuaqpsSKlY2KLB+/0rr00pKjKJyyGwwpnVYtU9q dNgc5FIQyA5rgpbNS6brt9tTO7GdGNH7HNAhDNxou6ZUiSswa9HKOmUQqggHE77prUy9 4Ym4DbEseCnQYP/Qafhl6ZHQ+nFFP1b/XSMfDlhsxVTlJkP/npLMR5StT63htxPVCyYN WkAPld25aPuNV/1IB49/LZA3sqGVyzBPYu4z93LJDjmk3xYvc3djqxRNcTDcL7Ln4v26 OSZg==
X-Gm-Message-State: ALoCoQmBJGsi+Wx9tIpPvH1IWrZwZbmsYWKp0An4KEBxZxQLF4FMssp4no+Re9cdtDel5STWDjB1
MIME-Version: 1.0
X-Received: by 10.49.130.135 with SMTP id oe7mr159332557qeb.41.1386358982677; Fri, 06 Dec 2013 11:43:02 -0800 (PST)
Received: by 10.140.48.75 with HTTP; Fri, 6 Dec 2013 11:43:02 -0800 (PST)
In-Reply-To: <CAFFjW4iJVmPsoQLPMKJSJXWMbaAdpFcZvUcztqk2z+h0eFq0ww@mail.gmail.com>
References: <CAFFjW4hXEZxTyhnaHLk-URST=6mNfX8kO1aFEVtEvTm8Z-qysw@mail.gmail.com> <CABCOCHS4rRJRy=TdXRTvM6mffG36u9uHRZWLOkm7a3rCne+Gwg@mail.gmail.com> <CAFFjW4iNX1rG7VnWqvHVz+c6-WdJ3d8aT1qiGbJGVOOA1Afz9A@mail.gmail.com> <B19C5C86-BCFE-4C81-9D86-4C9FD7BACE7C@nic.cz> <CAFFjW4h7ruX0ooKw4U-syLw-95McyOV2Rb1KRjU49vSpN3O7hg@mail.gmail.com> <55E62C30-66A0-422A-A440-7D7ED57494E5@nic.cz> <CAFFjW4gPQ+yOo+TZXb-Ho2_UzJG-SAh=68qh_scvpae9b8Yn4Q@mail.gmail.com> <E67E6E74-F554-4D5A-ABFE-0C567A9743B3@nic.cz> <CAFFjW4iJVmPsoQLPMKJSJXWMbaAdpFcZvUcztqk2z+h0eFq0ww@mail.gmail.com>
Date: Fri, 06 Dec 2013 11:43:02 -0800
Message-ID: <CABCOCHRHYggkrm8jYa1wjWCY7zJG-QcVjbDguQGdK8xDduOvMQ@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Wojciech Dec <wdec.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="047d7bd6bc44b1a7bd04ece2da7d"
Cc: draft-bierman-netconf-restconf@tools.ietf.org, Netconf <netconf@ietf.org>
Subject: Re: [Netconf] Representing URLs
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: Fri, 06 Dec 2013 19:43:08 -0000

Hi,

You have raised an important RESTCONF issue, which is the
client processing of server resource URIs.  I think the
client should be able to use the Location header URI for
all CRUD access to the data resource.

That's why the /restconf/config and /restconf/operational split
is broken. In order to retrieve operational data, the client
has to parse the URI and change it -- not too REST-ful ;-)

I think there should be one YANG data root: /restconf/data.
For RESTCONF, the ETag and Last-Modified headers are
only affected by configuration data resources.  The client
will have to add a query parameter to retrieve config=false
data, so it can also be aware that ETag and Last-Modified
are not affected by config=false data nodes.


Andy