How to add new columns in the Results tab for Ports model in Locater search

book

Article ID: 37583

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

How to display the value of additional attributes of Port models in the Locater search Results tab that are not available Out of the Box.



Environment

Release:
Component:

Resolution

The follow example adds 5 attributes in the Results tab for port models found in a Locater search.

 

1. On the OneClick web server machine, navigate to $SPECROOT/custom/topo/config directory and create new file called table-ports-config.xml with the following content:

 <?xml version="1.0" encoding="utf-8"?>
<table idref="table-ports-config">
<column-list>
    <column>
        <name> PollPortStatus </name>
        <content>
            <attribute> 0x1280a </attribute>
        </content>
    </column>
    <column>
        <name> ok_to_poll </name>
        <content>
            <attribute> 0x11dd8 </attribute>
        </content>
    </column>
       <column>
        <name> AlarmOnLinkDownTrap </name>
        <content>
            <attribute> 0x11fc2 </attribute>
        </content>
    </column>
       <column>
        <name> GeneratePortStatusAlarms </name>
        <content>
            <attribute> 0x12a54 </attribute>
        </content>
    </column>
       <column>
        <name> AssertLinkDownAlarm </name>
        <content>
            <attribute> 0x12957 </attribute>
        </content>
    </column>
</column-list>
</table>

 

2. Save the file.

3. Close and relaunch the OneClick Console, or simply launch a new OneClick Console.

4. In the Results tab, right-click on the column title, select the new columns added.

5. Now you should be able to see the value of the attributes.

User-added image

Additional Information

Please reference the "OneClick Customization" section of the documentation for more information.

Attachments