SNMP Named Types

[This is preliminary documentation and subject to change.]

SNMP named types map to CIM defined types. The following process applies where the SYNTAX clause refers to a primitive type, textual convention, or constrained type through some type assignment derivation:

  1. If, through derivation of the type assignment rules a constrained type definition is encountered, then:
    1. If, through further derivation, one of the textual conventions listed in Table 3 is encountered, then apply the mapping rules for constrained types and textual conventions.
    2. Otherwise, through further derivation, one of the primitive types listed in Table 1 or Table 2 is encountered. Apply the mapping rules for primitive types and constrained types.
  2. Otherwise, if through derivation of the type assignment rules, one of the textual conventions listed in Table 3 is encountered, then apply the mapping rules for textual conventions.
  3. Otherwise, through derivation of the type assignment rules, one of the primitive types listed in Table 1 or Table 2 is encountered. Apply the mapping rules for primitive types.

The CIM named qualifier object_syntax defines the named type definition present within the SYNTAX clause of the OBJECT-TYPE macro. The object_syntax is copied verbatim from the SYNTAX clause of the OBJECT-TYPE macro.

The CIM named qualifier encoding defines the SNMP type used when encoding SNMPv1 and SNMPv2C protocol frames.

Note  A class definition containing a property type definition that does not conform to the property type mapping presented above is considered an invalid CIM SNMP provider-defined class definition. In this case, the provider is responsible for returning an error condition if and when the provider requests the retrieval of a class definition while executing an instance retrieval function.