Re: [netconf] Trouble with RFC 8040 (Restconf) fields Query Parameter

Henning Rogge <hrogge@gmail.com> Sat, 11 April 2020 21:03 UTC

Return-Path: <hrogge@gmail.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 109913A195A for <netconf@ietfa.amsl.com>; Sat, 11 Apr 2020 14:03:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 UcD_YrAQ0m3a for <netconf@ietfa.amsl.com>; Sat, 11 Apr 2020 14:02:59 -0700 (PDT)
Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) (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 B199C3A1958 for <netconf@ietf.org>; Sat, 11 Apr 2020 14:02:58 -0700 (PDT)
Received: by mail-lf1-x142.google.com with SMTP id h6so3786060lfc.0 for <netconf@ietf.org>; Sat, 11 Apr 2020 14:02:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Aca5TeHnQTdc1Gco7RM0bjQzEWxh6C/Mey+eQSe/KGY=; b=ksEWeMXFZksaFx1KL1bjsFTv3Y05onCqtTs86cx/XhY97h+6o0yy7P4kCkEdmRQIAD 5xWepi7m/EkCesMJkSUDMQpyd8dCchG8QLCkwyZkLo32e4XNZiR/mPxknttQSZ/7tmy2 uzsnHAXSNiaJPEvIf9jCNLiWs4ZK9t05CMOWz8/Qa8VObWkXTmdjz7C4NmYncMxC+uHV gf7GgFQ8PDqQQlHImGfhXrX/U8N3gpmui+nJzJhKTubLdiIZ8bse7fULuhihudCzSRA+ NWZn3vfFuTlRPq+zNGZXaiSqfP7etTGMWCn6aBaMtTFP4GacM+JqgCx5EVlKzA7iOFB0 uhkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Aca5TeHnQTdc1Gco7RM0bjQzEWxh6C/Mey+eQSe/KGY=; b=DHzmeaYI8GdHPxqbDf3/hByp+Nt+MR2a+Bb4n0/2p57OfFgQ8lL41IR6chhi3vxOUC 1N57BCKT5rxCTjvg2sEMsIUNIJTfDIGs8KNETktichuasalg491eVrB3QW7hxghmETH2 90X/uTOG8fHa52OseG/rvFj0oEljaVPJj17FxK/n/xRYkMhnERC2ocGewwunraxigQUB 5oxwoPzTEbOGOSVsy+9l3jOa29bTPZivQIKYQ5j4l5Os++++5BTyRwtC++jD1oQZYwBr QQxa37aXvknpV/Vb2/cwr5PfqJl8Im/UB0jo3u6YaEiqs78Ms5l+eJVCJcy27H3fMnjk 5mYw==
X-Gm-Message-State: AGi0PuZl9Kat+Zh7zXdwxJKGWimJgajxRwSdt4w6sRQDh+goX1F07BCv r1AakhGC58tRAsDXqZ0qKwqAxvJlQyG7shm2MXM3lA==
X-Google-Smtp-Source: APiQypK+ARb2Ug0Z/mrq4DRYwV++rG9RREjDghSB4j8JVONnbiK0zSGWwOMy3GI8hd6g4J81Ogt3JMpzq2NhGwk2zkI=
X-Received: by 2002:a19:f806:: with SMTP id a6mr6150223lff.201.1586638976463; Sat, 11 Apr 2020 14:02:56 -0700 (PDT)
MIME-Version: 1.0
References: <CAGnRvup-pLVYgxAx7PnbJJ1gS-GTkD6t5jGD_Ayhh7ctpPothw@mail.gmail.com>
In-Reply-To: <CAGnRvup-pLVYgxAx7PnbJJ1gS-GTkD6t5jGD_Ayhh7ctpPothw@mail.gmail.com>
From: Henning Rogge <hrogge@gmail.com>
Date: Sat, 11 Apr 2020 23:02:30 +0200
Message-ID: <CAGnRvuq=ESLkeyWsgiqE9sXqFwHGUef3A4QRuW=H8ompVO3C4Q@mail.gmail.com>
To: netconf@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/LqcdFaW0i2akcGGtyuvnAUxtx2k>
Subject: Re: [netconf] Trouble with RFC 8040 (Restconf) fields Query Parameter
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG 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: Sat, 11 Apr 2020 21:03:00 -0000

Anyone (Maybe the timing of the question just before the IETF was not
that good ^^) ?

Henning Rogge?

On Thu, Apr 2, 2020 at 2:18 PM Henning Rogge <hrogge@gmail.com> wrote:
>
> Hi,
>
> I am trying to implement a Restconf (RFC8040) compliant server in
> Python and having trouble interpreting the definition of the "fields"
> query parameter (Section 4.8.3).
>
> Does the "fields-expr" ABNF allow multiple nested bracket parts?
> e.g.:
>
> fields-expr = path ( path ; ( path ; path; ( path ; path ) ) )
>
> My guess is it allows to nest the "sub-selector" operator, but only
> the rightmost of a series of multiple selected nodes ( split by ";" )
> can be another sub-selector.
>
> Is this interpretation correct? What is the supposed semantic for this
> kind of query parameter?
>
> Henning Rogge