[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OID value for columnar objects in a table, order of objects
>>>>> chintan sheth writes:
chintan> Is it true that the value of the last component for the OID
chintan> values assigned to the set of columnar objects for a table
chintan> start at one, and are consecutively numbered? Also is it
chintan> mandatory that table, row, sequence and columnar objects are
chintan> followed immediately one after another. as per rfc2578 i
chintan> guess the ordering is correct.
RFC 2578 says in section 7.10:
(1) If the object corresponds to a conceptual table, then only a single
assignment, that for a conceptual row, is present immediately
beneath that object. The administratively assigned name for the
conceptual row object is derived by appending a sub-identifier of
"1" to the administratively assigned name for the conceptual
table.
In other words, the xyzEntry must be registered as xyzTable.1.
(2) If the object corresponds to a conceptual row, then at least one
assignment, one for each column in the conceptual row, is present
beneath that object. The administratively assigned name for each
column is derived by appending a unique, positive sub-identifier to
the administratively assigned name for the conceptual row.
In other words, columns must be registered beneath xyzEntry. It is not
required to start with 1 and number them without "holes". But it is
kind of good practice to do so.
(3) Otherwise, no other OBJECT IDENTIFIERs which are subordinate to
the object may be assigned.
This says that the xyzEntry is the only node below xyzTable and that
columns are the only nodes below xyzEntry.
Your example complies to the rules and the good practice of numbering
columns 1, 2, 3, and so on, ignoring the use of mib-2.1 for a moment.
/js