SD-WAN

 View Only
last person joined: 3 days ago 

Ask questions and share experiences with SD-WAN and Session Smart Router (formerly 128T).

API to display SSR offline nodes

  • 1.  API to display SSR offline nodes

    This message was posted by a user wishing to remain anonymous
    Posted 01-10-2023 09:09
    This message was posted by a user wishing to remain anonymous

    Hi Team,

    We are trying to distinguish the nodes which are Salt disconnected vs Offline nodes(Ex: power outage caused SSRs to go offline). 

    Example 1:

    Below node is salt disconnected but branch is processing the traffic---> SSR is online and WAN link is UP


    admin@conductor1# trace show system connectivity router SSR1 >>> GET /api/v1/peer/system/registry [Request-Id=c4cfc2f5] >>> GET /api/v1/system/registry [Request-Id=5e2813fa] % Error: Failed to get journal messages for self <<< GET /api/v1/peer/system/registry [Request-Id=c4cfc2f5] - 200 (716ms) <<< GET /api/v1/system/registry [Request-Id=5e2813fa] - 200 (67ms) >>> POST /api/v1/graphql [Request-Id=174a4475] % Error: Failed to get journal messages for self <<< POST /api/v1/graphql [Request-Id=174a4475] - 200 (420ms) Tue 2022-12-27 10:01:55 EST Retrieving system connectivity... >>> POST /api/v1/graphql [Request-Id=fded721e] % Error: Failed to get journal messages for self <<< POST /api/v1/graphql [Request-Id=fded721e] - 200 (657ms) There are no entries
    admin@conductor1#
    SSR1 SSR1A SN123456 None Disconnected 39d 11h 7m 22s 0
    SSR1 SSR1B SN123457 None Disconnected 39d 11h 7m 18s 0

    As per above, both the SSR routers connected in HA showing Salt-disconnected and SSC connection responds with "No entries" however branch router is able to communicate to Headend via WAN link and branch operations are UP


    Example 2:

    Below node is salt disconnected due to power outage ---> SSR is offline

    admin@conductor1# show assets | grep SSR2
    Piping output...
    SSR2 SSR2A SN123458 None Disconnected 100d 12h 5m 13s 0
    SSR2 SSR2B SN123459 None Disconnected 100d 12h 5m 16s 0

    SSR2 is the case where both the nodes went offline due to power outage and we are trying to get these nodes via API.

    Could you please assist.