Re: [L3sm] New Version Notification for draft-wu-l3sm-rfc8049bis-03.txt

Qin Wu <bill.wu@huawei.com> Wed, 11 October 2017 04:05 UTC

Return-Path: <bill.wu@huawei.com>
X-Original-To: l3sm@ietfa.amsl.com
Delivered-To: l3sm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB49A13239C for <l3sm@ietfa.amsl.com>; Tue, 10 Oct 2017 21:05:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 VsGf63-enc9T for <l3sm@ietfa.amsl.com>; Tue, 10 Oct 2017 21:05:20 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C1331321AC for <l3sm@ietf.org>; Tue, 10 Oct 2017 21:05:20 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml701-cah.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DQH52326; Wed, 11 Oct 2017 04:05:18 +0000 (GMT)
Received: from NKGEML413-HUB.china.huawei.com (10.98.56.74) by lhreml701-cah.china.huawei.com (10.201.108.42) with Microsoft SMTP Server (TLS) id 14.3.301.0; Wed, 11 Oct 2017 05:05:17 +0100
Received: from NKGEML513-MBX.china.huawei.com ([169.254.1.199]) by NKGEML413-HUB.china.huawei.com ([10.98.56.74]) with mapi id 14.03.0235.001; Wed, 11 Oct 2017 12:05:11 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Jan Lindblad (jlindbla)" <jlindbla@cisco.com>, "David Ball -X (daviball - ENSOFT LIMITED at Cisco)" <daviball@cisco.com>
CC: l3sm <l3sm@ietf.org>
Thread-Topic: [L3sm] New Version Notification for draft-wu-l3sm-rfc8049bis-03.txt
Thread-Index: AQHTQQWsNfIEJ/tueE6vL9DaPP0v1qLc10iQ///Pb4CAAAFGAIABYc7Q
Date: Wed, 11 Oct 2017 04:05:10 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA9ABA8A78@nkgeml513-mbx.china.huawei.com>
References: <B8F9A780D330094D99AF023C5877DABA9AB378D8@nkgeml513-mbs.china.huawei.com> <c5269278-b3a4-a12e-a911-0af20d7baa21@cisco.com> <B8F9A780D330094D99AF023C5877DABA9ABA732C@nkgeml513-mbx.china.huawei.com> <e5103039-d554-2259-d15d-f9f1da248c73@cisco.com> <C4866394-2CFD-4E24-95EC-6DA681F48558@cisco.com>
In-Reply-To: <C4866394-2CFD-4E24-95EC-6DA681F48558@cisco.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.136.79.163]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA9ABA8A78nkgeml513mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.59DD987E.012F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.1.199, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: 7501e92d2350abe74b92ba9d80a7bd96
Archived-At: <https://mailarchive.ietf.org/arch/msg/l3sm/DGtuUK_qK8egLdvWNRkTPFs0CvE>
Subject: Re: [L3sm] New Version Notification for draft-wu-l3sm-rfc8049bis-03.txt
X-BeenThere: l3sm@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: L3VPN Service YANG Model discussion group <l3sm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/l3sm>, <mailto:l3sm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/l3sm/>
List-Post: <mailto:l3sm@ietf.org>
List-Help: <mailto:l3sm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/l3sm>, <mailto:l3sm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Oct 2017 04:05:21 -0000

发件人: Jan Lindblad (jlindbla) [mailto:jlindbla@cisco.com]
发送时间: 2017年10月10日 22:57
收件人: David Ball -X (daviball - ENSOFT LIMITED at Cisco)
抄送: Qin Wu; l3sm
主题: Re: [L3sm] New Version Notification for draft-wu-l3sm-rfc8049bis-03.txt

[DB]
I think you mean "and" here not "or". :)  I'm not an XPath expert but I expect you can write:

    must "!derived-from-or-self(current(), 'l3vpn-svc:slaac') and !derived-from-or-self(current(), 'l3vpn-svc:provider-dhcp-slaac')" {

That would be
must "not(derived-from-or-self(current(), 'l3vpn-svc:slaac')) and not(derived-from-or-self(current(), 'l3vpn-svc:provider-dhcp-slaac'))" {

But perhaps this is a trifle simpler:
must "not(derived-from-or-self(current(), 'l3vpn-svc:slaac') or derived-from-or-self(current(), 'l3vpn-svc:provider-dhcp-slaac'))" {

[Qin]: Thank Jan for the proposed change as an XPATH expert, I prefer the second one you proposed.

/jan