[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How to construct an OID?



Hi

Here is my OID tree, inspired from first level under internet subtree
(.1.3.6.1)
  - node 1 is root for directory subtree
  - node 2 is root for management subtree (ENIC's snmp mibs)
  - node 3 is root for experimental subtree (directory schemas or snmp mib)


#
#=============================================================
#
#                       -----oOo-----
#                       L O B S T E R
# Ldap Open Base Service Tailored for Enic Repository
#                       -----oOo-----
#
# LOBSTER module schema file (experimental)
# depends on core.schema, files
#
# ENIC educational curriculum is based on sets of modules
# this schema describes the module definiton
#
# created  : 2001/01/10 by Jacques Landru
# modified :
#
#
#
#=============================================================
#
# OID Base is iso(1) org(3) dod(6) internet(1) private(4) enterprises(1)
enic(6821).
#
# ...+enterprises (1)
#          |
#          + enic (6821)
#              |
#              + directory (1) -- ENIC's private directory schema subtree
#              |      |
#              |      + enictl1ModuleSchema (1)
#              |      |    |
#              |      |    + syntaxes (0)   -- if needed
#              |      |    + attributeTypes (1)
#              |      |    + objectClasses (2)
#              |      |
#              |      + ... (x)
#              |
#              + management (2)  -- ENIC's private snmp mib subtree
#              |
#              + experimental(3)  -- ENIC's experimental subtree
#
#
# Syntaxes,if needed, will be under 1.3.6.1.4.1.6821.1.1.0
# Attribute types are under 1.3.6.1.4.1.6821.1.1.1
# Object classes are under 1.3.6.1.4.1.6821.1.1.2

Jacques Landru

    -----oOo-----
 Jacques Landru
   mel:  landru@enic.fr
   web:  http://www.enic.fr/people/landru
   tel:  (+33) 3 2033 5556
   fax:  (+33) 3 2033 5598

 E.N.I.C. Telecom Lille I
 Cite scientifique, rue G. Marconi
 59658 VILLENEUVE D'ASCQ  Cedex
  web: http://www.enic.fr
  Tel: (+33) 3 2033 5577
  Fax: (+33) 3 2033 5599
    -----oOo-----


----- Original Message -----
From: "Eric Kilfoil" <ekilfoil@viawest.net>
To: "Chuck Coker" <chuckc@tyrell.com>
Cc: "OpenLDAP Software" <openldap-software@OpenLDAP.org>
Sent: Wednesday, August 22, 2001 5:37 PM
Subject: Re: How to construct an OID?


>
> It's pretty much personal preference.  First of all, remember that things
> other than your ldap schema will be under your OID tree.
>
> For example, you may want to do something like this:
>
>
> enterprises.10569.1 = enterprises.yourcompany.ldapschema
>
> enterprises.10569.1.1 = enterprises.yourcompany.ldapschema.attributes
>
> enterprises.10569.1.1.1 =
...enterprises.yourcompany.ldapschema.attributes.attribute1
>
> enterprises.10569.1.2 = enterprises.yourcompany.ldapschema.objectclasses
>
> enterprises.10569.1.2.1 =
enterprises.yourcompany.ldapschema.objectclasses.objectclass1
>
> Then... if you needed to later:
>
> enterprises.10569.2 = enterprises.yourcompany.snmpoids
>
> And of course anything else that needs an OID can fit into this as well.
> Remember that an attribute isn't neccessarily tied to just one
> objectclass.
>
> eric
>
> On Tue, 21 Aug 2001, Chuck Coker wrote:
>
> > I received a IANA Private Enterprise Number, 10569, but now I am not
sure
> > how to construct a proper OID.
> >
> > Would I start with 1.3.6.1.4.1.10569 as the top of my "personal" tree?
And
> > then build my hierarchy below that? For example,
> >     1.3.6.1.4.1.10569.1      Item 1
> >     1.3.6.1.4.1.10569.1.1    Item 1, Sub-Item 1
> >     1.3.6.1.4.1.10569.1.2    Item 1, Sub-Item 2
> >     1.3.6.1.4.1.10569.2      Item 2
> >     1.3.6.1.4.1.10569.3      Item 3
> >
> > Thanks,
> > Chuck Coker
> >
> >
>
>