SD-WAN

 View Only
last person joined: 2 days ago 

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

Looking for API/Way to identify branch WAN having physical connection without internet

  • 1.  Looking for API/Way to identify branch WAN having physical connection without internet

    Posted 12-01-2022 13:23
    Hi Team,

    Is there any way to detect branches having physical interface is up and internet is down? ( we can get from peer path but it can generate even if it reaching threshold of path metrics)

    We are trying to build dashboard for only branches having reachability issues for any of the transports ( T1 PE reachability down, DIA/LTE internet down but physically up).

    Thanks,
    Bhaskar.



    ------------------------------
    BHASKAR GADDAM
    ------------------------------


  • 2.  RE: Looking for API/Way to identify branch WAN having physical connection without internet

     
    Posted 12-02-2022 08:27
    Hi Bhaskar,

    Yes, you can use GraphQl API. Here is an example:
    query MyQuery {
      ping(destinationIp: "8.8.8.8", identifier: 10, nodeName: "node1", routerName: "TA-DC-Router", sequence: 10, egressInterface: "WAN1", timeout: 3) {
        status
        statusReason
        reachable
        sequence
        ttl
        responseTime
      }
    }​

    And the response would be like this:
    {
      "data": {
        "ping": {
          "status": "SUCCESS",
          "statusReason": "",
          "reachable": true,
          "sequence": 10,
          "ttl": 120,
          "responseTime": "15.67"
        }
      }
    }​


    In case the host 8.8.8.8 is not reachable, you would get following response:
     

    {
      "data": {
        "ping": {
          "status": "SUCCESS",
          "statusReason": "",
          "reachable": false,
          "sequence": 0,
          "ttl": 0,
          "responseTime": "0"
        }
      }
    }
    

    Hope it helps.

    Cheers,
    Ivan


    ------------------------------
    Ivan Stanev
    ------------------------------