[Netconf] 4741bis (010) - namespace wildcarding

Martin Bjorklund <mbj@tail-f.com> Mon, 09 November 2009 15:43 UTC

Return-Path: <mbj@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 528A728C15C for <netconf@core3.amsl.com>; Mon, 9 Nov 2009 07:43:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.995
X-Spam-Level:
X-Spam-Status: No, score=-1.995 tagged_above=-999 required=5 tests=[AWL=0.051, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N4-+3lAyaJoR for <netconf@core3.amsl.com>; Mon, 9 Nov 2009 07:43:25 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 869993A698D for <netconf@ietf.org>; Mon, 9 Nov 2009 07:43:25 -0800 (PST)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 8FA73616002 for <netconf@ietf.org>; Mon, 9 Nov 2009 16:43:49 +0100 (CET)
Date: Mon, 09 Nov 2009 16:43:49 +0100
Message-Id: <20091109.164349.228269389.mbj@tail-f.com>
To: netconf@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
X-Mailer: Mew version 6.2.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: [Netconf] 4741bis (010) - namespace wildcarding
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 09 Nov 2009 15:43:26 -0000

Hi,

http://trac.tools.ietf.org/wg/netconf/trac/wiki/Issues_4741bis#issue-010

This issue was discussed at IETF75 in Stockholm.

It has been noted on the ML that the Namespace Selection part of
subtree filtering needs to be fixed (that is part of issue 008).


This proposal is that if the null namespace is used in a subtree
filter, it should be interpreted as a wildcard, for example:

  <nc:rpc message-id="101"
          xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
    <nc:get-config>
      <nc:source>
        <nc:running/>
      </nc:source>
      <nc:filter>
        <interface/>
      </nc:filter>
    </nc:get-config>
  </nc:rpc>

  could return:

    <nc:data>
       <if:interface>
         ...
       <if:interface/>
       <ospf:interface>
         ...
       </ospf:interface>
    </nc:data>


Comments?


/martin