Developer

 View Only
Expand all | Collapse all

No desc in Aruba Central API request

This thread has been viewed 19 times
  • 1.  No desc in Aruba Central API request

    Posted Jul 02, 2025 08:10 AM

    Hello everyone,

    I'm trying to pull interface data from Aruba Central, but I've noticed that the interface description (desc) doesn't seem to be included in the API response.

    The API call I'm using: get /monitoring/v1/cx_switches/{serial}/ports

    In this response, I don't see any desc or similar field for the port description.

    I couldn't find any other API endpoint that provides this information either.

    Does anyone know if there's a way to retrieve interface descriptions via the API? The description field is quite important for us.

    Thanks in advance for your help!

     



  • 2.  RE: No desc in Aruba Central API request
    Best Answer

    Posted Jul 02, 2025 08:52 AM

    I didn't found an API that will give the interface description either.

    However, in the New Central API I'm able to get the requested info

    API: https://developer.arubanetworks.com/new-central/reference/listinterfaces

    API call: {{baseUrl}}/network-monitoring/v1alpha1/switch/{serial}/interfaces?site-id={siteid}&filter="name eq 1/1/2"
    
    {
        "items": [
            {
                "peerPort": null,
                "peerMemberId": null,
                "uplink": false,
                "portError": [],
                "neighbour": "AP3",
                "neighbourPort": "eth0",
                "status": "Connected",
                "neighbourFamily": "Network Devices",
                "neighbourFunction": "Access Point",
                "description": "AP-PORT",
                "neighbourRole": null,
                "neighbourHealth": "Good",
                 .....


    ------------------------------
    Willem Bargeman
    Systems Engineer Aruba
    ACEX #125
    ------------------------------