Re: [MIB-DOCTORS] Doubt on naming convention

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 05 September 2018 08:21 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: mib-doctors@ietfa.amsl.com
Delivered-To: mib-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8030E130DFC for <mib-doctors@ietfa.amsl.com>; Wed, 5 Sep 2018 01:21:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.525
X-Spam-Level:
X-Spam-Status: No, score=-1.525 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_XBL=0.375] autolearn=no autolearn_force=no
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 IgJuLvGeTaA1 for <mib-doctors@ietfa.amsl.com>; Wed, 5 Sep 2018 01:21:00 -0700 (PDT)
Received: from anna.localdomain (firewallix.jacobs-university.de [212.201.44.247]) by ietfa.amsl.com (Postfix) with ESMTP id 1F135130DD5 for <mib-doctors@ietf.org>; Wed, 5 Sep 2018 01:20:59 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id 706352499779; Wed, 5 Sep 2018 10:20:57 +0200 (CEST)
Date: Wed, 5 Sep 2018 10:20:56 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Glenn Mansfield Keeni <glenn@cysols.com>
Cc: mib-doctors@ietf.org
Message-ID: <20180905082056.63ik553dxy5cpuj2@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Glenn Mansfield Keeni <glenn@cysols.com>, mib-doctors@ietf.org
References: <CANSkkOmTD7F3ioxuccKUMq5tVUZh-MwvaDLyL0=59NTPiy2J9Q@mail.gmail.com> <5743c7d8-2de1-5739-c279-7f64091a3f02@cysols.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5743c7d8-2de1-5739-c279-7f64091a3f02@cysols.com>
User-Agent: NeoMutt/20180716
Archived-At: <https://mailarchive.ietf.org/arch/msg/mib-doctors/9y1wllMMeMSYX_R95PulRoYkqv0>
Subject: Re: [MIB-DOCTORS] Doubt on naming convention
X-BeenThere: mib-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: MIB Doctors list <mib-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mib-doctors>, <mailto:mib-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mib-doctors/>
List-Post: <mailto:mib-doctors@ietf.org>
List-Help: <mailto:mib-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mib-doctors>, <mailto:mib-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Sep 2018 08:21:01 -0000

On Wed, Sep 05, 2018 at 04:59:58PM +0900, Glenn Mansfield Keeni wrote:
> Hi,
> Is there a rule or a convention for naming the MIB
> definitions in the DEFINITIONS clause below?
> 
>     XXXXXX-YYYYY-MIB DEFINITIONS ::= BEGIN
> 
> More specifically does it have to
> be all capitals?
> Is
>     Multicast-VPN-MIB DEFINITIONS ::= BEGIN
> OK ?
>

Technically, Multicast-VPN-MIB is a legal name. Practically speaking,
I count ~300 MIB modules in RFCs that have no lowercase characters in
their module name and ~15 MIB modules in RFCs that have a lowercase
character in their module name. And out of these, a common usage of
lowercase letters is to indicate a version number, e.g. NTPv4-MIB,
RIPv2-MIB, SNMPv2-CONF, SNMPv2-MIB, SNMPv2-SMI, SNMPv2-TC, SNMPv2-TM,
SNMPv2-USEC-MIB. And the remaining modules tend to be rather old
modules (or modules with a long history).

RFC 4181 (BCP 111) says in Appendix C:

   - The module name should be of the form XXX-MIB (or XXX-TC-MIB for a
     module with TCs only), where XXX is a unique prefix (usually all
     caps with hyphens for separators) that is not used by any existing
     module.

So the common convention is to all caps with hyphens for separators.

/js

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