DX NetOps

 View Only
  • 1.  Customize OneClick: add a column to show different values of a table

    Posted Feb 12, 2018 04:19 PM
    Good day
    There are two network devices (SW) that are listed with the
    OID 1.3.6.1.2.1.47.1.1.1.1.9 (entPhysicalFirmwareRev) and Map (0xfff0018d AtrributeID)

    At the moment of reviewing the mapped values, they appear as follows:

    SW2:
    1.3.6.1.2.1.47.1.1.1.1.9.1       =       12.1(22)EA14
    <content>
       <hidden-by-default>true</hidden-by-default>
         <attribute>0xfff0018d</attribute>
            <renderer>
               com.aprisma.spectrum.app.util.render.ListInstanceRenderer
               <param name="oid">1</param>
            </renderer>
    </content>

     

     

    SW1
    1.3.6.1.2.1.47.1.1.1.1.9.1001       =         12.2(55)SE5

    <content>
       <hidden-by-default>true</hidden-by-default>
          <attribute>0xfff0018d</attribute>
            <renderer>
               com.aprisma.spectrum.app.util.render.ListInstanceRenderer
               <param name="oid">1001</param>
            </renderer>
    </content>


    How can a conditional or something that associates both devices,
    ie the parameter "1" and the parameter "1001" at the same time?

    I will be attentive to your answer

    Greetings.


  • 2.  Re:  Customize OneClick: add a column to show different values of a table

    Posted Feb 13, 2018 05:54 AM

    Hi,

     

    Instead of configuring on OID, its good to configure with attribute.

     

    Kindly try using below mentioned configuration in table-model-config.xml file in custom/common/config location.

     

    <column>
    <hidden-by-default>true</hidden-by-default>
    <name>Firmware</name>
    <content>
    <attribute>0x12de0</attribute>
    <renderer>
    <param name="attrID">0x12de0</param>
    com.aprisma.spectrum.app.util.render.ObjectIDValueListRenderer
    </renderer>
    <hidden-by-default>true</hidden-by-default>
    </content>
    </column>

     

    Regards,

    Vishnu Prasad