Re: [netmod] comments on draft-ietf-netmod-snmp-cfg--05

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 13 June 2014 21:03 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 898971B2A4F for <netmod@ietfa.amsl.com>; Fri, 13 Jun 2014 14:03:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.201
X-Spam-Level:
X-Spam-Status: No, score=-2.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RP_MATCHES_RCVD=-0.651] autolearn=ham
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 oaidriqz6Wid for <netmod@ietfa.amsl.com>; Fri, 13 Jun 2014 14:03:53 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C1B9B1B2A4C for <netmod@ietf.org>; Fri, 13 Jun 2014 14:03:51 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 61C13E88; Fri, 13 Jun 2014 23:03:48 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id ZZ-swClgbJTl; Fri, 13 Jun 2014 23:03:26 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Fri, 13 Jun 2014 23:03:47 +0200 (CEST)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 60CDE20017; Fri, 13 Jun 2014 23:03:49 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id qpj9SRgp8Hmm; Fri, 13 Jun 2014 23:03:48 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id EBA6020013; Fri, 13 Jun 2014 23:03:47 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id D60252D651ED; Fri, 13 Jun 2014 23:03:47 +0200 (CEST)
Date: Fri, 13 Jun 2014 23:03:47 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@yumaworks.com>
Message-ID: <20140613210347.GA38910@elstar.local>
Mail-Followup-To: Andy Bierman <andy@yumaworks.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <CABCOCHQnzdvOGGLDSOrNsRrW19aDvRNs+o9D-sqgqjtx21WN+g@mail.gmail.com> <20140613062605.GA37482@elstar.local> <CABCOCHS2FL2_8pjTWttQ2BTLD6DPFrKgv1dg0-DB8W=s3FyWeA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CABCOCHS2FL2_8pjTWttQ2BTLD6DPFrKgv1dg0-DB8W=s3FyWeA@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Archived-At: http://mailarchive.ietf.org/arch/msg/netmod/5Z6BuHn1K8aKPf2MACRytZTz8LE
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] comments on draft-ietf-netmod-snmp-cfg--05
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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: <http://www.ietf.org/mail-archive/web/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, 13 Jun 2014 21:03:55 -0000

On Fri, Jun 13, 2014 at 12:01:37PM -0700, Andy Bierman wrote:
> On Thu, Jun 12, 2014 at 11:26 PM, Juergen Schoenwaelder <
> j.schoenwaelder@jacobs-university.de> wrote:
> 
> > On Thu, Jun 12, 2014 at 02:49:27PM -0700, Andy Bierman wrote:
> > > Hi,
> > >
> > > It's probably past WG Last Call, but I still do not understand
> > > the value of splitting the ietf-snmp configuration module into
> > > 12 files (1 main + 11 sub-modules) instead of just 1 file.
> > >
> > > IMO it makes it harder to read, not easier, and wrt/ YANG library
> > > management,
> > > there are 12 files to update and keep in sync, instead of 1.
> > >
> > > Is there some expectation that individual sub-modules for SNMP
> > > configuration will be updated regularly in new RFCs?
> >
> > The organization essentially reflects the modular structure of the
> > SNMPv3 MIB modules. The SNMPv3 MIB modules are roughly the same
> > number.
> >
> > If updates will ever will be necessary, we might benefit from the
> > modular structure. If updates will never be needed, there is not much
> > work with synchronizing the sub-modules either. Whether modularity is
> > a good thing of not can likely be discussed endlessly. In this case,
> > we followed the modular structure of the SNMPv3 MIB modules.
> >
> >
> 
> Actually, you did not really follow the SMIv2 structure, or you
> would have used modules instead of submodules.

I wrote "reflects the modular structure of the SNMPv3 MIB modules". I
think my statement was precise.

> The main module (ietf-snmp) is just a list of include-by-revision
> statements.

Correct.

> All submodules have to be present or the tool will exit with a fatal
> error.

Correct.

> I suppose the main module could be altered by vendors (e.g., comment
> out the include-stmts they don't want to support), but that would be
> non-compliant for standard modules.

Yes, it is possible to implement a standard incorrectly.

It does not matter whether a vendor comments out an include statement
or comments out complete containers. The result is equally broken.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>