Wired Intelligent Edge

 View Only
last person joined: yesterday 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

New to Ansible With Aruba 2930M Issues with REST API.

This thread has been viewed 8 times
  • 1.  New to Ansible With Aruba 2930M Issues with REST API.

    Posted Feb 11, 2021 12:57 PM
    Hello All,
    Iam trying to configure Ansible with Aruba 2930M 48G PoE+ 1 and iam having issues with REST API ,
    I followed the the link in YT  -Aruba Bots Ansible Series 01 but had no luck .
    I get the error below:
    fatal: [switch1]: FAILED! => {"changed": false, "msg": "Connection failure: Remote end closed connection without response", "status": -1, "url": "http://10.100.100.238:80/rest/v6.0/login-sessions"}

    Tried on switch -  ip authorized-managers <ip_addr> <mask> access manager access-method web(noluck)

    Aruba 2930M 48G PoE+ 1
    Software revision : WC.16.10.0011
    -------------------------------------------------
    Control Machine is Ubuntu Server 20.x
    Python 3.8.5
    ansible 2.9.6

    Iam just using sample vlan file in the module: aruba-ansible-modules/example_playbooks/arubaoss/vlan.yml

    For pics and -vvvv file see link below 
    Aruba - Google Drive




    ------------------------------
    Sam S
    ------------------------------


  • 2.  RE: New to Ansible With Aruba 2930M Issues with REST API.

    MVP GURU
    Posted Feb 11, 2021 04:25 PM
    See https://community.arubanetworks.com/community-home/digestviewer/viewthread?GroupId=535&MessageKey=5a602b57-481e-4c5d-8605-2075d194409f&CommunityKey=ea467413-8db4-4c49-b5f8-1a12f193e959&tab=digestviewer&ReturnUrl=%2fbrowse%2fallrecentposts

    ------------------------------
    PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...

    PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)

    PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..

    ACEP / ACMX #107 / ACDX #1281
    ------------------------------