Re: [netmod] submodules the hidden benefits

Mahesh Jethanandani <mjethanandani@gmail.com> Wed, 05 August 2020 22:43 UTC

Return-Path: <mjethanandani@gmail.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 CF15A3A07EA for <netmod@ietfa.amsl.com>; Wed, 5 Aug 2020 15:43:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 zSUY_Db8s7ha for <netmod@ietfa.amsl.com>; Wed, 5 Aug 2020 15:43:10 -0700 (PDT)
Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) (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 2E9433A07E8 for <netmod@ietf.org>; Wed, 5 Aug 2020 15:43:10 -0700 (PDT)
Received: by mail-pg1-x529.google.com with SMTP id o13so25610517pgf.0 for <netmod@ietf.org>; Wed, 05 Aug 2020 15:43:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=I0TlseMfGaCzD9UVchpl268PwKawiZSV+JJfCcVQQ4s=; b=WgrzJeYBCAUxBXdDKliI74VJ7srEcnhpesH+F91Kwta5xp8Xbpic/20CLqDaSSpki8 68udQb3oYt4yZRRsSARY4UooSsb2DknXe0sE0A4vCUqWqfZFJ6K36GAn18sf37ogh6yX c/FvzIWaS8bCaZDRxEHBTvy9Zd7s8KvhhCwipsoe+4lt5Gol4kpTKqaPZzCR+d5kFKrd hyBr35TlL63RyqhIPPi0wrbd5o7h+17Vl8fMcYvcNGOGH/kVQyzmgG1n6QCtWfmQZium Ad/tQTVvYwJljQngKqwpA2Ew/kx9pvOtDf2+u1v2H7Pr8u9dO8ySYzqQaXmbyYrQ+XaD bErQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=I0TlseMfGaCzD9UVchpl268PwKawiZSV+JJfCcVQQ4s=; b=T8inxM+Zw5l16PddjsxbHDHP62fCJuaUYvb54HVD0iQoKE9vCHh4DCvjjObuVn9N3T 1GpCvGe2x6YX0P9MxTjEG1XiSD5Sf/xHQ6NDpIMrSCSDwsod83942YQJkjg1Rsy38yUx j1wNdY+WTsU8RSZwDeqHnqFCe8FVt35McxaocX3K2YugUsiefVIj6UHC/N4KLY2926GG FCyui+WRVBsstPnJ9Zx8vIlUDJljXSoANVeawZeltHrBledeNnwl2IyIVv4zmrrwXZSm rkAwoafV0IkjmhwZGMgSux9gOuairKZSEzAElzFqGILQIQcV3LUsxEtnxnICIQp6smpl 0k5A==
X-Gm-Message-State: AOAM533omkz6OGWfqX8oSkfmcRNvKzXGsCQojuxcCBphdPDmNlRSxn2u LhEI4Sprs9P7/Zv8uS5bJQ60Pz6E
X-Google-Smtp-Source: ABdhPJz7jZFUc6s/OWEnWzpblvNf9oIYMDarQk+p6sbfG/6whyOSCwi647Kcld1cDijSn+IThXlilQ==
X-Received: by 2002:a63:f316:: with SMTP id l22mr4701894pgh.291.1596667389105; Wed, 05 Aug 2020 15:43:09 -0700 (PDT)
Received: from ?IPv6:2601:647:5600:5020:b151:60fa:540:114f? ([2601:647:5600:5020:b151:60fa:540:114f]) by smtp.gmail.com with ESMTPSA id z3sm3734161pgk.49.2020.08.05.15.43.07 for <netmod@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Aug 2020 15:43:07 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_57F2255E-7F70-41AC-8F2A-C60E9161446A"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.6\))
Date: Wed, 5 Aug 2020 15:43:06 -0700
References: <AM7PR07MB6248D2079B3637B626198C43A04B0@AM7PR07MB6248.eurprd07.prod.outlook.com> <20200805164820.rv35b74xhc4v7qrx@anna.jacobs.jacobs-university.de> <6125f3e3-0caf-ed25-92b7-bdb644c54d08@lightside-instruments.com> <9F39EC3C-CCEB-4079-BF83-D9C163773757@cisco.com>
To: "netmod@ietf.org" <netmod@ietf.org>
In-Reply-To: <9F39EC3C-CCEB-4079-BF83-D9C163773757@cisco.com>
Message-Id: <FC05AC44-6BFF-49FC-85E0-BB9692C210AC@gmail.com>
X-Mailer: Apple Mail (2.3445.9.6)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/1vkm709mLbXv1hqR6VBCtOnKIdM>
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 22:43:12 -0000

A contrarian view:

I find the use of sub-modules helpful when I want to use separate files to maintain part of the module that is logically separate, while maintaining/restricting the use of them to a single namespace.

The fact that tools have a problem with trying to compile a sub-module can be addressed in the tools themselves.

> On Aug 5, 2020, at 2:44 PM, Reshad Rahman (rrahman) <rrahman=40cisco.com@dmarc.ietf.org> wrote:
> 
> Indeed
> https://github.com/netmod-wg/yang-next/issues/26
> 
> ´╗┐On 2020-08-05, 5:22 PM, "netmod on behalf of Vladimir Vassilev" <netmod-bounces@ietf.org on behalf of vladimir@lightside-instruments.com> wrote:
> 
>    On 05/08/2020 18.48, Juergen Schoenwaelder wrote:
> 
>> I personally meanwhile believe that sub-modules add complexity with
>> little extra value but this view surely is not shared by others.
> 
>    +1. IMO removing sub-modules from YANG 2.0 should be on the list of 
>    proposed changes.
> 
>    /Vladimir
> 
>    _______________________________________________
>    netmod mailing list
>    netmod@ietf.org
>    https://www.ietf.org/mailman/listinfo/netmod
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod