Re: [Netconf] WGLC on restconf-notif-08

"Eric Voit (evoit)" <evoit@cisco.com> Thu, 25 October 2018 14:20 UTC

Return-Path: <evoit@cisco.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 ED093128CF3 for <netconf@ietfa.amsl.com>; Thu, 25 Oct 2018 07:20:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 SpW2fJ5vVa0s for <netconf@ietfa.amsl.com>; Thu, 25 Oct 2018 07:20:23 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 94DE9130E69 for <netconf@ietf.org>; Thu, 25 Oct 2018 07:20:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4406; q=dns/txt; s=iport; t=1540477223; x=1541686823; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=CeSKXBJoBvpR5J+O0BoeNm0+/cxuCxhfEqUqP0kfOvk=; b=bM+IvEv2v/bYq3u6GoD+3bLTINW4sTpt7py2tA3F6bjl8PgaFWw/w4Dd DB5EEQMFXjDy7gBeRFPU+qk1tru14o9DyY0J6LtxPtRBKfYSAllwU8d7H aT2MVihf2utSxBi5GrNeZmC2jycUGSYBs5tSpfG0F6zttBKeHEF2jU3xP U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AkAAC50NFb/51dJa1jGQEBAQEBAQEBAQEBAQcBAQEBAQGBUgMBAQEBAQsBggRmfygKg2uUATCCDYNAk1yBegsBARgLhANGAheCeSE1DA0BAwEBAgEBAm0cDIU6AQEBAQIBAQEhEToLBQsCAQgOBwMCAiYCAgIlCxUQAgQOBQgTgweBeQgPpzaBLooaBYELilsXgUE/gRGDEoI2ZQEBAYFAAQEILYJsglcCiSKFOJAcCQKQcyCQQ5ZiAhEUgSYeATaBVXAVO4JsixmFPm8BigSBH4EfAQE
X-IronPort-AV: E=Sophos;i="5.54,424,1534809600"; d="scan'208";a="471504521"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2018 14:20:22 +0000
Received: from XCH-RTP-002.cisco.com (xch-rtp-002.cisco.com [64.101.220.142]) by rcdn-core-6.cisco.com (8.15.2/8.15.2) with ESMTPS id w9PEKMeW010272 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 25 Oct 2018 14:20:22 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-002.cisco.com (64.101.220.142) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 25 Oct 2018 10:20:21 -0400
Received: from xch-rtp-013.cisco.com ([64.101.220.153]) by XCH-RTP-013.cisco.com ([64.101.220.153]) with mapi id 15.00.1395.000; Thu, 25 Oct 2018 10:20:21 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: Martin Bjorklund <mbj@tail-f.com>
CC: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] WGLC on restconf-notif-08
Thread-Index: AQHUbGbLqc/ZdIehM0Ol7lZ9+zKBhqUv9OzQgABIgAD//8UhoA==
Date: Thu, 25 Oct 2018 14:20:21 +0000
Message-ID: <7115e368c998473cb26f0bbd9e26edec@XCH-RTP-013.cisco.com>
References: <ECF2B40C-AE54-4310-84AA-E6678FE24A55@cisco.com> <20181025.152945.1091370192742338773.mbj@tail-f.com> <957364c38ddd4b5dabfe150cf516595c@XCH-RTP-013.cisco.com> <20181025.154944.1781941865254644244.mbj@tail-f.com>
In-Reply-To: <20181025.154944.1781941865254644244.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.118.56.234]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Outbound-SMTP-Client: 64.101.220.142, xch-rtp-002.cisco.com
X-Outbound-Node: rcdn-core-6.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/8LqFl05ShEAM7MMDndfonmFkTHo>
Subject: Re: [Netconf] WGLC on restconf-notif-08
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
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: <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, 25 Oct 2018 14:20:26 -0000

> From: Martin Bjorklund, October 25, 2018 9:50 AM
> 
> "Eric Voit (evoit)" <evoit@cisco.com> wrote:
> > > From: Martin Bjorklund,  October 25, 2018 9:30 AM
> > >
> > > "Reshad Rahman (rrahman)" <rrahman@cisco.com> wrote:
> > > > Hi,
> > > >
> > > > By Juergen's proposal are you referring to new xpath/ypath
> > > > definition for context-independent encoding in 6991bis? And SN
> > > > should wait for 6991bis?
> > >
> > > No I meant that SN would adopt Juergen's proposal.  This can be done
> today.
> >
> > This works for me.   Can you provide a proposal for the desired YANG
> > object text?
> 
> Perhaps:
> 
> OLD:
> 
>               o  The set of namespace declarations are those in scope on
>                  the 'stream-xpath-filter' leaf element.
> 
> NEW:
> 
>               o  The set of namespace declarations is the set of prefix
>                  and namespace pairs for all YANG modules implemented
>                  by the server, where the prefix is the YANG module
>                  name and the namespace is as defined by the
>                  "namespace" statement in the YANG module.
> 
>                  If the leaf is encoded in XML, all namespace
>                  declarations in scope on the 'stream-xpath-filter'
>                  leaf element are added to the set of namespace
>                  declarations.  If a prefix found in the XML is
>                  already present in the set of namespace declarations,
>                  the namespace in the XML is used.

This works for me.   Thanks!

Eric

> 
> /martin
> 
> 
> 
> 
> >
> > Eric
> >
> > > /martin
> > >
> > >
> > >
> > > > If so, why not go with Martin's alternative A?
> > > >
> > > > What do we do about existing drafts/RFCs which use yang:xpath1.0?
> > > > I don't know how many there are (only one which comes to mind is
> > > > schema-mount).
> > > >
> > > > FYI, looks like this issue was brought up a few years ago.
> > > > https://www.ietf.org/mail-archive/web/netmod/current/msg12906.html
> > > >
> > > > Regards,
> > > > Reshad.
> > > >
> > > > On 2018-10-25, 2:58 AM, "Martin Bjorklund" <mbj@tail-f.com> wrote:
> > > >
> > > >     Kent Watsen <kwatsen@juniper.net> wrote:
> > > >     >
> > > >     > > Since this is an existing issue (not caused by the -notif drafts),
> > > >     > > if the outcome is slow can we just remove this example to be able
> > > >     > > to advance those docs?
> > > >     >
> > > >     > It appears that the outcome is slow.  Any objection to removing the
> > > >     > example so the Last Call can close?
> > > >
> > > >     Yes, I object to that.  I think we need to address the issue, rather
> > > >     than pretending it isn't an issue.  If we can't figure out what an
> > > >     example looks like, how is an implementor supposed to get this right?
> > > >
> > > >     IMO SN should adopt the solution proposed by Juergen, and the
> example
> > > >     updated.
> > > >
> > > >
> > > >     /martin
> > > >
> > > >
> > > _______________________________________________
> > > Netconf mailing list
> > > Netconf@ietf.org
> > > https://www.ietf.org/mailman/listinfo/netconf