DX NetOps

Tech Tip: How to change the Serial_Number of a device model in Spectrum

  • 1.  Tech Tip: How to change the Serial_Number of a device model in Spectrum

    Posted Aug 20, 2014 10:47 AM

    Tech Tip: How to change the Serial_Number of a device model in Spectrum

     

    CA Spectrum Tech Tip by Joe Ackley, Principal Support Engineer for 8/20/2014

     

    Descriptio:n:

     

    The Serial Number of a Spectrum device model as shown in the Asset Information subview of the model is either blank or incorrect.

     

    Solution:

     

    The following is taken from the "Configuring Serial Number Handling" from the "Certification User Guide":

     

     

     

    "Configure Serial Number Handling

     

    Device model types contain an attribute for setting and displaying the serial number of the modeled device: Serial_Number (0x10030). Enter the appropriate serial number value in any of the views where the attribute is displayed. Or, if the serial number is available as an external device attribute, you can configure the model type to retrieve this value and set the Serial_Number attribute.

     

    Follow these steps:

     

    1. Verify that the external attribute that contains the serial number is not a list attribute and is of type TEXT_STRING or OCTET_STRING.

     

    2. Set the value of the DeviceSerialAttr (0x3d0063) attribute for this device model type in the Model Type Editor. Make this value equal to the ID of the external attribute that contains the serial number.

     

     

    When a model of this model type is instantiated, CA Spectrum sets the Serial_Number attribute so that the value is equal to the value of the external attribute."

     

     

    If the you need to manually enter a value for the Serial_Number, Spectrum may change the value if the DeviceSerialAttr (0x3d0063) attribute is populated. To resolve this, change the value for the DeviceSerialAttr (0x3d0063) attribute to 0x0.