Re: [netconf] [netmod] <get-data> operation with "table join" capability

Kent Watsen <kent@watsen.net> Thu, 21 May 2020 13:36 UTC

Return-Path: <010001723773049b-332a2a2d-cee5-4336-9e24-db1b42f83c7a-000000@amazonses.watsen.net>
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 488BF3A0CB1; Thu, 21 May 2020 06:36:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.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 8buQnbOXxaE7; Thu, 21 May 2020 06:36:26 -0700 (PDT)
Received: from a8-33.smtp-out.amazonses.com (a8-33.smtp-out.amazonses.com [54.240.8.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E1EFB3A0CAE; Thu, 21 May 2020 06:36:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1590068184; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Message-Id:References:To:Feedback-ID; bh=ZRlOK358QGvHfhATeBQ1vposzjU4eZuAr87Ojud5tiA=; b=V0vX8f8uanso8nAg1sZeHVAnh7NjSWlEE1PJbbqAonLlz1qyfrOREEX9qDUqDhZU Vv2oTGKHlC1AQ51Z+BeO1C7KCNbnU0TSFqYehwfIX1mnNpAayhKv5r3hGjBjNtSVWrH Nfnuvf39Rx8LuyL9P+EQN+ENnS2JTq9C25OP7KC0=
Content-Type: multipart/alternative; boundary="Apple-Mail=_7783230F-8EAA-4721-8EB2-67B56FF6C902"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Kent Watsen <kent@watsen.net>
In-Reply-To: <CAEz6PPQ2u8kv7chFakXySuFWvJBzvEcHQ-F2-fHuVZFZAO2nmg@mail.gmail.com>
Date: Thu, 21 May 2020 13:36:24 +0000
Cc: "netconf@ietf.org" <netconf@ietf.org>
Message-ID: <010001723773049b-332a2a2d-cee5-4336-9e24-db1b42f83c7a-000000@email.amazonses.com>
References: <CAEz6PPQ2u8kv7chFakXySuFWvJBzvEcHQ-F2-fHuVZFZAO2nmg@mail.gmail.com>
To: Xufeng Liu <xufeng.liu.ietf@gmail.com>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2020.05.21-54.240.8.33
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/JbF8R3K4xtjULw9EG2u3sNUH7cU>
Subject: Re: [netconf] [netmod] <get-data> operation with "table join" capability
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: Thu, 21 May 2020 13:36:27 -0000

[moving 'netmod' to BCC since this question has no modeling impact]


> The desired capability is:
> 
> When a leafref or multiple leafrefs reference one or more objects specified in other parts of the schema, the operator can use a single <get-data> operation to retrieve all attributes of the object containing the leafref and the attributes referenced by the leafref statement.

The motivation is clear.

A solution would likely entail returning a multi-part response, perhaps a single tree for NETCONF.   Note that the resolutions may themselves include leafrefs, a full-response may be N levels deep.   

K.