Re: [netmod] submodules the hidden benefits

Andy Bierman <andy@yumaworks.com> Wed, 05 August 2020 17:15 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 766A13A0DC9 for <netmod@ietfa.amsl.com>; Wed, 5 Aug 2020 10:15:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 o88TQMuBZKa2 for <netmod@ietfa.amsl.com>; Wed, 5 Aug 2020 10:15:34 -0700 (PDT)
Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 E785A3A0B9D for <netmod@ietf.org>; Wed, 5 Aug 2020 10:15:33 -0700 (PDT)
Received: by mail-lj1-x22b.google.com with SMTP id v4so38890734ljd.0 for <netmod@ietf.org>; Wed, 05 Aug 2020 10:15:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6wIk6m9m/a3MFprRn6JaxhupG4pTQth/4ZQhcYzbE04=; b=UWWYk2PMRnVlfvJ4c/WOkJHX7pxirEySEfSDP3uQaVtdqe03lpc23hw2QqmU4ESo3p cNFbHffztuB2TgJVsFtqvgz8ywAgsxncI4m8afinz1BBcpV/UGGZFiQw3o/+vChXNXSC NA1aD8mgHJ9znmjw8nK0K+wIiYHo80CQ+Hgyy7/EilAoszU85N2MV5hmU3bHhwYu7ZTk pjrwtGjXiz/IoB0Ahc/b7uMLzk2P9dyqd0ph0giLrDYJEFcFjsk1+ZAseJ1q8tcUTpMe sL65PpM0xySkK9UtfAAwQnRT0E++wS1d3Zrk0VljwndQt1BCI3XxTESCpvf/L5CqM697 hHQQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6wIk6m9m/a3MFprRn6JaxhupG4pTQth/4ZQhcYzbE04=; b=J4vgnebQpQZTXSw/C8eClP/h55ldtOS5EudgLhpcvJzYxaUNgrvaVT3oKJvWnSK4pk 4BAv01sZQb98XP4/K3SGOhjRscyD5/f9cQhCtD4PgNwGumeWCAPFJZN+pKEsFae+ZSYE mfUvXL5ri/MdlLShWdz6YqqaImrEmfQWg9d5iXi6f+5sHjGfljBfknGhjRqEPLr6AqtO 5SmT7mxazsIISk3/8+uhubl7ZbETJTMqmOBwccsQRM9lMRhblKLCgGN9wFMr40T1XVWr 3xk4UYdSPCGsvuBueSrrDiyjGihRwREOwDqUnk8DtrmGBK62TDiZuTSagSspQyZdIiYy NKoA==
X-Gm-Message-State: AOAM5334wkcQeHpTdGJMCVLX4Ybn5Js/S6PleW0KjqUpi1PEFfik2+JY wxykbOo3W27OBYkW1lc6CDUXu2F3PII55WtypxLxSA==
X-Google-Smtp-Source: ABdhPJz5EPVpyeHI0y/OvPT0jj96tKe1e+tp3qk7ALUmfUupQ0aW0M7HE4Mj0xNWIGYU1uX1OSEKbWcOwgUAF3evPgw=
X-Received: by 2002:a2e:b619:: with SMTP id r25mr2061572ljn.220.1596647731735; Wed, 05 Aug 2020 10:15:31 -0700 (PDT)
MIME-Version: 1.0
References: <AM7PR07MB6248D2079B3637B626198C43A04B0@AM7PR07MB6248.eurprd07.prod.outlook.com>
In-Reply-To: <AM7PR07MB6248D2079B3637B626198C43A04B0@AM7PR07MB6248.eurprd07.prod.outlook.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 5 Aug 2020 10:15:20 -0700
Message-ID: <CABCOCHTVPSd=WfwijPby7LBGydUPS_CbD=K981KYr+feujOD7w@mail.gmail.com>
To: tom petch <ietfc@btconnect.com>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e1d3e205ac24848d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/vzk97XHGA_lLnvPROSYPoNIIZD4>
Subject: Re: [netmod] submodules the hidden benefits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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, 05 Aug 2020 17:15:35 -0000

On Wed, Aug 5, 2020 at 9:20 AM tom petch <ietfc@btconnect.com> wrote:

> Looking at an I-D with endless submodules, I am left thinking
>
> Costs
>
> greater in size
> more complex to understand
> harder to review
> more likely to have undetected errors
>
>
How about "confusion due to false sense of modularity"?
People often think submodules work like modules (but they don't).
There think a submodule should "compile" when validated on its own
(that used to be true in YANG 1.0 but not in YANG 1.1).  They think
mix-and-match
include submodule revisions can be selected by the server vendor just like
importing
modules (but that does not work).




> Benefits
>
>
>
> What am I missing?  I have only ever seen one such module in the IETF that
> I can recall and it is draft-ietf-idr-bgp-model and AFAICT it would be
> smaller, simpler, easier to understand if it were done with grouping
> instead of submodule.
>
> Tom Petch
>
>
Andy


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