A Characteristic Attributes

This appendix describes how to determine the values of the modelName and discoveredVendorName fields.

Determining the Value of the modelName Field

You determine the value of the modelName field for PhysicalDevice using the following algorithm:

  • The input is the sysObjectId value in its raw form (for example, .1.3.6.1.4.1.9.1.110) stored in the discoveredModelNumber field.

  • It then parses the ninth digit from sysObjectId (for example, 110).

  • It then uses the parsed value (for example, 110) as the key to look up the model name from the ciscoProductsMap that is output from the Cisco SNMP Properties Initializer.

  • If the key does not exist, discoveredVendorName is set to Unknown (x) where x is the key; for example, Unknown (110).

You determine the value of the modelName field for Equipment, EquipmentHolder, and PhysicalPort using the following algorithm:

  • The input is the entPhysicalVendorType OID value in its raw form (for example, .1.3.6.1.4.1.9.12.3.1.9.3.2) stored in the discoveredModelNumber field. This value is in the form of .1.3.6.1.4.1.9.12.3.1.vvvv.xxxx.yyyy.n.n….. where vvvv.xxxx.yyyy is the vendor type number.

  • It then parses out the vendor type number from the entPhysicalVendorType value (for example, 9.3.2).

  • It then uses the vendor type number (for example, 9.3.2) as the key to look up the model name from the ciscoVendorTypesMap that is output from the Cisco SNMP Properties Initializer.

  • If the key does not exist, the cartridge trims the last digit and try again (for example, from 9.3.2 to 9.3). If the key still does not exist, it trims once more (for example, to 9) and try again. If this fails as well, discoveredVendorName is set to Unknown (x) where x is the original key; for example, 9.3.2.

Determining the Value of the discoveredVendorName Field

You determine the value of the discoveredVendorName field using the following algorithm:

  • The input is the sysObjectId value in its raw form (for example, .1.3.6.1.4.1.9.1.110) stored in the discoveredModelNumber field.

  • It then parses the seventh digit from sysObjectId (for example, 9).

  • It then uses the vendor number (for example, 9) as the key to look up the vendor name from the snmpVendorNameMap that is output from the MIB II Properties Initializer.

  • If the key does not exist, discoveredVendorName is set to Unknown (x) where x is the key; for example, Unknown (9).