Re: [netmod] Rfc8407 - what does this text mean?

Andy Bierman <andy@yumaworks.com> Fri, 23 February 2024 01:25 UTC

Return-Path: <andy@yumaworks.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 3CF6FC180B56 for <netmod@ietfa.amsl.com>; Thu, 22 Feb 2024 17:25:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.106
X-Spam-Level:
X-Spam-Status: No, score=-7.106 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2DUALyujpyuT for <netmod@ietfa.amsl.com>; Thu, 22 Feb 2024 17:25:34 -0800 (PST)
Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 04899C17C8A2 for <netmod@ietf.org>; Thu, 22 Feb 2024 17:25:33 -0800 (PST)
Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-29938dcb711so338511a91.0 for <netmod@ietf.org>; Thu, 22 Feb 2024 17:25:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1708651533; x=1709256333; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=7patfpq3ofTrUe+JKZc0rqeF7Cfifg5Mca4GjdRzLUM=; b=lf/7+pAuXeIMKnV4G1maboVRdCig4rBhcYqS1brbXHUAK2GHEHtKe8tTFHxnozjJpS UJPEO2bOlwT65hceMM3By9b6MG8omz5X+SEzc2TnHSVc1bwx4/rZp6NccvlEq5Q2VIIY qoYDE57t5/f7HRZffAcEAHiYmddyUqZNnhF/iF3e5hDf/I5YYqc93r4IRvaGm8OCKM5C R5Ay56ronxvBmZHIqs0X+Jbyt1TLFWQRa5mtHmsnPyerr8HL0JDpVIQa+FEwGrO5qw85 odVWzMbF0Bv27rhoreWL99IUHARF+7rpK0dQriQ/D2DGY98Gh0X7hF9yIEAt5kM5zKac vzmw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708651533; x=1709256333; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7patfpq3ofTrUe+JKZc0rqeF7Cfifg5Mca4GjdRzLUM=; b=VusoFQ1nWy6epdD+JUQ8PTaZ2p+kTLf3coqK1huKxP3jk3KYgSBxWtw8ES8EHvALam /BPyy7DeBDZTPNBSt+ZiSSPEFKOmq86sSBLXW7ugzayUFPZlcTGNkPasnSFEFUuFa3wR r6/Ir054fYABF9sjYHijA5jz58hLsYSl2mZA7jbyzGE24rzZi60IbgVtjS7fn4PjWksV Nnys8Ggan2O3eBpnZB40BHLkLEbEVxM/KkyLAS1prqNLHj6hXRMF7OovmhBXyIXadrGW hpSZqDyuqyQ+w7GIBsrpI8VWr5FnCxIBld5rCkpRVacQNN6cvmq/CWUlqTc54MAQ1phO FNKA==
X-Forwarded-Encrypted: i=1; AJvYcCUn+ik9QQshqy74wkiNvqQbu/fiLNL1WJ227dLzGneYd8Ove1ndGxMTOhzHdy0M/7KSoJAoxl97ADkJUMgnPB0=
X-Gm-Message-State: AOJu0Yy4GxBPMUkmFA7Bnv+OrpSX9Hl39Il5TpQVuE1BOHMrFhQqv7/T kqZma9crvKJTv0xu6ZQskscpVbqmIjGKwqdCtOFUc/nUt2TfUsZcCIEYU1sdI0EZ5hDLgik5tn2 DEtI617PRui2cMZuL2MptENfEcjGfT6efOHpbOw==
X-Google-Smtp-Source: AGHT+IGenDenWcboxbXlME3ACekySUonDOZOKJkuG9K2CFpGl/MCHQEc4jMzrMOSfyY1vPFD/kDdANParQOdldzfWqY=
X-Received: by 2002:a17:90a:c28c:b0:299:879a:7da7 with SMTP id f12-20020a17090ac28c00b00299879a7da7mr517409pjt.34.1708651533038; Thu, 22 Feb 2024 17:25:33 -0800 (PST)
MIME-Version: 1.0
References: <0100018db387ce0a-80850b96-bf6b-4978-afde-27d38f36bcd8-000000@email.amazonses.com> <CABCOCHQpvAwYbPyXqOW3P=4GWhCdWWmmKaQh4eubetSn0VMyLQ@mail.gmail.com> <0100018db3b387be-74bd44a5-35a1-463f-b787-84a2177c1800-000000@email.amazonses.com> <DU2PR02MB10160E3ED307A860258A8E28588512@DU2PR02MB10160.eurprd02.prod.outlook.com> <0100018dc1dc6029-466c9a12-e954-42e7-ab25-9d999aeeb360-000000@email.amazonses.com> <CABCOCHToJpJ0PEzMkaGKDKgoCL1n15HDAQW2-NoxMGLOxh5Qbw@mail.gmail.com> <DU2PR02MB1016071438155ADC0B35152F988502@DU2PR02MB10160.eurprd02.prod.outlook.com> <CABCOCHSqc-Lz=-wsZGEqQWHFc3yZSeuEhVthshmwrcrZOQVddA@mail.gmail.com> <DU2PR02MB10160E311E07758FCF62A038D88572@DU2PR02MB10160.eurprd02.prod.outlook.com>
In-Reply-To: <DU2PR02MB10160E311E07758FCF62A038D88572@DU2PR02MB10160.eurprd02.prod.outlook.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 22 Feb 2024 17:25:20 -0800
Message-ID: <CABCOCHTkXFa0BVPMiUVWag0CDq7gXzP3Ox6ruPk+SnU63qH7kw@mail.gmail.com>
To: mohamed.boucadair@orange.com
Cc: Kent Watsen <kent+ietf@watsen.net>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ac12560612026fac"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/eYI2Mufi5Cy4_4xkxt4bIqNlnHE>
Subject: Re: [netmod] Rfc8407 - what does this text mean?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 23 Feb 2024 01:25:38 -0000

