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

"Jan Lindblad (jlindbla)" <jlindbla@cisco.com> Tue, 10 October 2017 14:58 UTC

Return-Path: <jlindbla@cisco.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 B424A134E24 for <l3sm@ietfa.amsl.com>; Tue, 10 Oct 2017 07:58:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.52
X-Spam-Level:
X-Spam-Status: No, score=-14.52 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-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 Q78oiQBYGcoC for <l3sm@ietfa.amsl.com>; Tue, 10 Oct 2017 07:58:14 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8A9F2134E26 for <l3sm@ietf.org>; Tue, 10 Oct 2017 07:57:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4794; q=dns/txt; s=iport; t=1507647442; x=1508857042; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=mBa4Mge47E5R275R++/ncJCV8VAAdnPdKGB0FQZ5Zic=; b=TdWw5anTBmvgki3V4azsT0pCX0pEXeDVhCMhrwlayKyyP+UH5tsIDWtH bmmhQ7TpHCRkcD2hZfetpKHSYdBcP0zmmvtJIze+1MGfew8dmx6B7ZbVg 4nDRYahfYo8DUqLwhtaNfNcfQm3ldt+tVrDJzNMBQK0mqKT/lmNiYTmL9 c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CcAQD+3txZ/4oNJK1cGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBgm9sgVIUGp4GkmaHUQqFOwKETUIVAQIBAQEBAQEBayiFHgMDaww?= =?us-ascii?q?CEAIBCEYyJQEBBA6JRWSqYYskAQEBAQEBAQEBAQEBAQEBAQEBAQEBHYMtggKBU?= =?us-ascii?q?YIVgn6IRoIyBaE8ApRnkw+VNAIRGQGBOAE1IoEOeBVbAYcKiiiBEAEBAQ?=
X-IronPort-AV: E=Sophos; i="5.42,505,1500940800"; d="scan'208,217"; a="88026341"
Received: from alln-core-5.cisco.com ([173.36.13.138]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Oct 2017 14:57:21 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by alln-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id v9AEvLdD016123 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 10 Oct 2017 14:57:21 GMT
Received: from xch-aln-004.cisco.com (173.36.7.14) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Tue, 10 Oct 2017 09:57:20 -0500
Received: from xch-aln-004.cisco.com ([173.36.7.14]) by XCH-ALN-004.cisco.com ([173.36.7.14]) with mapi id 15.00.1320.000; Tue, 10 Oct 2017 09:57:20 -0500
From: "Jan Lindblad (jlindbla)" <jlindbla@cisco.com>
To: "David Ball -X (daviball - ENSOFT LIMITED at Cisco)" <daviball@cisco.com>
CC: Qin Wu <bill.wu@huawei.com>, l3sm <l3sm@ietf.org>
Thread-Topic: [L3sm] New Version Notification for draft-wu-l3sm-rfc8049bis-03.txt
Thread-Index: AdMumcwCLUN8x/LDjUWvHXDkwgSGUASlbxOAACo8IgAACjfmgAAAKBUA
Date: Tue, 10 Oct 2017 14:57:20 +0000
Message-ID: <C4866394-2CFD-4E24-95EC-6DA681F48558@cisco.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>
In-Reply-To: <e5103039-d554-2259-d15d-f9f1da248c73@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.147.40.146]
Content-Type: multipart/alternative; boundary="_000_C48663942CFD4E2495EC6DA681F48558ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/l3sm/1SE7mU7RKT62qGWdmGxK2h0buqs>
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: Tue, 10 Oct 2017 14:58:17 -0000

[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'))" {

/jan