search cancel

For some interfaces , the Start Connection is not available. How to enable it.

book

Article ID: 252530

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Customer wants to connect manually a device interface with another one without using discover connections, but for some interfaces this option is disabled (grayed out). How to make it enable again?

Environment

Release : 21.2.x, 22.2.x

Cause

In topo-app-config.xml file there is a filter that tests if the model _class of interface is a Port(15) if the interface has a different model_type the Start Connection is grayed out.

Resolution

Edit the $SPECROOT/tomcat/webapps/spectrum/WEB-INF/topo/config/topo-app-config.xml and remove or comment out the filter for the manage-pipes privilege  (after line 2350) as below (lines in green) :

    <item name="com.aprisma.spectrum.app.topo.client.util.StartConnectionAction.name">
      <privilege>
        <name>manage-pipes</name>
      </privilege>
      <action>
   <!--
        <filter>
          <and>
            <or>
                Collects by Universe 
              <can-be-related mtypeID="0x10091">0x10002</can-be-related>
            <model-class>15</model-class>  Port 
            </or>
            <not>
               No LMT-related model types 
              <attribute-list id="AttributeID.MTYPE_HANDLE">
                0x05400000,0x05400001,0x05400002,0x05400003,0x05400004,0x05400005
              </attribute-list>
            </not>
          </and>
        </filter>
  -->
  <context>com.aprisma.spectrum.app.topo.client.render.ModelContext</context>
        <class>com.aprisma.spectrum.app.topo.client.util.StartConnectionAction</class>
      </action>
    </item>

 save and then re-open OC console.

Additional Information

The default SPECROOT/tomcat/webapps/spectrum/WEB-INF/topo/config/topo-app-config.xml file must be edited for this to work. It will not work by copying the topo-app-config.xml file to the $SPECROOT/custom/topo/config directory and then editing that file.

Since this is a modification to an out of the box default file an upgrade of Spectrum may overwrite this file.