| Nestor:
> What is the mechanism for retrieving dictionary information if only the
> OID is known?
The dictionary is not currently set up to retrieve objects by OID. Only
CI pairs are accepted at this time. OID keyed retrieval is a high priority
future. We're looking at something called the Common Agent MIR to help us
in this area in the future.
> Conversely, if the CI pair is known, how is the OID specified in the
> MSL retrieved from the dictionary? Is it additional definition data?
You got it. There are four new definitions in the dictionary for this
information. The constants (found in mcc_interface_def.h) for these
definitions are:
MCC_K_DD_OID
MCC_K_DD_SNMP_OID
MCC_K_DD_DNA_CMIP_INT
MCC_K_DD_OSI_CMIP_OID
Hope this helps...
- Jerry
|
| Part of one draft of the ECO included information (sort of an algorithm
description) about how a module (eg. AM) could read the appropriate
class definitions to construct an in-memory table mapping OIDs to
codes. We sort of figured this was a fairly obvious algorithm, and
anyway it might be better in the toolkit documentation than the SRM.
None-the-less you might still consider such an approach, until we
implement, as .1 pointed out, dictionary lookup based on OID.
Colin
|