Re: SMI clarification
Olivier Miakinen <O.Miakinen@frcl.bull.fr> Mon, 15 July 1996 16:17 UTC
Received: from ietf.cnri.reston.va.us by IETF.CNRI.Reston.VA.US id aa15946; 15 Jul 96 12:17 EDT
Received: from CNRI.Reston.VA.US by IETF.CNRI.Reston.VA.US id aa15942; 15 Jul 96 12:17 EDT
Received: from neptune.tis.com by CNRI.Reston.VA.US id aa10587; 15 Jul 96 12:17 EDT
Received: from neptune.tis.com by neptune.TIS.COM id aa29602; 15 Jul 96 11:07 EDT
Received: from relay.tis.com by neptune.TIS.COM id aa29574; 15 Jul 96 10:56 EDT
Received: by relay.tis.com; id KAA22840; Mon, 15 Jul 1996 10:59:07 -0400
Received: from sol.tis.com(192.33.112.100) by relay.tis.com via smap (V3.1.1) id xma022821; Mon, 15 Jul 96 10:58:52 -0400
Received: from relay.tis.com by tis.com (4.1/SUN-5.64) id AA27319; Mon, 15 Jul 96 10:58:26 EDT
Received: by relay.tis.com; id KAA22798; Mon, 15 Jul 1996 10:58:39 -0400
Received: from clbull.frcl.bull.fr(129.182.1.17) by relay.tis.com via smap (V3.1.1) id xma022784; Mon, 15 Jul 96 10:58:13 -0400
Received: from dpx223 (dpx223.frcl.bull.fr [129.182.100.52]) by clbull.frcl.bull.fr (8.7.5/8.7.3) with SMTP id QAA22126; Mon, 15 Jul 1996 16:58:32 +0200
Received: from panafix.frcl.bull.fr (panafix) by dpx223; Mon, 15 Jul 1996 16:55:32 +0200 (MET)
Received: from miakinix by panafix.frcl.bull.fr; Mon, 15 Jul 1996 16:58:38 +0200 (MET)
Message-Id: <31EA5CD6.59E2@frcl.bull.fr>
Date: Mon, 15 Jul 1996 16:59:34 +0200
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Olivier Miakinen <O.Miakinen@frcl.bull.fr>
Organization: ISM/OpenMaster
X-Mailer: Mozilla 2.0 (X11; I; AIX 2)
Mime-Version: 1.0
To: Harrie Hazewinkel <harrie.hazewinkel@jrc.it>
Cc: David Perkins <dperkins@scruznet.com>, snmpv2@tis.com
Subject: Re: SMI clarification
References: <Chameleon.960711144930.dperkins@dperkins4.sj.scruznet.com> <31EA1125.41C6@frcl.bull.fr> <31EA3AFC.FDD@jrc.it>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Orig-Sender: snmpv2-approval@neptune.tis.com
Precedence: bulk
Harrie Hazewinkel wrote:
>
> Hi Olivier,
>
> Olivier Miakinen wrote:
> >
> > David Perkins wrote:
> > >
> > > Below is a small example MIB. Is this MIB valid or not, you be the judge.
> > > The interesting characteristic about the MIB is that it contains a table,
> > > t2Table, whose index clause is a little unusual. If you think its valid,
> > > then let us know, why so. If you think it is invalid, then what must be
> > > changed to make it valid.
> > >
> > (stuff deleted)
> > >
> > > t2Entry OBJECT-TYPE
> > > SYNTAX T2Entry
> > > MAX-ACCESS not-accessible
> > > STATUS current
> > > DESCRIPTION
> > > "Row for second table"
> > > INDEX { t1AltIndex, t1AltIndex }
> > > ::= { t2Table 1 }
> > >
> > (stuff deleted)
> >
> > I'm interested in having the answer to your question, and I think
> > that people who responded didn't see THE point. Then I cut extra-stuff,
> > in order for the `INDEX { t1AltIndex, t1AltIndex }' to appear alone.
> >
>
> According to the SMI (seen from a syntax point of view) this is a valid definition.
> Only semantically there could be something wrong with. But I see no objections against
> this, unless the original writers had somethings else in mind.
>
> But what is according to you THE point???
THE point is to have the same attribute, twice in the INDEX clause.
I suppose that both values are different, because it wouldn't be
necessary to specify the attribute twice if it was always the same value.
I mean, you can have an instance of t2Sum that is: t2Sum.7.15, where
7 is one t1AltIndex value, and 15 is another t1AltIndex value.
As an other example, if the INDEX clause was:
INDEX { t2Sum, t2Sum }
then I would say this would be impossible, for the following reason:
If you get t2RowStatus.7.15, you can't know if corresponding t2Sum
is 7 or 15.
But in that particular case, the attribute t1AltIndex doesn't belong to
t2Entry, then it doesn't really matter: it is approximatively equivalent
to INDEX { Integer32, Integer32 }.
I'm sorry I'm not very fluent in english, and maybe my explainations
aren't very clear. But if I didn't make too many mistakes, you should
have seen that I have MY opinion about this syntax, but I would like
to have the opinion of SNMP gurus. I also think this could be clarified
in RFCs, maybe in forbidding to have the same index twice in an INDEX
clause.
--
\\\\ ////
(o o) (o o)
+----------oOO--(_)--OOo--------------------oOO--(_)--OOo----------+
| mailto:O.Miakinen@frcl.bull.fr Phone: 33 (1) 30 80 70 42 |
| http://www-ism.bull.com/ism Fax: 33 (1) 30 80 79 18 |
+-------------(_)-(_)--------------------------(_)-(_)-------------+
- SMI clarification David Perkins
- Re: SMI clarification Ken Chapman
- Re: SMI clarification Bob Stewart
- Re: SMI clarification glenn (g.) waters
- Re: SMI clarification Olivier Miakinen
- Re: SMI clarification Harrie Hazewinkel
- Re: SMI clarification Olivier Miakinen
- Re: SMI clarification ANDREASSON