Re: [netmod] submodules the hidden benefits

Vladimir Vassilev <vladimir@lightside-instruments.com> Thu, 06 August 2020 12:15 UTC

Return-Path: <vladimir@lightside-instruments.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 739093A0A56 for <netmod@ietfa.amsl.com>; Thu, 6 Aug 2020 05:15:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.85
X-Spam-Level:
X-Spam-Status: No, score=-2.85 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, NICE_REPLY_A=-0.949, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=netorgft4991094.onmicrosoft.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 spxj8_aCZx-7 for <netmod@ietfa.amsl.com>; Thu, 6 Aug 2020 05:15:15 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2042.outbound.protection.outlook.com [40.107.22.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1C6253A0A52 for <netmod@ietf.org>; Thu, 6 Aug 2020 05:15:14 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TnS9TIg396QDjJgq47u5ewQypWnfqvCpz4x6p/Jg9C8AXEty8VvSI9GVwqadCgFVPQnE0jI6H4qW7Ygk8gItHQFTkZj/K15J+YsfK+N9c54987grcksNwIpTByRx60tRkZC8DkKUoqw/8it8yCC4XXgM5gxbUxu/CJVTk6UFVqpxBq4UwkMKNLM8Rys4yGoHSJ8rZg6miG0jTDt/2dPMDioyPaEHQ8qkShL4M5hGK7YLy6yTl9L0wULM6sdD4gR2EYaI9YIpkffjPyYaRcpQFbQ9g1iSwM861VW3i49tF5f2uatUh9CCG26KESoSkNzN7CVPMSIs687JBlZxMEI1dg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fS0kSZe+9K8XG2l3plopBq6Bf5J5FUIKhEIC/k0HI7Q=; b=SOH0dtMpuUUtCuUsfRgP2mR3YOaBuDwFw0kV31kuuPvIWWsy8GFrWnp8SN1CHgNhJtQNzy5eJqhiAEdD+aZveC1+DzYYo0HGuDJAW8CkRcXnOqV3XO0+DXe/dhFPVO+1dMOO7ouSIwsQ2xNvqu01Cm/GzHkYiTDkrIR6bm536uebUjynKBpHDvoVU7DczlodeaMXeWrwEGDZBgLl+dtcGrrfiHcYH5+8EklehyXdlyMg7eUf/wWHa3nvpBaTtY4vRMWr2yu3Ka9jy3cbgIBx3hNIBN+j+zOVjO3J3H+ScwKWGOD9dPLc8V/OBBFPVPNzD17NWvS+U0ObHvqjaUqAPQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=lightside-instruments.com; dmarc=pass action=none header.from=lightside-instruments.com; dkim=pass header.d=lightside-instruments.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NETORGFT4991094.onmicrosoft.com; s=selector2-NETORGFT4991094-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fS0kSZe+9K8XG2l3plopBq6Bf5J5FUIKhEIC/k0HI7Q=; b=DLW6addysUhpE7rxEeVtgByZp05vCJniMnwHWUXyvVRC3KCOeROcIEF2V93FPd+0Sj0PcpodlH3873ZJU5HOY+g735/14UMzq8o2L+kZm1EXOyeMTDLOPBqEAdpFhuLNzRs3oiP6idkWFkE9iGON3i/IS2+bhyEtellJWmegy48=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=lightside-instruments.com;
Received: from AM0PR08MB4084.eurprd08.prod.outlook.com (2603:10a6:208:129::25) by AM0PR08MB3970.eurprd08.prod.outlook.com (2603:10a6:208:131::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.19; Thu, 6 Aug 2020 12:15:12 +0000
Received: from AM0PR08MB4084.eurprd08.prod.outlook.com ([fe80::4146:e184:f771:22e8]) by AM0PR08MB4084.eurprd08.prod.outlook.com ([fe80::4146:e184:f771:22e8%4]) with mapi id 15.20.3261.019; Thu, 6 Aug 2020 12:15:12 +0000
To: Mahesh Jethanandani <mjethanandani@gmail.com>, "netmod@ietf.org" <netmod@ietf.org>
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> <FC05AC44-6BFF-49FC-85E0-BB9692C210AC@gmail.com>
From: Vladimir Vassilev <vladimir@lightside-instruments.com>
Message-ID: <d8d8df37-5079-c724-31db-390eefe9aba5@lightside-instruments.com>
Date: Thu, 06 Aug 2020 14:15:09 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0
In-Reply-To: <FC05AC44-6BFF-49FC-85E0-BB9692C210AC@gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-ClientProxiedBy: OL1P279CA0013.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:12::18) To AM0PR08MB4084.eurprd08.prod.outlook.com (2603:10a6:208:129::25)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [192.168.0.16] (84.209.6.28) by OL1P279CA0013.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:12::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.19 via Frontend Transport; Thu, 6 Aug 2020 12:15:11 +0000
X-Originating-IP: [84.209.6.28]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 8e7213d7-4914-4b18-2431-08d83a025e4b
X-MS-TrafficTypeDiagnostic: AM0PR08MB3970:
X-Microsoft-Antispam-PRVS: <AM0PR08MB3970BE426D92F303CCA2A1E99B480@AM0PR08MB3970.eurprd08.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:7219;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: iX/UMugkuYJN/dVUgtUI9ZrPTybRX7uAsNHuCRSBgdroRT334+K6QUm1OidOAQHPSBHSTl1PU68lmTxpdw4d7UQ8gTNsz3Zz/0BOjuEE1lSJZrJ6K8GEyvhGDMg/RTgpx7xjKgGCurHFeOT4/86fhOg5VTPV7m6TNh8ZTpbeyE1TszKU4ePlfgrthSlt19M4tLp7UcHqGfn1NbGl9ZOU0jpN2SnhhqfQc2GeRzYlhxkkKH/5GfllUDrHHdxtYwrKlqCTy4cQMHFn0ls6OWgBYaA5URl4ca+jynRjR0sytoCeiQ2g+PbUFaOUKb7o6/94ZA6zhX2TNf1iLp15garMdXJpabR/zl5cFXoAX97MIeeBhwmQ+p3MZcX0x7Q8LujC
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR08MB4084.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(136003)(376002)(346002)(366004)(396003)(39830400003)(52116002)(31686004)(86362001)(66556008)(8936002)(66476007)(66946007)(31696002)(4744005)(16576012)(316002)(110136005)(508600001)(8676002)(5660300002)(2616005)(36756003)(2906002)(956004)(186003)(26005)(16526019)(6486002)(43740500002); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData: yHFQyRG19FMD1yj70cNAVCZWsXnTcdGOkCe+N4OkzMX0HrjBLI+o6a4u6Mvd5SbDUVSJ/fu1GUYvejIGLpfftXo/hWsSZXqm/WYMfa7Epkx8rJfuWRyE2PqQrhp85GzI5IkNuxx8M2itJzVftPL8rrV/I3NYRCRVVx4Vw7+Bt1eSaCkzoJ3gOKMZrbXMgLRAV3Tq9kqo1zdG+tjn7MeNqq9Qg46Upjuzxk14+BP0/HzLpcDBMjypkiUuXA+RVnpHBEbr4tfsPdpo+vJm5pOeE7Mayx2QXZAvoBRRjnczhkOXGvwoOsL4tbFJBS4k7+gAvthwz9fa6W5bOvOQKGoKSYdWz02EzWYuFHblWJS0h1DlfqzUdqms9ZLiyrRf4XvjQdslvTFpX3VEoITlodyXTxKofd/trM9+yZzWym5gWLPVHK1071axsREUYhp7LCgNGndL39OtqjA9MR3Dy2T59wc7SH6R+lBb3ZwiWmlZaTTL8FUh/7JiwAdJq2hwyoSec3o0qSG93NVKdSUDd/TPsP1PJOryADpFL0e8lKFfJruKCiheWZbtztU8jJTe0M2h7k5nUMfqKEgyDSJraR2Nmso5IXf9NnkCx8Xvqvv+wLASxRyXLU7CWq/NhxTI8TcZb/TvPM1WYIY+4MDRdqmIHQ==
X-OriginatorOrg: lightside-instruments.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8e7213d7-4914-4b18-2431-08d83a025e4b
X-MS-Exchange-CrossTenant-AuthSource: AM0PR08MB4084.eurprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2020 12:15:12.4680 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: c0326317-f373-4461-a96f-7946e0abb603
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: xsqTHN4H8Adnj0abYpLJs1VxTexZSPtVRhvt2ilibWnYfZt4KPam5bnEKXU125QDZIP+StImB8Jvfz48qtvjVSzU/9mXiCPLkWawuhgBrAbwgUlphNNtxA96K+SicHDu
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3970
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ViIIDBU8uMwja5jJ6c3HS2Fxk6c>
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: Thu, 06 Aug 2020 12:15:22 -0000

On 06/08/2020 00.43, Mahesh Jethanandani wrote:

> 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.

The real problem is that the use of sub-modules complicates the 
interface between the tools. If your tools have to support dynamic 
loading of modules and not only a pre-compiled static schema context 
this problem becomes evident.

/Vladimir