Re: [netconf] AUTH48 changes to RFC 8526 <draft-ietf-netconf-nmda-netconf-08>

tom petch <ietfc@btconnect.com> Fri, 08 February 2019 16:41 UTC

Return-Path: <ietfc@btconnect.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 A187012867A for <netconf@ietfa.amsl.com>; Fri, 8 Feb 2019 08:41:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.246
X-Spam-Level:
X-Spam-Status: No, score=0.246 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 8GTTUfsW24J7 for <netconf@ietfa.amsl.com>; Fri, 8 Feb 2019 08:41:08 -0800 (PST)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03on0727.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe09::727]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3F9F6127598 for <netconf@ietf.org>; Fri, 8 Feb 2019 08:41:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9QRbj6/bxoMvCCFn716M9j9/XcSNKp2WWoSaVWlX2Cw=; b=ULDSR8T/B60XLL6K6uwtIfwjcbbjfnZwQnBddXFul8AiFxhqnQxWjpVsBAC20xdcmBz0FiNMBxjvoGS1r6UUSLAowUbWij/I/uNCvjwShl4+LIsuvQdgtfXZS8YoX1+0+z+bwlHYK6B/K0/BpmvBOAn+iKPJemsYBTdyzFp8pQU=
Received: from AM0PR07MB4500.eurprd07.prod.outlook.com (52.135.151.17) by AM0PR07MB4387.eurprd07.prod.outlook.com (52.133.61.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.16; Fri, 8 Feb 2019 16:40:55 +0000
Received: from AM0PR07MB4500.eurprd07.prod.outlook.com ([fe80::2596:f0c0:2e9b:d093]) by AM0PR07MB4500.eurprd07.prod.outlook.com ([fe80::2596:f0c0:2e9b:d093%3]) with mapi id 15.20.1601.016; Fri, 8 Feb 2019 16:40:55 +0000
From: tom petch <ietfc@btconnect.com>
To: Kent Watsen <kent@watsen.net>, Mahesh Jethanandani <mjethanandani@gmail.com>
CC: Netconf <netconf@ietf.org>
Thread-Topic: [netconf] AUTH48 changes to RFC 8526 <draft-ietf-netconf-nmda-netconf-08>
Thread-Index: AQHUv80PSqON0M0VRUybKeMcKMVoMw==
Date: Fri, 8 Feb 2019 16:40:55 +0000
Message-ID: <00f901d4bfcc$dce33b60$4001a8c0@gateway.2wire.net>
References: <E27BF6D6-8FC9-491A-A338-9830D750F3A7@gmail.com> <20190206214947.hzvp3ccswjxvxesu@anna.jacobs.jacobs-university.de> <D1C795C4-C79F-4E2E-899A-184A9E34ED6A@gmail.com> <991B70D8B4112A4699D5C00DDBBF878A6BCF0FE6@dggeml510-mbx.china.huawei.com> <FEED2E09-F652-44C4-AB3F-DC8B3D4344A2@gmail.com> <01000168caca357c-d61d3242-b8ab-44ea-9afd-d9d0084cfc4c-000000@email.amazonses.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: LO2P265CA0290.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a5::14) To AM0PR07MB4500.eurprd07.prod.outlook.com (2603:10a6:208:78::17)
x-ms-exchange-messagesentrepresentingtype: 1
x-mailer: Microsoft Outlook Express 6.00.2800.1106
x-originating-ip: [86.139.215.184]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM0PR07MB4387; 6:ppjfNvy19VHHLQBZi/wY1LKUXVUkK9CQbBi0Is/Sh3vpikd54JAfD0S00z1Y48LP6LLTN4WMVBcRIpQaBs0RGap66YWETNzwAde89gf+WUl5eo8Wysgy1+0ZJYkfpgNFDYbjx9PByaKBs6Q4VYyz57vXCId7u8Xg0R3z+M+PgcvEjq8sZW/z6zzLfIkJXutiFVQmxDLPhW+ihN09Fx/GzQjI4weWPheWr9J2lfeXEbbCWUNew3M9BtyFRmYkmQ/EznePRXrFtIaUWCxZ/OlyN5zXAU/R+tGmS1TkrcxsGC3/6xZh0a5VUyuiIEmtC4GzFT+Z6FNcY+Wi4+ScfqloW9veTT8hU50Nuq2Tr1GobAIDNlAVRKHKavBLxOciMFSh/nZdPPumKPZdD+MTqtCBLV8imOhIzusMEYwVU0dksbovOPG2TVyfYM78G6zmhRwSpU6HfoB5bYYhvL60ifX07w==; 5:v3/xpRHwTXZvmPJEjQpqB2MkuFPh73Tf7aGiz7aOyttnJjtIAQ3nnZMaWEHnpkRgqnGulco7dyzTO9tHNvEij0DFUnZUN58bXlcrW+8BxgOTjLXMQ1TokjlPlJjA07ET8vwI4UCpEtrMmG6zuA1kNOJprkZupUGFTxSiSgp8mFmuPUYw7wElZREBzCaH2ZJkAnnsK0RhL6Mdb1lhETF4xA==; 7:lcFeNSt6K+NchFk/T1LutTpWcSpddX7BjiaYYpMkbxeL17EMSa0OhRFOmer89nJ3rp4P7m6jgsPGssyYf4AvWoJqNvbdyKWVOb9RzktXANEhPgJnEXiUpG0AXib+2qI2h4NEJ9abP3xm359N0HsVhw==
x-ms-office365-filtering-correlation-id: 76e7a719-04f6-4445-ba6b-08d68de431b5
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7193020); SRVR:AM0PR07MB4387;
x-ms-traffictypediagnostic: AM0PR07MB4387:
x-ms-exchange-purlcount: 3
x-microsoft-antispam-prvs: <AM0PR07MB4387C06C5045D3271CBD57D5A0690@AM0PR07MB4387.eurprd07.prod.outlook.com>
x-forefront-prvs: 094213BFEA
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(39860400002)(136003)(376002)(396003)(346002)(199004)(13464003)(189003)(86362001)(6246003)(53376002)(7736002)(53936002)(229853002)(256004)(14444005)(71190400001)(71200400001)(68736007)(44736005)(14496001)(81156014)(6116002)(25786009)(3846002)(81166006)(6486002)(6436002)(61296003)(44716002)(1556002)(8676002)(9686003)(6512007)(62236002)(86152003)(305945005)(97736004)(6306002)(4326008)(105586002)(102836004)(476003)(386003)(6506007)(53546011)(4720700003)(486006)(26005)(6346003)(14454004)(478600001)(106356001)(84392002)(446003)(52116002)(76176011)(81816011)(33896004)(99286004)(2906002)(81686011)(50226002)(316002)(93886005)(110136005)(19273905006)(66066001)(8936002)(186003)(966005)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR07MB4387; H:AM0PR07MB4500.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: n9V/5JvrOA+4qwX04GcQGLEG9fr5YjpbQZo+irvClyrEyxOPv5e0+SQdGzWFqzJQK2vxvoHWLjaYORQPERWF8RUGFk8oxxCVo+JmPOSoEf4QdpVbHgPkI3KaYgUc/6YhK8NMP7+y5gYh2FebsYqJ8z/Aj6mWsbQJ2lhAw0oDNsY7w7uxMypug1fIY5wqKswf8uuwb+tzDap6ASIFZOxeYTs/WpeO0EF7hz+wnkuYU81vIoG2urheserAlWJheGad+z8fu46Y+IKIX2v0PxYgWiC27hBOcdnMDj23o/w8OMTUo28il9Hd07b34QwRbAXOVYcPrEWTjV8iEFAXpeEHgqbbqVqhGG4ccoxwY+I03COF53B2g6jHx45AazEnsdb4VezKvaPH4rxnaFHdRG+gVkZlh1yJ7y7IXpPi6GOoGWk=
Content-Type: text/plain; charset="utf-8"
Content-ID: <8BA379323ADC1B4AB1C2D2D1AEA8AB3C@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 76e7a719-04f6-4445-ba6b-08d68de431b5
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Feb 2019 16:40:54.2464 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB4387
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/u_oU1r6Lx86rWTSR7y12H79xeAg>
Subject: Re: [netconf] AUTH48 changes to RFC 8526 <draft-ietf-netconf-nmda-netconf-08>
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: Fri, 08 Feb 2019 16:41:12 -0000

