The customer's need is to display the following MIB values
in OneClick -> Component Detail -> new subview table, like this:
Release : 10.4.1
Component :
1) in MIBtool map the saplesifIndex to an attribute (in my case it was 0xfff000fc)
2) In the attribute Tab it will appear as a list attribute
3) create in $SPECROOT/custom/topo/config a table-SAP-config.xml and a view-devicedetails-config.xml file like the following:
The table-SAP-config.xml contains:
<?xml version="1.0" encoding="utf-8"?>
<!--
CA Technologies, Inc.
One CA Plaza
Islandia, NY 11749 USA
Copyright (c) 2004 CA Technologies, Inc.
All rights reserved.
IN NO EVENT SHALL CA TECHNOLOGIES INCORPORATED BE LIABLE FOR
ANY INCIDENTAL, INDIRECT, SPECIAL, OR CONSEQUENTIAL DAMAGES
WHATSOEVER (INCLUDING BUT NOT LIMITED TO LOST PROFITS) ARISING OUT
OF OR RELATED TO THIS SOFTWARE, EVEN IF CA TECHNOLOGIES INCORPORATED
HAS BEEN ADVISED OF, KNOWN, OR SHOULD HAVE KNOWN, THE POSSIBILITY OF
SUCH DAMAGES.
-->
<!--
-->
<table id="table-SAP-config"
xmlns="http://www.aprisma.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.aprisma.com
../../common/schema/table-config.xsd">
<swing-header-row-template>
<static-color idref="row-header-color-config"/>
</swing-header-row-template>
<swing-row-template>
<enumerated-color idref="alternatingrow-color-config"/>
</swing-row-template>
<column-list>
<column>
<name>SAP</name>
<content>
<attribute>0xfff000fc</attribute>
<renderer>
<param name="attrID">0xfff000fc</param>
com.aprisma.spectrum.app.util.render.EnumeratedAttrRenderer
</renderer>
</content>
<default-width>100</default-width>
</column>
</column-list>
</table>
the view-devicedetails-config.xml contains:
<?xml version="1.0" encoding="utf-8"?>
<!--
CA Technologies, Inc.
One CA Plaza
Islandia, NY 11749 USA
Copyright (c) 2004 CA Technologies, Inc.
All rights reserved.
IN NO EVENT SHALL CA TECHNOLOGIES INCORPORATED BE LIABLE FOR
ANY INCIDENTAL, INDIRECT, SPECIAL, OR CONSEQUENTIAL DAMAGES
WHATSOEVER (INCLUDING BUT NOT LIMITED TO LOST PROFITS) ARISING OUT
OF OR RELATED TO THIS SOFTWARE, EVEN IF CA TECHNOLOGIES INCORPORATED
HAS BEEN ADVISED OF, KNOWN, OR SHOULD HAVE KNOWN, THE POSSIBILITY OF
SUCH DAMAGES.
-->
<!--
-->
<view id="view-devicedetails-config" idref="view-devicedetails-config">
<subviews>
<!-- SAP -->
<table-subview idref="table-SAP-config">
<title>SAP Table</title>
</table-subview>
</subviews>
</view>
3) Close and reopen the OC client console
.