Developer

last person joined: yesterday 

Expand all | Collapse all

Gateway and mobility controller details apis does not return any data

This thread has been viewed 13 times
  • 1.  Gateway and mobility controller details apis does not return any data

    Posted Jul 06, 2021 12:42 PM
    Hi,
    I am trying to fetch gateway (we have Aruba 9004 in the lab) details from Aruba Central
    However, the response is always empty
    The APIs I am trying to use:

    Mobility Controller Details
    /monitoring/v1/mobility_controllers/{serial}
    Mobility Controllers Ports Details
    /monitoring/v1/mobility_controllers/{serial}/ports

    Mobility Controllers VLAN details

    /monitoring/v1/mobility_controllers/{serial}/vlan

    Gateway Uplink Details

    https://eu-apigw.central.arubanetworks.com/monitoring/v1/gateways/{serial}/uplinks?timerange=3H

    Gateway Ports Details

    monitoring/v1/gateways/{serial}/ports

    Gateway VLAN details

    monitoring/v1/gateways/{serial}/vlan

    Any help please?

    ------------------------------
    Evgeny Tsirkin
    ------------------------------


  • 2.  RE: Gateway and mobility controller details apis does not return any data

    Posted Jul 06, 2021 02:40 PM
    Hi Evgeny,

    Can you provide some additional details such as the HTTP response code? For example, if you provided wrong serial number, then the response will be empty and the status code will be 404.  

    Do you see your gateway in the response of the API call to this endpoint "/monitoring/v1/gateways"?

    Thanks!

    ------------------------------
    Karthikeyan Dhandapani
    ------------------------------



  • 3.  RE: Gateway and mobility controller details apis does not return any data

    Posted Jul 07, 2021 05:59 AM
    Sure,
    Calling any of the above endpoints will result in this in response body :
    {
      "count": 0,
      "ports": []
    }


    For the /monitoring/v1/gateways I am getting this:
    {
      "count": 1,
      "gateways": [
        {
          "cpu_utilization": 0,
          "firmware_backup_version": null,
          "firmware_version": "8.7.0.0-2.3.0.1_80328",
          "group_name": "netop",
          "ip_address": "0.0.0.0",
          "labels": [],
          "mac_range": null,
          "macaddr": "20:4c:03:b7:bc:fa",
          "mem_free": 0,
          "mem_total": 0,
          "mode": "GATEWAY",
          "model": "A9004",
          "name": "Aruba9004_B7_BC_FA",
          "reboot_reason": null,
          "role": "",
          "serial": "CNLHKLB012",
          "site": "NetOpLab",
          "status": "Up",
          "uptime": null
        }
      ]
    }





  • 4.  RE: Gateway and mobility controller details apis does not return any data

    Posted Jul 08, 2021 05:04 PM
    This looks strange. You might have to talk to your regional SE and file a TAC case/ticket to look into this further.

    Thanks!

    ------------------------------
    Karthikeyan Dhandapani
    ------------------------------