How to change the Label of Port CIs

Document ID : KB000019780
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue:

How can I change the Label of the Port CIs that are published from Spectrum into SOI ?

Environment:

SOI 3.x

Spectrum 9.2.3 H12, 9.3.x, 9.4.x, 10.x

SpectrumIM Connector 2.0.0.195, 2.0.0.208

Cause:

Port Model CIs are published by the Spectrum IM Connector in SOI with Labels like the following example:

Port:mplsTunnel:00-00-00-00-00-00:Module:Unknown:1011:RH-NE40E-01

This can be modified to appear in SOI with DeviceName and Description or any other available property with Format2 Tag.

Resolution:

Create a backup of the SOI\resources\Core\Catalogpolicy\spectrumim_policy.xml file
Stop the CA SAM Integration Services Service.

Update the spectrumim_policy.xml file as follows:

*The bold marked code is new code.

<EventClass name="Port" extends="Item">
                <Format>
                ................
                </Format>
                <Format2>
                                <Field output="InstanceName" format="{0}:{1}" input="DeviceDnsName,Description" />
                                <Field output="Label" format="{0}:{1}" input="DeviceDnsName,Description" />
                </Format2>
 
</EventClass>

Save the modifications and start the CA SAM Integration Services Service.

If still Port showing old format, uncheck Perform Delta processing in SOI administration and restart the Connector.