Re: Re: Entity mib support for tcif

Juergen Schoenwaelder <[email protected]> Thu, 15 Apr 2004 10:06:15 +0200
Newsgroups gmane.ietf.entmib
Message-ID <[email protected]>
On Wed, Apr 14, 2004 at 10:13:57PM -0700, David T. Perkins wrote:
 
> entPhysicalSupplManfactDate  OBJECT-TYPE
>     SYNTAX      DateAndTimeOrZero
>     MAX-ACCESS  read-only  -- maybe this should be w/r like serial number
>     STATUS      current
>     DESCRIPTION
>       "The manufacturing date for the physical entity, or 'zero'
>       if the date is unknown or not appropriate."
>     ::= { entSupplPhysicalEntry 1 }

We do not have DateAndTimeOrZero. Why not use what seems to work
everywhere else?

	"The manufacturing date for the physical entity. The special 
	 value '0000000000000000'H is used if the date is unknown or 
	 not appropriate."

> entPhysicalSupplAltTypes OBJECT-TYPE
>     SYNTAX      Utf8String
>     MAX-ACCESS  read-write
>     STATUS      current
>     DESCRIPTION
>           "A zero length string if the value is unknown or not
>           appropriate; or one, or more pairs of tag and value
>           which provide alternative identification of the entity
>           in addition to the value of object entPhysicalVendorType.
>           This object was added so that one or more industry
>           sectors could add sector specific identification codes.
>           It is expected that typically, at most a single sector
>           identification code will be present. However, managers
>           must cope with a list of tag-value pairs.
>           The format of the value (when not a zero length string) is:
>             <pair>[;<pair>]...
>           where the format of <pair> is
>             <id>:<value>
>           where the values for <id> are short strings managed by IANA,
>           and <value> follows the rules for an <id> definition,
>           and may include any character other than ';'. The first
>           defined <id> is 'CLEI', and when so, the values for
>           <value> are 1 to 10 characters long as defined by 
>           TCIF-02-004, Guideline for data elements
>           included in the Management Information Base,
>           Telecommunications Industry Forum (TCIF), 09/11/2002.
> 
>           An example value is 'CLEI:ABCDEFGHIJ'"
>     ::= { entSupplPhysicalEntry 2 }

How did you pick the special characters : and ;? Do you have evidence
that these characters will not be used by identification code schemes? 
And does this not complicate matters instead of just saying this is the
CLEI code object (and to potentially add other identification objects
as the need arises)? I mean, it is easy to return a zero length string
or not to implement the object at all.

An alternative might be to actually add a URI object for identification
purposes. It is then the job of the CLEI folks to write up a URN
definition so that they can use CLEI codes for identification. I think
such an approach would be much better than creating a special purpose
name space just for this single MIB object.

/js