Re: [coman] constrained management: best practice for "features"

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Mon, 27 October 2014 07:01 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: coman@ietfa.amsl.com
Delivered-To: coman@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB01E1A6FDB; Mon, 27 Oct 2014 00:01:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.56
X-Spam-Level:
X-Spam-Status: No, score=-1.56 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01] 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 VrNjiCBfYwbJ; Mon, 27 Oct 2014 00:01:03 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 25E861A6F34; Mon, 27 Oct 2014 00:01:03 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id BB96E93E; Mon, 27 Oct 2014 08:01:01 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id J3K6vQCarkFx; Mon, 27 Oct 2014 08:01:00 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Mon, 27 Oct 2014 08:01:01 +0100 (CET)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 0C77120035; Mon, 27 Oct 2014 08:01:01 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id BIOVP9dcb3px; Mon, 27 Oct 2014 08:00:24 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id C233A20037; Mon, 27 Oct 2014 08:00:58 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 0AD5E2F12EF1; Mon, 27 Oct 2014 08:00:56 +0100 (CET)
Date: Mon, 27 Oct 2014 08:00:56 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Thomas Watteyne <watteyne@eecs.berkeley.edu>
Message-ID: <20141027070056.GA7204@elstar.local>
Mail-Followup-To: Thomas Watteyne <watteyne@eecs.berkeley.edu>, "6tisch@ietf.org" <6tisch@ietf.org>, "coman@ietf.org" <coman@ietf.org>
References: <CADJ9OA-cDiRH=9tKTJ5rOp4zE=CD86TT+RYR2ArPdKzXGqSzpQ@mail.gmail.com> <20141026194009.GA6308@elstar.local> <CADJ9OA_su_mWBFimQP+cF8SZwkMRQUPZioEx9_4w9CZ0uDZtkw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CADJ9OA_su_mWBFimQP+cF8SZwkMRQUPZioEx9_4w9CZ0uDZtkw@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Archived-At: http://mailarchive.ietf.org/arch/msg/coman/r8G18iw699RMoYHxyePc9_pomDQ
Cc: "coman@ietf.org" <coman@ietf.org>, "6tisch@ietf.org" <6tisch@ietf.org>
Subject: Re: [coman] constrained management: best practice for "features"
X-BeenThere: coman@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: Management of Constrained Networks and Devices <coman.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/coman>, <mailto:coman-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/coman/>
List-Post: <mailto:coman@ietf.org>
List-Help: <mailto:coman-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/coman>, <mailto:coman-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Oct 2014 07:01:05 -0000

On Sun, Oct 26, 2014 at 03:08:37PM -0700, Thomas Watteyne wrote:
> 
> >    4. would a HTTP/CoAP status code (e.g. "501 Not Implemented") be a
> > >    viable alternative for feature discovery?
> > Unclear. Which request would trigger this?
> 
> 
> Assuming some feature is NOT implemented on a server, and a client tries to
> access one of the corresponding resources. I was wondering what HTTP status
> code would be returned, according to RESTCONF.

If this is not clear from the spec, the proper place to raise this
question is the NETCONF WG.

/js

-- 
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/>