Re: [yang-doctors] [MBONED] Yangdoctors early review of draft-ietf-mboned-dorms-01

Reshad Rahman <reshad@yahoo.com> Sat, 01 May 2021 19:54 UTC

Return-Path: <reshad@yahoo.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 453C43A0BA9 for <yang-doctors@ietfa.amsl.com>; Sat, 1 May 2021 12:54:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.293
X-Spam-Level:
X-Spam-Status: No, score=0.293 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MALFORMED_FREEMAIL=2.391, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.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 cEJyxp8_cxVM for <yang-doctors@ietfa.amsl.com>; Sat, 1 May 2021 12:54:48 -0700 (PDT)
Received: from sonic301-3.consmr.mail.bf2.yahoo.com (sonic301-3.consmr.mail.bf2.yahoo.com [74.6.129.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E65FD3A0BA8 for <yang-doctors@ietf.org>; Sat, 1 May 2021 12:54:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1619898886; bh=wqbEHgNgnBg5dmtCPmqO96pzXc/vcqkuBn2HUHsQB4U=; h=Date:Subject:From:To:CC:References:In-Reply-To:From:Subject:Reply-To; b=IUl4c3gAUyVXwPEg5d4xwolUBMJA5dUFYYCjhSh4pl1sF32ajDpxf1t1qvkU2EEdb94ql+89tQKumJuC3u1B3G94Vd+KIQGzs1WltZoiODEfMw6Sp9k5xvZRyoW9DkJraEKBFlQdzr8iEfVocnL+aQTjfk86sc7ml4sgFmJ7hySORrjdu7oqI+ZUzCexoD2G5edKX+Pr6gKezXYc/mUa9LLmVbb6Ew5RCnSi9Y2pOMV/YbleCNXw9/VVbhy6hHxlaUaVtHXq3eM+/39eGnmrqGT6fTrliX3TJN8x+Iv5CRAhWMOUoLusoC/nCZTYBFQGo7UtCNJ9zr/rKHVmY88V+A==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1619898886; bh=pWX0MVddVBP+Xs2VvSoemK2dCnph/FDa7sU9zX6cR1y=; h=X-Sonic-MF:Date:Subject:From:To:From:Subject; b=Vr67LlWkIsw8imQ4NtFUmNqWVRhOY6FH8ptB4ypXK4+p8czvB3BweKijlYhdK3YIaTk5RqOmXEIbsh93WUMRUEpx6sMJC5J1l7sMq/3W9Q2nS5k/lFZWsVWE/3CjlMMMx8ydpvP6wSfFdsyeiYgyfzBrb7E0ymAFxeL/IObkk+tNg/AU9feIeLVt7/NyU1owgDaFHoYUOL2hUIUCF37Y2lAg6OzDoUTmqA3DuFiNYHAoMK1et1kgO8/xgiMe8r539Z8iiC2xVAa2jgW/etUfkUs4F1m3V+oZBbYwpZhn+dTi7N7nCuTgoXVHGtbsSmzcvdwFaiR6AeMgPs0KTGT8SQ==
X-YMail-OSG: lq8sLcIVM1k5OolqVQu3ncjSuW2BKaH7GVSNZpLHXQZDyuHQ6gcwuQetYAU6Z0b l.7RVp.3iaIBL5pN3txoHASC57ty5CbfYCBNUbvh3SIhUMltP5fZxJFh_H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hlDnLgsDcFEE5YW hsAEuWpkv5ggU.LjKddhpJDPeds4fxXVevjDh3COSyoMTP2DlzLWh6oDix1wL2syXgu.G08x.sVI yTLbXzY7tp3fcHOOjEtZCWsRrtidyXpsrNdWJYN_PwLz9gyzqr9SPwVi99RN95kBjnb3pQFfl5qN lNXjuKVfMkey5vwejcrSJW96SQ5vCp1IziM_hxw0S9ymX4oniI7ukULr36i6AxtToaxL.xdcE6yY g9wFL1E8.WAz6f8ZbIuM..UIYzkZeRAOH71Q7T2WBesKcAf82VojBeQCpJbVOXR_jL8tMu1kZA4W CPcDgyT0JJ8i1e0iWKRR8dQiTtZqTNTPJkwW2T0jyfdXGMxYcVipgtrPhPg2f9fi6b66SkgibT_f pvZfiIKnEkKKfkCVsmn80EL7ghNe5LjPiuLNDNNiAmZ.h7lEHnmpWgZjdol6pKG9Defvbs7aVXZc BwD7jTp1ScUitOYmrDCOiV878vwudqLkxRWIlMTcHKKpcJ7Q85DOYJaX.GP1sT6tTnf9cFA--
X-Sonic-MF: <reshad@yahoo.com>
Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Sat, 1 May 2021 19:54:46 +0000
Received: by kubenode548.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 25ae1ff98488f4ae3b2fc1a9a399c038; Sat, 01 May 2021 19:54:44 +0000 (UTC)
User-Agent: Microsoft-MacOutlook/16.44.20121301
Date: Sat, 01 May 2021 15:54:41 -0400
From: Reshad Rahman <reshad@yahoo.com>
To: "Holland, Jake" <jholland@akamai.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
CC: "mboned@ietf.org" <mboned@ietf.org>, "draft-ietf-mboned-dorms.all@ietf.org" <draft-ietf-mboned-dorms.all@ietf.org>
Message-ID: <40538EED-BA54-4B59-8CD6-3581A0EF6507@yahoo.com>
Thread-Topic: [MBONED] Yangdoctors early review of draft-ietf-mboned-dorms-01
References: <161817467857.25277.18208608025617706305@ietfa.amsl.com> <638228C3-4B8B-463A-8B64-CA9553E6A432@akamai.com>
In-Reply-To: <638228C3-4B8B-463A-8B64-CA9553E6A432@akamai.com>
Mime-version: 1.0
Content-type: text/plain; charset="UTF-8"
Content-transfer-encoding: quoted-printable
X-Mailer: WebService/1.1.18138 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/16)
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/E4DwhhcqLt-AfOGAT0ncuz6zSkE>
Subject: Re: [yang-doctors] [MBONED] Yangdoctors early review of draft-ietf-mboned-dorms-01
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 01 May 2021 19:54:52 -0000

Hi Jake,

Trimmed response below.

On 2021-04-17, 7:22 PM, "Holland, Jake" <jholland@akamai.com> wrote:

    Hi Reshad,

    Thanks again for your review(s), much appreciated!

    On 04-11, 1:58 PM, "Reshad Rahman via Datatracker" <noreply@ietf.org> wrote:
    > Caveat: I won't pretend to fully understand the motivation behind DORMS. I've
    > reviewed this mostly from a YANG perspective.

    Thanks for the note, and I think that was the main intent of the
    review request and a very reasonable choice in making your review.
    But this makes me want to ask a clarifying question:

    Is this more of a "I didn't try to grasp the motivation", or a "I
    tried and failed to grasp the motivation"?
<RR> Neither __ . What I meant is that I just looked at this document and didn't go digging in mail archives or WG presentations, and I am also not a multicast expert (but familiar with SSM). So I had no idea whether there was more to this.
Section 1.3 is clear and yes the IETF106 slides do help but I think 1.3 is good. 

    I'm trying to understand whether I should read this comment as
    evidence of a substantial weakness in section 1.3, or as a note
    that you didn't try hard to follow that section and aren't commenting
    one way or the other?
    https://datatracker.ietf.org/doc/html/draft-ietf-mboned-dorms-01#section-1.3

    I'm assuming the latter, but if it's the former I'd be grateful for
    elaboration on the trouble you had (perhaps without the YANG doctor
    hat on, if that helps any).  So just in case it's the former and
    you need a better context before you know how to answer, here's the
    link to the presentation ahead of adoption that tried to go over the
    purpose:
    https://www.youtube.com/watch?v=ttGJyd5is2w&t=3525s
    https://datatracker.ietf.org/meeting/106/materials/slides-106-mboned-multicast-to-the-browser

    If the motivation was unclear in the doc but clear(er) in the
    presentation, I'd be grateful for any explanation of what's missing,
    if you saw something you can explain.

    > Comments/questions:
    > - OOC, why is DORMS limited to RESTCONF? I do understand why RESTCONF is
    > appealing, but potential deployments might be using NETCONF, CORECONF or gNMI?

    The intent is to provide a sort of minimal protocol suite that
    remote clients can rely on being present when they implement
    discovery.  However, there's no reason that other protocols
    couldn't be used in some deployments, I guess.  I could add a
    note to that effect.  Any objections to this text?

      This document does not prohibit the use of the "ietf-dorms"
      model with other protocols such as NETCONF, CORECONF, or gNMI,
      but the semantics of using the model with those protocols is out
      of scope for this document.  This document only defines the
      discovery and use of the "ietf-dorms" YANG model under RESTCONF.
<RR> While I am ok with the text above and focussing on RESTCONF in these documents, it is unfortunate that the R in DORMS is for RESTCONF. Because afaik nothing in these 2 documents prevent another protocol from being used? E.g. the DNS query could return info on a server (NETCONF or gNMI), not just a RESTCONF server?
However, since the WG adopted this document, the WG is fine with this being RESTCONF specific. So maybe my thoughts on this are biased and they have nothing to do with the YANG model itself.

    > - "mandatory" is not needed for list keys, it's actually ignored as mentioned in
    > RFC7950 section section 7.8.2

    Does this mean I should remove it?  This wasn't in the list of recommended
    omitted default values from section 4.4 of RFC 8407, so I wasn't sure.

    Even if it wasn't a key (e.g. if the key somehow became a numeric id),
    having this value would be mandatory, so I thought it was better to make
    it explicit, but I don't have any other objections and will accept your
    expert opinion if you confirm that you think it's better off removed.
<RR> You can keep it, as long as the tools don't complain.

    > - 7.1 Security considerations, looks like the read-only data is not deemed
    > sensitive, please add a statement to that effect.

    I thought section 7.2 tries to cover this, are you saying 7.1 needs to
    address it also?  Or maybe saying that something needs to explicitly
    discuss the fields as described by section 3.7 of RFC 8407?
<RR> Yes 7.2 covers this but I think explicitly listing the impact of the fields as per RF8407 would be good.

    > Regarding NACM, consider a SHOULD instead of MAY?

    I don't think a SHOULD is appropriate here for a broadcast use case, so
    I don't think this should have a blanket SHOULD (though for other use
    cases it might make more sense, which is why I wanted to make sure
    clients would understand it's possible, which is why I put in the MAY).
<RR> Add the text above to explain this. Anyway, I'll defer to security review on this.

    > - Even though the YANG model is not complex, adding an example always helps.

    I agree, but I think there's an example in section 2.3.4:
    https://datatracker.ietf.org/doc/html/draft-ietf-mboned-dorms-01#section-2.3.4
<RR> You are correct, this is enough in this document. Please make sure the examples are verified/validated (e.g. with yanglint).
Also, I'd usually suggest using documentation addresses but since this is multicast...

Regards,
Reshad.

    So I'm not sure I understand what other examples should be added.
    Are you saying I should have an example that includes an augmentation?
    (And if so, is the link to another spec that does it sufficient, such
    as the CBACC reference in section 4?) Or is there another kind of
    example that seems to be missing, or that you think would be
    especially helpful?

    But I'll make a note to look for some places that could use more
    examples, thanks for raising the point.


    Thanks for another very helpful review!

    Best regards,
    Jake