Sign inSign up

arubahpe/aruba-sdk

By arubahpe

•Updated almost 5 years ago

An image containing multiple Aruba SDKs installed in it and ready to run automation scripts.

Image
1

369

arubahpe/aruba-sdk repository overview

⁠aruba-sdk

aruba-sdk docker image can used to run automation scripts without having to go through installation of Aruba SDKs and its requirements in your local system. An use-case for this image is to be used as an agent/node in Continuous Integration / Continuous Deployment (CI/CD) pipelines in tools such as Jenkins (use the image with jenkins-agent tag).

The following Aruba SDKs are available in this image.

  1. pycentral - Python SDK for Aruba Central API
  2. pyaoscx - Python SDK for Aruba AOS-CX Switch API
  3. arubanetworks.aruba_central_role - Ansible Role for Aruba Central API
  4. arubanetworks.aos_wlan_role - Ansible Role for AOS8 Mobility Controllers API
  5. arubanetworks.aoscx_role - Ansible Role for AOS-CX Switch API
  6. arubanetworks.aos_switch - Ansible Collection for AOS-Switch
⁠Base Linux
  • Alpine
⁠Installed packages
  • Python
  • Ansible
  • Bash
  • SSH
  • Telnet

⁠Usage

⁠arubahpe/aruba-sdk:latest

Test/Validate the image by running a sample script⁠.

sudo docker run -it --rm -v <local-path-to-script>:/aruba/pycentral_base_sample.py arubahpe/aruba-sdk:latest python3 pycentral_base_sample.py
⁠arubahpe/aruba-sdk:jenkins-agent

Following is an example of docker-compose.yaml⁠ to deploy aruba sdk container as a Jenkins node. Provide Jenkins Host URL, Agent name and secret obtained by creating a node in Jenkins host Manage Jenkins -> Manage Nodes and Cloud.

Optional:

  • Configure the Network for this node in-order to reach the Jenkins Host. In local test environment, Jenkins Host and this node could be part of same docker network.
  • Volume Mount configuration is optional as well. If it's not provided Jenkins would create a default local volume mount.

⁠GitHub Source

https://github.com/aruba/docker-aruba-sdk⁠

Tag summary

Content type

Image

Digest

Size

82.2 MB

Last updated

almost 5 years ago

docker pull arubahpe/aruba-sdk