Mapping Subtype BITS Definitions

[This is preliminary documentation and subject to change.]

The following table defines the mapping where the SYNTAX clause of the SNMPv1 and SNMPv2C OBJECT-TYPE macro refers to an SNMP primitive type, named type, or textual convention containing a subtype definition of type BITS.

Table 5: Mapping SNMPv1 and SNMPv2C Subtype BITS Definitions

Constrained MIB type Variant

type

Textual convention qualifier Encoding qualifier Cimtype qualifier Default value
BITS VT_ARRAY | VT_BSTR bits OCTETSTRING string N/A

The CIM named qualifier textual_convention defines the textual representation of the SYNTAX clause of the OBJECT-TYPE macro.

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 from the SYNTAX clause of the OBJECT-TYPE macro up to but not including the enumerated value assignments, if present.

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

The CIM property qualifier bits defines the enumerated values. The bits qualifier is represented as a string containing a comma-separated list of singed 32-bit integer values.

For example:

Status := BITS {

up(1),
down(2), 
testing(3)
}
 

This example maps to:

bits("up(1),down(2),testing(3)")