----- Original Message -----
From: "Kent Watsen" <kent@watsen.net>;
Sent: Friday, February 08, 2019 1:47 AM

These are semantically identical statements.
Let’s ask the RFC Editor for their opinion.
FWIW, I prefer Rohit’s suggested replacement.

<tp>

I find the original formulation much clearer. I can rewrite it as

match if
origin NOT derived from filter
AND
origin NOT equal to filter

so if cable is derived from ADSL, then I can slot in the values and get

filter cable
origin ADSL
ADSL NOT derived from cable true
AND
ADSL NOT equal to cable true
i.e. true

filter ADSL
origin cable
cable NOT derived from ADSL false
AND
cable NOT equal to ADSL true
i.e. false

which I find clear ( and I assume is what you intend).

With neither ..  nor, I cannot do that, or not as straightforwardly, and
so find unclear.

Tom Petch

Kent // as co-author

> On Feb 7, 2019, at 7:29 PM, Mahesh Jethanandani
<mjethanandani@gmail.com>; wrote:
>
> Authors of the draft,
>
> Do we want to accept or reject this late comment?
>
>> On Feb 6, 2019, at 6:06 PM, Rohit R Ranade <rohitrranade@huawei.com
<mailto:rohitrranade@huawei.com>> wrote:
>>
>> >           leaf-list negated-origin-filter {
>> >             type or:origin-ref;
>> >             description
>> >               "Filter based on the 'origin' annotation.  A
>> >                configuration node matches the filter if its
'origin'
>> >                annotation is not derived from and not equal to any
of
>> >                the given filter values.";
>> >           }
>>
>>
>> Sorry for the late comment.  I think this should be “neither
derived-from nor equal to any of the given filter values”
>>
>> I think if it is derived-from but not matching the filter value, this
filter should apply.
>>
>> With Regards,
>> Rohit
>>
>> From: netconf [mailto:netconf-bounces@ietf.org
<mailto:netconf-bounces@ietf.org>] On Behalf Of Mahesh Jethanandani
>> Sent: 07 February 2019 03:46
>> To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de
<mailto:j.schoenwaelder@jacobs-university.de>>
>> Cc: Netconf <netconf@ietf.org <mailto:netconf@ietf.org>>
>> Subject: Re: [netconf] AUTH48 changes to RFC 8526
<draft-ietf-netconf-nmda-netconf-08>
>>
>>
>>
>>
>> On Feb 6, 2019, at 1:49 PM, Juergen Schoenwaelder
<j.schoenwaelder@jacobs-university.de
<mailto:j.schoenwaelder@jacobs-university.de>> wrote:
>>
>> Mahesh,
>>
>> can we assume that this edit is accepted and we can resume the AUTH48
>> process?
>>
>> Yes.
>>
>> This closes the one week review period. No comments were received on
the further clarifications proposed by the authors. As such, we will now
let the RFC Editor know to proceed with making the proposed changes.
>>
>> Thanks.
>>
>>
>>
>> /js
>>
>> On Tue, Jan 29, 2019 at 10:54:54AM -0800, Mahesh Jethanandani wrote:
>>
>> NETCONF WG,
>>
>> During the AUTH48 review of draft-ietf-netconf-nmda-netconf-08, the
authors found a couple of things that needed further clarification. The
edits are reflected in this e-mail using OLD: and NEW:. Since the
changes are technical changes, we needed to make sure that the WG was ok
with the changes. This starts a one week review period terminating next
Tuesday, February 5 to provide any comments you might have. If providing
comments, please be specific in the changes you would like to see,
preferably using your own OLD: and NEW:. If no comments are received, it
will be deemed that the changes are fine with the WG. The two set of
changes are in the YANG model itself, and in Section 3.1.1.4.
>>
>> In the YANG model:
>>
>> OLD:
>>
>>        choice origin-filters {
>>          when 'derived-from-or-self(datastore, "ds:operational")';
>>          if-feature "origin";
>>          description
>>            "Filters based on the 'origin' annotation.";
>>          leaf-list origin-filter {
>>            type or:origin-ref;
>>            description
>>              "Filter based on the 'origin' annotation.  A node
matches
>>               the filter if its 'origin' annotation is derived from
or
>>               equal to any of the given filter values.";
>>          }
>>          leaf-list negated-origin-filter {
>>            type or:origin-ref;
>>            description
>>              "Filter based on the 'origin' annotation.  A node
matches
>>               the filter if its 'origin' annotation is not derived
>>               from and not equal to any of the given filter values.";
>>          }
>>        }
>>
>> NEW:
>>
>>        choice origin-filters {
>>          when 'derived-from-or-self(datastore, "ds:operational")';
>>          if-feature origin;
>>          description
>>            "Filters configuration nodes based on the 'origin'
>>             annotation.  Configuration nodes that do not have an
>>             'origin' annotation are treated as if they have the
>>             'origin' annotation 'or:unknown'.
>>
>>             System state nodes are not affected by origin-filters and
>>             thus not filtered.  Note that system state nodes can be
>>             filtered with the 'config-filter' leaf.";
>>
>>          leaf-list origin-filter {
>>            type or:origin-ref;
>>            description
>>              "Filter based on the 'origin' annotation.  A
>>               configuration node matches the filter if its 'origin'
>>               annotation is derived from or equal to any of the given
>>               filter values.";
>>          }
>>          leaf-list negated-origin-filter {
>>            type or:origin-ref;
>>            description
>>              "Filter based on the 'origin' annotation.  A
>>               configuration node matches the filter if its 'origin'
>>               annotation is not derived from and not equal to any of
>>               the given filter values.";
>>          }
>>        }
>>
>> OLD:
>>
>>        leaf config-filter {
>>          type boolean;
>>          description
>>            "Filter for nodes with the given value for their
>>             'config' property.  If this leaf is not present, all
>>             nodes are selected.
>>
>>             For example, when this leaf is set to 'true', only
'config
>>             true' nodes are selected.";
>>        }
>>
>> NEW:
>>
>>        leaf config-filter {
>>          type boolean;
>>          description
>>            "Filter for nodes with the given value for their 'config'
>>             property.  When this leaf is set to 'true', only 'config
>>             true' nodes are selected and, when set to ‘false’, only
>>             ‘config false’ nodes are selected.  If this leaf is not
>>             present, no nodes are filtered.";
>>        }
>>
>> Add the following example to 3.1.1.4:
>>
>>    In order to not retrieve any system state nodes, the
>>    "config-filter" can be used:
>>
>>    <rpc message-id="103"
>>         xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
>>      <get-data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-nmda"
>>                xmlns:ds="urn:ietf:params:xml:ns:yang:ietf-datastores"
>>                xmlns:or="urn:ietf:params:xml:ns:yang:ietf-origin">
>>        <datastore>ds:operational</datastore>
>>        <subtree-filter>
>>          <bgp xmlns="http://example.com/ns/bgp
<http://example.com/ns/bgp> <http://example.com/ns/bgp
<http://example.com/ns/bgp>>"/>
>>        </subtree-filter>
>>        <config-filter>true</config-filter>
>>        <origin-filter>or:intended</origin-filter>
>>        <origin-filter>or:system</origin-filter>
>>        <with-origin/>
>>      </get-data>
>>    </rpc>
>>
>>    <rpc-reply message-id="103"
>>               xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
>>      <data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-nmda">
>>        <bgp xmlns="http://example.com/ns/bgp
<http://example.com/ns/bgp> <http://example.com/ns/bgp
<http://example.com/ns/bgp>>"
>>             xmlns:or="urn:ietf:params:xml:ns:yang:ietf-origin"
>>             or:origin="or:intended">
>>          <peer>
>>            <name>2001:db8::2:3</name>
>>            <local-port or:origin="or:system">60794</local-port>
>>          </peer>
>>        </bgp>
>>      </data>
>>    </rpc-reply>
>>
>> Thanks.
>>
>> Mahesh Jethanandani // as shepherd
>> mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>
>>
>>
>>
>>
>> _______________________________________________
>> netconf mailing list
>> netconf@ietf.org <mailto:netconf@ietf.org>
>> https://www.ietf.org/mailman/listinfo/netconf
<https://www.ietf.org/mailman/listinfo/netconf>
>>
>>
>> --
>> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
>> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen |
Germany
>> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/
<https://www.jacobs-university.de/>>
>>
>> Mahesh Jethanandani
>> mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>
> Mahesh Jethanandani
> mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>
>
>
>
> _______________________________________________
> netconf mailing list
> netconf@ietf.org <mailto:netconf@ietf.org>
> https://www.ietf.org/mailman/listinfo/netconf
<https://www.ietf.org/mailman/listinfo/netconf>



------------------------------------------------------------------------
--------


> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>