[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defining an OID for a scalar Instance



Hi,

Wijnen, Bert (Bert) wrote:
The IPSEC-SPD-MIB has this:

   spdTrueFilter OBJECT-TYPE
           SYNTAX      Integer32
           MAX-ACCESS  read-only
           STATUS      current
           DESCRIPTION
               "This scalar indicates a (automatic) true result for
                a filter.  I.e. this is a filter that is always
                true, useful for adding as a default filter for a
                default action or a set of actions."
           ::= { spdStaticFilters 1 }

   spdTrueFilterInstance OBJECT IDENTIFIER ::= { spdTrueFilter 0 }

And SMICng says that this is an ERROR:
    E: f(ipsec-spd.mi2), (951,4) Item "spdTrueFilter" must not have items registered
    below it

We (MIB experts) have also used it in the DISMAN event MIB:

    sysUpTimeInstance OBJECT IDENTIFIER ::= { sysUpTime 0 }

So do we agree to call the ERROR msg from SMICng a FALSE msg?

I would say yes.

The type 'OBJECT IDENTIFIER' more as the 'glue' to make
the naming tree. I beleive this is the spirit of this type
in ASN.1 and from SMI we do not add extra semantics to it.
If I remember it well, the DIFF-SERV-MIB has something
similar also.


--
Harrie

Internet Development Services
mailto: harrie(at)lisanza.net              http://www.lisanza.net/
skype/aim/yahoo: hhazewinkel              http://www.mod-snmp.com/
------------------------------------------------------------------
Author of MOD-SNMP, enabling SNMP management of Apache HTTP server