Hi,

I don't think the issue is whether a foo-state module is included in the
RFC or not.
There is an algorithm to produce the foo-state module for vendors to use.

IMO the NMDA guideline should indicate "need NMDA", and be present if it is
believed that the operational state can be
different than the config. In that case a <get-data> on <operational> would
be useful.
If not, then the foo-state module is not even relevant.


Andy


On Tue, Feb 20, 2024 at 10:34 PM <mohamed.boucadair@orange.com> wrote:

> Hi Andy,
>
>
>
> Please see inline.
>
>
>
> Cheers,
>
> Med
>
>
>
> *De :* Andy Bierman <andy@yumaworks.com>
> *Envoyé :* mardi 20 février 2024 18:19
> *À :* BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com>
> *Cc :* Kent Watsen <kent+ietf@watsen.net>; netmod@ietf.org
> *Objet :* Re: [netmod] Rfc8407 - what does this text mean?
>
>
>
>
>
>
>
> On Mon, Feb 19, 2024 at 11:39 PM <mohamed.boucadair@orange.com> wrote:
>
> Hi all,
>
>
>
> I updated the PR to use a wording aligned with 4.23:
>
>
>
> NEW:
>
>    If the document contains a temporary non-NMDA (Network Management
>
>    Datastore Architecture) [RFC8342], then the Introduction section
>
>    should mention this fact with the reasoning that motivated that
>
>    design.  Refer to Section 4.23 for more NMDA-related guidance.
>
>
>
>
>
>
>
> Does this mean that the Transition to NMDA is completed, and it is now
> considered a bad idea
>
> to include a non-NMDA 'state' module?
>
> *[Med] We don’t actually change the core NMDA guidance (hence the pointer
> to 4.23). All we do here is, given the SHOULD NMDA-compliant reco in 4.23
> and the practice adopted for published modules since then, we encourage
> highlighting exceptions (MAY temporary thing in 4.23) in the Introduction
> rather than the SHOULD.*
>
>
>
>   Most deployments (90%?) are non-NMDA.
>
> The motivation will always be to allow this 90% to retrieve the
> operational values of specific configuration data.
>
>
>
> Cheers,
>
> Med
>
>
>
>
>
> Andy
>
>
>
> *De :* Andy Bierman <andy@yumaworks.com>
> *Envoyé :* lundi 19 février 2024 19:58
> *À :* Kent Watsen <kent+ietf@watsen.net>
> *Cc :* BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com>;
> netmod@ietf.org
> *Objet :* Re: [netmod] Rfc8407 - what does this text mean?
>
>
>
>
>
>
>
> On Mon, Feb 19, 2024 at 6:54 AM Kent Watsen <kent+ietf@watsen.net> wrote:
>
> Hi Med,
>
>
>
> On Feb 19, 2024, at 3:29 AM, mohamed.boucadair@orange.com wrote:
>
>
>
> Hi Kent, all,
>
>
>
> I also think that highlighting the exceptions + motivate them makes sense
> here. A PR to fix that can be seen at [1].
>
>
>
> Thank you.
>
>
>
> I hope folks express objections now, before WGLC, as an expeditious
> resolution helps me close off an IESG review comment in NETCONF.
>
>
>
> Guidelines should be specific and clear.
>
> This inverse exception text seems better than the boilerplate text you
> want to replace.
>
>
>
> What exactly does it mean for a YANG module to be non-NMDA-compliant?
>
> Is the guideline forbidding config/state sibling containers, or just those
> that use a grouping or cut-and-paste
>
> to implement its non-NMDA-ness?
>
> Maybe NMDA experts can explain when this exception is needed and what it
> should say.
>
>
>
>
>
>
>
>
>
>
>
> FWIW, the OLD text was added draft-ietf-netmod-rfc6087bis-17 as per a
> comment in the AD review [2].
>
>
>
> That’s a great find!
>
>
>
>
>
> No wonder I didn't remember the WG discussing this during draft-8407.
>
>
>
>
>
> Cheers,
>
> Med
>
>
>
> K.
>
>
>
>
>
>
>
> Andy
>
>
>
>
>
>
>
> [1]
> https://author-tools.ietf.org/api/iddiff?url_1=https://boucadair.github.io/rfc8407bis/draft-ietf-netmod-rfc8407bis.txt&url_2=https://boucadair.github.io/rfc8407bis/nmda-exceptions/draft-ietf-netmod-rfc8407bis.txt
>
>
>
> [2]
> https://mailarchive.ietf.org/arch/msg/netmod/B4TUQZf7jud5wqrBwzEqEND6-rw/
>
>
>
>
>
> *De :* netmod <netmod-bounces@ietf.org> *De la part de* Kent Watsen
> *Envoyé :* vendredi 16 février 2024 21:55
> *À :* Andy Bierman <andy@yumaworks.com>
> *Cc :* netmod@ietf.org
> *Objet :* Re: [netmod] Rfc8407 - what does this text mean?
>
>
>
> Hi Andy,
>
>
>
> Thanks for the speedy reply.
>
>
>
> This guidance seems inverted, at least within the IETF (where SHOULDs are
> interpreted as MUSTs), and likely outside the IETF also, assuming rfc8407
> is read.  See the first paragraph of
> https://datatracker.ietf.org/doc/html/rfc8407#section-4.23.3
>
>
>
> I doubt any module would get past the IETF-publication process now if it
> defined a non-NMDA compliant structure (i.e., CF nodes that provide the
> opstate value for CT nodes), unless it was a “temporary non-NMDA module” (
> https://datatracker.ietf.org/doc/html/rfc8407#section-4.23.3.1).
>
>
>
> Since this, for awhile now, is the normal thing to do, the text
> highlighted in my OP seems to have little to no value.  That said, an
> “inverted” statement would have some value, that is, to explicitly
> highlight if the document defines any “temporary non-NMDA modules”.  This
> would be akin to highlighting when a document defines any IANA-maintained
> modules.
>
>
>
> I am proposing to update the text in rfc8407bis accordingly (to invert the
> guidance).  Thoughts?
>
>
>
> If there is agreement to update this text accordingly, I will delete the
> "Adherence to the NMDA” section in all my drafts, since none of them define
> a “temporary non-NMDA module”.
>
>
>
> PS: top-posting for simplicity
>
>
>
> K.
>
>
>
>
>
>
>
> On Feb 16, 2024, at 3:25 PM, Andy Bierman <andy@yumaworks.com> wrote:
>
>
>
>
>
>
>
> On Fri, Feb 16, 2024 at 12:07 PM Kent Watsen <kent+ietf@watsen.net> wrote:
>
> NETMOD,
>
>
>
> An IESG member reviewing one of my drafts flagged a section I had written
> to satisfy this text from
> https://datatracker.ietf.org/doc/html/rfc8407#section-3.5:
>
>
>
>        If the document contains a YANG module(s) that is compliant with
> NMDA
>
>        [RFC8342], then the Introduction section should mention this fact.
>
>
>
>        Example:
>
>
>
>          The YANG data model in this document conforms to the Network
>
>          Management Datastore Architecture defined in  RFC 8342.
>
>
>
>
>
> What does "compliant with NMDA” actually mean?   Are not all modules
> “compliant”, even if they unnecessarily define some opstate nodes?
>
>
>
>
>
> I do not recall the discussions that led to that text.
>
>
>
> Does this sentence actually point to if the document publishes any so
> called “-state” modules, defined only to support legacy “non-NMDA” servers?
>
>
>
>
>
> I think the state modules are optional, so it is still unclear what NMDA
> conformance means for a YANG module.
>
>
>
>
>
> Does it make sense to clarify this text, since rfc8407bis is an open WG
> document at the moment?
>
>
>
> maybe it means to follow all the guidelines in 4.23.3
>
> https://datatracker.ietf.org/doc/html/rfc8407#section-4.23.3
>
>
>
> maybe remove this other text you cite.
>
>
>
>
>
>
>
> Thanks,
>
> Kent
>
>
>
>
>
> Andy
>
>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>
>
>
> ____________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
>
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
>
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
>
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
>
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
>
> they should not be distributed, used or copied without authorisation.
>
> If you have received this email in error, please notify the sender and delete this message and its attachments.
>
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
>
> Thank you.
>
>
>
> ____________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
>
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
>
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
>
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
>
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
>
> they should not be distributed, used or copied without authorisation.
>
> If you have received this email in error, please notify the sender and delete this message and its attachments.
>
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
>
> Thank you.
>
> ____________________________________________________________________________________________________________
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
>
>