Classification: UNCLASSIFIED Caveats: NONE Good Morning,
I am trying to work on customization of my search result table. I created a
search that will yield all the ports of a particular switch and was able to
add a column to the results that reflected the Operations Status (0x10e40)
The problem is that the 1 or 2 that is reported is not user-friendly for the
operators ...
I cannot figure out how to change the output AND how do I do put a graphic
in the result similar to the graphics you see when you look at the interface
tab within the Component Detail Pane?
I listed my latest attempt below. I think my biggest problem is not having
a full fundamental understanding on expressions and the PDF file "OneClick
Customization" is rather difficult to work your way through it.
<table idref="table-searchresults-config">
<column-list>
<column>
<name>Port Status</name>
<content>
<select>
<case>
<expression>
<attribute>0x10e40</attribute>
attrInt(AttributeID.ifOperStatus) == 1
</expression>
<yield>Up</yield>
<expression>
<attribute>0x10e40</attribute>
attrInt(AttributeID.ifOperStatus) == 2
</expression>
<yield>Down</yield>
</case>
</select>
</content>
</column>
</column-list>
</table>
Thanks for any and all help!!
Stephen
"There's a war out there, old friend, a world war.
And it's not about who's got the most bullets.
It's about who controls the information"
-Sneakers, 1992
Classification: UNCLASSIFIED
Caveats: NONE
smime.p7s
Description: S/MIME cryptographic signature
