Re: [netmod] WG Last Call: draft-ietf-netmod-schema-mount-07

Robert Wilton <rwilton@cisco.com> Wed, 08 November 2017 14:51 UTC

Return-Path: <rwilton@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 304D81270A7 for <netmod@ietfa.amsl.com>; Wed, 8 Nov 2017 06:51:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 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, 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 xIIVJU-6AO5E for <netmod@ietfa.amsl.com>; Wed, 8 Nov 2017 06:51:32 -0800 (PST)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E704F12706D for <netmod@ietf.org>; Wed, 8 Nov 2017 06:51:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=18121; q=dns/txt; s=iport; t=1510152692; x=1511362292; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=EJIddbcsMqeevtMjr6hkECilps4FRZ6OClu3DttmCxc=; b=V+oQTul0KBOLMP2emQEFoSGFtPeCX9ne4Faww2FV50CgbQcONqWHcs8n P6NFuu0Vfb/M0Poz3sni/+u79AHMiPVpgS7kqLF1TGDil5sr+SaN2355Y 7m9+rPFjy7xTNGxW1zkMiC3UwZm4ON4Tuh3+Bgga0U+rkpQAZRi37HIBJ w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0COAADAGANa/xbLJq1dGQEBAQEBAQEBAQEBAQcBAQEBAYJEgVRuJ4N9ih90kC2RBIVIEIIBChgBCoFegmtPAoU7GAEBAQEBAQEBAWsohR4BAQEBAgEBASFLGwsYKgICJzAGAQwGAgEBihcIEKlEgicminYBAQEBAQEBAQEBAQEBAQEBAQEBAQEYBYMwg1uBaSmDAYRiARIBCYMrgmMFkWGHKYkQlH6CFYYEg2AkhxuOModvgTkfOIEDbjQhCB0VSYJkhF9BNologjUBAQE
X-IronPort-AV: E=Sophos;i="5.44,364,1505779200"; d="scan'208,217";a="97173"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Nov 2017 14:51:29 +0000
Received: from [10.63.23.76] (dhcp-ensft1-uk-vla370-10-63-23-76.cisco.com [10.63.23.76]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id vA8EpTvo013089; Wed, 8 Nov 2017 14:51:29 GMT
To: "netmod@ietf.org" <netmod@ietf.org>, Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>
References: <47B1141C-8979-4910-B7CA-2114B9C0D352@juniper.net> <68c6a4d5-fd3e-efdb-9c34-f69f241d6a31@cisco.com> <874lq4oq94.fsf@nic.cz>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <7d8a8b01-6d3b-ac29-dd58-f2771ecdad56@cisco.com>
Date: Wed, 08 Nov 2017 14:51:29 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <874lq4oq94.fsf@nic.cz>
Content-Type: multipart/alternative; boundary="------------15ADA7E6E82E8D005A208937"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/vJftgbPy-ZPwm65KjR5E7Hc4SHA>
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-schema-mount-07
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Nov 2017 14:51:35 -0000


On 08/11/2017 13:26, Ladislav Lhotka wrote:
> Hi Rob,
>
> thank you for the review, my replies are inline.
>
> Robert Wilton <rwilton@cisco.com> writes:
>
>> Hi,
>>
>> I have read this document and think that is almost ready for publication.
>>
>> I have one general comment regarding the YANG module library (at the
>> end), and a few nits, but otherwise the draft looks good.
>>
>> 1. Sec 1. Introduction paragraph 2, "internal node".  It wasn't
>> absolutely clear to me what an internal node is, so I wonder whether
>> this would be more clear as  "internal (i.e. non root) node".
> Agreed, but probably with a hyphen: "non-root"?
OK.

>
>> 2. Sec 1. Introduction, page 4, paragraph starting "2.
>> Implementation-time ...".  This section states that it is a stable as
>> YANG library, and hence cannot change due to a server reboot. However,
>> YANG library doesn't appear to have that restriction, and hence this
>> doesn't seem to align with RFC 7895, introduction paragraph 2.
> I don't know exactly under what circumstances YANG library can change
> after a reboot, but in such a case schema-mounts data might be subject
> to a change as well. I definitely think that the "run-time" case is
> something else.
A software upgrade could quite reasonably change YANG library without a 
device reboot.  Perhaps saying less is more precise:

E.g.

    2.  Implementation-time: the mounted schema is defined by a server
        implementor and is as stable as YANG library information. Also,
        a client can learn the entire schema together with YANG library data.


Or alternatively, you say that it is at least as stable as the YANG 
library information, and then list when it could change.


>
>> 3. Sec 2.1 Glossary of New Terms:  "Schema" isn't actually defined
>> anywhere (RFC 7950 doesn't define this).  Should it be defined here?
>> The NMDA datastores draft had a similar issue and we choose to define
>> "datastore schema" instead.
> I think the right place for defining the term "schema" (and "data model"
> as well) is the specification of YANG because it is desirable that all
> documents related to YANG use the same meaning.
OK, 7950 doesn't define it today.  Is that a problem?

>
>> 4. Sec 3.2. paragraph 1.  Same comment as 2 above also applies here.
>> The text "same management session" might be more clear as "same client
>> management protocol session".
> Hmm, I wouldn't say this is more clear - it seems to indicate that we
> are managing the client.
My issue is that "same management session" isn't really that clear to 
what it is referring to.  Perhaps drop the "client" and have "same 
management protocol session"?


>
> But it could also be that such rules are inappropriate in this document and
> rather belong to a protocol spec.
I think that they are OK here if this draft defines the lifetime of the 
schema.  If it is just the same as YANG library, then perhaps this could 
be left to the YANG library spec to specify?

>
>> 5. Sec 3.2. paragraph 2, last sentence: "are possible and such needs" =>
>> "are possible, and as such, needs"
> I actually don't understand neither this sentence nor what the point of
> such exceptions could possibly be.
An example would presumably be where effectively the same data is being 
mounted in a separate place.  E.g. the list of physical interfaces in an 
LNE may represent a subset of all physical interfaces in the device, 
that would also be present in the host model.
>
>> 6. Sec 3.2 paragraph 5.  Would it useful to state that even though the
>> schema is the same, the data is different and not necessarily related.
> I think this goes without saying, as it is also the case for a single mount
> point that is a list node - data in each entry is different.
In Sec 3.2 paragraph 2, it clarifies that the mounted data is generally 
separate from the parent data.  For paragraph 5, I still that it is 
useful to state the equivalent that if a schema is mounted twice it 
doesn't mean the same data is mounted in both places.


>
>> 7. Sec 3.3 last paragraph.  "On the other hand, " => "In addition, "
> Yes.
>
>> 8.  Sec 6 Implementation Notes.  Would this section be better named
>> "Implementation Considerations"?
> Agreed.
>
>> 9. Structure of ietf-yang-schema-mount module:
>>     - Should "uri" under namespace be marked as "mandatory" so that it
>> doesn't appear to be optional in the tree diagram.
> Yes, this is an omission.
>
>>     - Should the "module" name be included under the namespace.  It seems
>> that lots of other "module bindings" are done via the module name rather
>> than the namespace?
> We need it exclusively for XPath, so it seems natural to stay close to XML
> namespaces.
I was suggesting that it might be useful to add "module" in addition to 
namespace.

>
>> 10. Example A.3.  This contains some features that are enabled. Possibly
>> it would be useful in the description to point this out, and state that
>> unless the features are listed they wouldn't be enabled.
> Yes, we reuse the groupings from ietf-yang-library, and the idea is to
> apply the same semantics. And as you are saying below, it would be more
> straightforward to integrate it directly with YANG library.
>
>> My last general comment relates generally to the structure of the
>> Iietf-yang-schema-mount.  As Lada has pointed out previously, this
>> module and YANG library bis could be more closely aligned (e.g. along
>> the lines of reusing module-sets for the "schema" list).  It would have
>> been nice if this module could augment YANG library (so that you can
>> easily get the modules and schema mount information in a single simple
>> request), however that would put an undesired dependency delaying
>> publishing this draft until YANG library bis is completed.
> Of course I agree, but I think the priority should be to make things as
> simple and easy to understand as possible. They are complex enough
> anyway.
Thanks,
Rob


>
> Thanks, Lada
>
>> Thanks,
>> Rob
>>
>>
>> On 20/10/2017 22:37, Kent Watsen wrote:
>>> All,
>>>
>>> This starts a two-week working group last call on
>>> draft-ietf-netmod-schema-mount-07.
>>>
>>> The working group last call ends on November 3.
>>> Please send your comments to the netmod mailing list.
>>>
>>> Positive comments, e.g., "I've reviewed this document
>>> and believe it is ready for publication", are welcome!
>>> This is useful and important, even from authors.
>>>
>>> Could the authors, explicitly CC-ed on this email,
>>> please also confirm one more time that they are
>>> unaware of any IPR related to this draft.
>>>
>>> Thank you,
>>> Netmod Chairs
>>>
>>>
>>> _______________________________________________
>>> netmod mailing list
>>> netmod@ietf.org
>>> https://www.ietf.org/mailman/listinfo/netmod
>>> .
>>>