Quantcast
Channel: THWACK: Discussion List - All Communities
Viewing all articles
Browse latest Browse all 16365

Help with SWQL query

$
0
0

Hi all !!!


I wrote a query.

 

SELECT  

    '' AS [R]

    ,'/Orion/images/StatusIcons/Small-'+E0.[Router].[Nodes].[StatusLED] AS [_IconFor_R]

    ,E0.[Router].[Nodes].[NodeName] AS [NodeName]

    ,E0.[Router].[Nodes].[DetailsUrl] AS [_LinkFor_NodeName]

    ,E0.[Router].[Nodes].[IP_Address] AS [IP address]

    ,E0.[ProtocolStatusDescription] AS [Status]

    ,'' AS [P]

    ,Case    when E0.[Router].[Nodes].[StatusLED] = 'Down.gif' then '/Orion/images/StatusIcons/Small-Unreachable.gif'

        when E0.[ProtocolOrionStatus] =1 then '/Orion/images/StatusIcons/Small-Up.gif'

        else '/Orion/images/StatusIcons/Small-Down.gif' end AS [_IconFor_P]

        ,E0.[AutonomousSystem] AS [ASN]

        ,E0.[NeighborIP] AS [Neighbor]

FROM [Orion].[Routing].[Neighbors] AS E0

WHERE E0.[AutonomousSystem] not like '6[4-5][0-9][0-9][0-9]' and E0.[ProtocolID] = 14 and E0.[IsDeleted] = '0'

 

NowI need to adda link tothe interfaceon which youconfigureda BGP.

I foundthe "InterfaceIndex" of the table "Orion.Routing.RoutingTable" inthis fieldyou can find the interfacein the table "Orion.NPM.Interfaces".

I tried,but Ifailed.


In Web-console this link is available:


Viewing all articles
Browse latest Browse all 16365

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>