Re: [RTG-DIR] RtgDir review: draft-ietf-netconf-nmda-netconf-06

Kent Watsen <kwatsen@juniper.net> Mon, 30 July 2018 18:44 UTC

Return-Path: <kwatsen@juniper.net>
X-Original-To: rtg-dir@ietfa.amsl.com
Delivered-To: rtg-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F393A130EAF; Mon, 30 Jul 2018 11:44:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 JMreU5-ZihYo; Mon, 30 Jul 2018 11:44:52 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 BF9FE130E2A; Mon, 30 Jul 2018 11:44:52 -0700 (PDT)
Received: from pps.filterd (m0108157.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6UIdDct009298; Mon, 30 Jul 2018 11:44:52 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=m5Xe71C2fZZfCRy6wZ+UYD37vlzTurH3ZguLjaa7/9Y=; b=m1UL85ROSqoYgCzWUSLmXXkVL8H7Isxh2Iusd6woxjFQjf8ES8uhUsdfi5BXggvdw/0m 7iOwhx8wA/HephPwxdmwo2uFcy8jyfzmbE5my5MNKi9NC3WxqWDbXjMlQoP8q4FcDVpv mhkjyTDJ8plJl7u7DI8eT7/wi5+tuE4HEF4ls0qt2MZhwq/uan2cgkl98Mc32JczBtdr sutOojHduOqSV5riFP4rRR55Iiq/xv/i5W/fzUYHOvC6EduU/dgkAD1QIxgParNbnj5y 2b0OmfcGphy093LBiJzkSd83B1vTe8yNjmewxG7Z9YU/JSJ02wjr5eXKfIqjXoik81Ok WA==
Received: from nam04-sn1-obe.outbound.protection.outlook.com (mail-sn1nam04lp0079.outbound.protection.outlook.com [216.32.180.79]) by mx0a-00273201.pphosted.com with ESMTP id 2kj6jg08jk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 30 Jul 2018 11:44:52 -0700
Received: from BYAPR05MB4230.namprd05.prod.outlook.com (52.135.200.153) by BYAPR05MB4294.namprd05.prod.outlook.com (52.135.202.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.13; Mon, 30 Jul 2018 18:44:49 +0000
Received: from BYAPR05MB4230.namprd05.prod.outlook.com ([fe80::84c5:999c:9159:d416]) by BYAPR05MB4230.namprd05.prod.outlook.com ([fe80::84c5:999c:9159:d416%2]) with mapi id 15.20.1017.010; Mon, 30 Jul 2018 18:44:49 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Lou Berger <lberger@labn.net>, "<rtg-ads@ietf.org>" <rtg-ads@ietf.org>
CC: "draft-ietf-netconf-nmda-netconf.all@ietf.org" <draft-ietf-netconf-nmda-netconf.all@ietf.org>, "rtg-dir@ietf.org" <rtg-dir@ietf.org>, NetConf WG <netconf@ietf.org>
Thread-Topic: RtgDir review: draft-ietf-netconf-nmda-netconf-06
Thread-Index: AQHUKCzBDpiIugQtK0SkL7+XCQ1RjqSn11+A
Date: Mon, 30 Jul 2018 18:44:48 +0000
Message-ID: <97D5F408-3318-4843-B14C-B9C38DB8B218@juniper.net>
References: <7872c72c-cb9a-efcd-578b-fca5beb8ffd6@labn.net>
In-Reply-To: <7872c72c-cb9a-efcd-578b-fca5beb8ffd6@labn.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
x-originating-ip: [66.129.241.12]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BYAPR05MB4294; 6:p2cqork218I5VTqAzLpHTnGqz1yXMxhsk7/UBBpHqXbNlnpiQDu3EpAPbJRzdjM/Sn8+W0KFAvcrLzs/MXTsWSAGiYNjDsrNqh3dS6nLql6Q0QDeo/bXzBZe+aWbB8bLJ7KRtIT4gUEEC+vfZmGsL+rVoX9NdzA0Cy5yE9tjaW5z2Z1qZi/nqe6Tshn83d4Y0tblesRERfZXxpnkzW/HSheSPVACaok+TPQwuZ9ZGyOD4j2JTgm9IDh0MS1OjB4Z7oqgFE2J/tfTPYGkIi1MXB2fhbn2KeBM+NKEUBNaAvCu2IxZJYk3NaOfuhj7I3PW3r/ZhrgTTGIrKohBG17TJNXhSYqDeuCT9+UGuALS4l21SNJoIqpe5cikC/tpK548MsF+J3HhblgGfmJAtvE7QPcTzVH7nTm5khxG8gzA2+nrY9NzGpuqYaC542cX4e1+HIeyIsvxDOkFWlfPBXM9HQ==; 5:+PohbBcwVetq3ABhxxckg4bzZyP1zJ0SzxQxQf58TGikM1Omu86P6BH4fze7onrw62HNxk7JCx4V4ypyzhIuunJ3l37/8g5IaoTi0OP64qe74FyWEh6BbK0drpKA/q9BDpzo7NmlV8uS6huTYqAJAErk1MpqrOxfqNkSOo3BTgk=; 7:5XEJtApANyA4IWJ78ozbPu9Lj3cFwRQH5bqiPNTVLZP2RyRCcCqxR0qGmbjPDxZ+FNDGvnyZzmo5rwODfo81BuxQyi3Dz/ga5S4Tu4pXDbVrxHIFAniZAt8rVbK51931Mu8EMjZZs5YG+bVAl84OtquSKGQakz7nUcHo+SlSxayo/4uaCeJTo3F7PuMJtNhDunzL30al40sfB5Hg5C3TvT2yDeXlXbQhEcq0G+K7VH7SyGwfemYAN8zyNBF5Bn+Z
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: ea66f613-8218-4cac-5603-08d5f64c8751
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:BYAPR05MB4294;
x-ms-traffictypediagnostic: BYAPR05MB4294:
x-microsoft-antispam-prvs: <BYAPR05MB42945BC1F8B3B57FB7DDF76BA52F0@BYAPR05MB4294.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:BYAPR05MB4294; BCL:0; PCL:0; RULEID:; SRVR:BYAPR05MB4294;
x-forefront-prvs: 0749DC2CE6
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(366004)(39860400002)(396003)(136003)(346002)(189003)(199004)(58126008)(11346002)(54906003)(110136005)(53936002)(316002)(6246003)(25786009)(4326008)(36756003)(5250100002)(82746002)(102836004)(446003)(99286004)(6512007)(305945005)(6436002)(76176011)(83716003)(229853002)(2906002)(6486002)(6506007)(7736002)(2900100001)(3846002)(5660300001)(6116002)(97736004)(2616005)(476003)(33656002)(105586002)(106356001)(486006)(8676002)(86362001)(81166006)(81156014)(14454004)(478600001)(14444005)(66066001)(186003)(26005)(256004)(68736007)(8936002)(491001); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB4294; H:BYAPR05MB4230.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: Pzt83x2Zn9yHLO5QNNf0gvpqLdn5fHjZUlAAXSFh1sVyxRmWQcYVld7Cp7y4A4eplspEwsC0aY6olpaKdu9Lucw0kBwth5beONAoT39br0MIPhJ9Ws6qzWg7LYPzEaKQ/D1Z7m6duEa34QJNW4LfDVOup+oHDc4mgFeTpCCkmfdIVYrabyhGy5e63wh40zLnYXrSDXhimfxpKRoVoJyCe33KtwdEnMFyUVceBTrm62Q3wjQEO89PZc6p+u5V5Tpskru5TVeXaSroGLO0YD9xOGiYqIOpgUDmnL8tReSBiBYVwHsoHCO16fYSjHM6MQ3hepSIFIYA0nuJ26Tbr3fcdGcZ38FkAeIB3XaI8NdfQ7E=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <6CB654F886B89E4F8A79665B03A747C1@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: ea66f613-8218-4cac-5603-08d5f64c8751
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2018 18:44:48.9874 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4294
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-07-30_08:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807300198
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-dir/TODrjeRa-LaEpXQlSFHA7tSSF3g>
Subject: Re: [RTG-DIR] RtgDir review: draft-ietf-netconf-nmda-netconf-06
X-BeenThere: rtg-dir@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Routing Area Directorate <rtg-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-dir/>
List-Post: <mailto:rtg-dir@ietf.org>
List-Help: <mailto:rtg-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2018 18:44:55 -0000

Hi Lou,

Thanks for your review!

> Summary:
>
> I have some minor concerns about this document that I think should be 
> resolved before publication.
>
> Comments:
>
> The document is is generally well written and easy to read.  There are 
> several places where I'm sure the authors know exactly what they intend, 
> but the text could be revised to help along those less familiar with the 
> work.  There is also one miss-marked RFC Update reference.

Just to be sure, all these issues are discussed below, right?


> Major Issues:
>
> <none>
>
> Minor Issues:
>
> - Cover/Abstract
>    Updates: 7950
>
>    The update to
>    RFC 7950 requires the usage of I-D.ietf-netconf-rfc7895bis by NETCONF
>    servers implementing the Network Management Datastore Architecture.
>
> If I read this and the referenced document correctly, this is saying 
> that I-D.ietf-netconf-rfc7895bis updates which version of YANG library 
> is supported by implementations RFC7950 that support NMDA.  If this is 
> the correct reading, this document doesn't update RFC7950, but rather 
> I-D.ietf-netconf-rfc7895bis updates 7950. (this omission was noted in a 
> separate message.)

The last paragraph in Section 2 says this:

   This document updates [RFC7950], Section 5.6.4, to allow servers to
   advertise the capability :yang-library:1.1 instead of :yang-
   library:1.0, and to implement the subtree "/yang-library"
   [I-D.ietf-netconf-rfc7895bis] instead of "/modules-state".

Note that RFC 7950, Section 5.6.4 says:

   A NETCONF server MUST announce the modules it implements (see
   Section 5.6.5) by implementing the YANG module "ietf-yang-library"
   defined in [RFC7895] and listing all implemented modules in the
   "/modules-state/module" list.

Which is what this document changes.



> - section 3.1.1.
>
>    The "config-filter" parameter can be used to retrieve only "config
>    true" or "config false" nodes.
>
>    also
>          leaf config-filter {
>            type boolean;
>            description
>              "Filter for nodes with the given value for their
>               'config' property.";
>          }
>
> So this means:
>     absent = provide all
>     true = provide only true
>     false = provide only false
>
> Right? Either way, I think this could be clarified a bit.  At least say 
> what behavior is expected when the leaf is omitted.

OLD:
             "Filter for nodes with the given value for their
              'config' property.";
NEW:
             "Filter for nodes with the given value for their
              'config' property.  For example, when set to 
              'true', only 'config true' nodes are returned.
              When unset, all nodes are returned.";

Okay?



> Nits:
>
> - the orders of sections 3.1.1.1. and 3.1.1.2. should be reversed to 
> match the module ordering.

...or change the order in the module, which I think might be preferred.



> - Section 3.1.2:
>
>     The "default-operation" parameter is a copy of the
>     "default-operation" parameter of the <edit-config> operation.
>
>     The "edit-content" choice mirrors the "edit-content" choice of the
>     <edit-config> operation.  Note, however, that the "config" element in
>     the "edit-content" choice of <edit-data> uses "anydata" (introduced
>     in YANG 1.1) while the "config" element in the "edit-content" choice
>     of <edit-config> used "anyxml".
>
> It's fine to say that these nodes mirror <edit-config> nodes, but this 
> document should at least summarize the function of each, e.g.,
>      The "default-operation" parameter selects the default operation
>      for this request. It is a copy....

NEW
     The "default-operation" parameter selects the default operation to
     use.  It is a copy of the "default-operation" parameter of the 
     <edit-config> operation.

     The "edit-content" parameter specifies the content for the edit 
     operation.  It mirrors the "edit-content" choice of the
     <edit-config> operation.  Note, however, that the "config" element in
     the "edit-content" choice of <edit-data> uses "anydata" (introduced
     in YANG 1.1) while the "config" element in the "edit-content" choice
     of <edit-config> used "anyxml".


Okay?


Thanks,
Kent // co-author