go-aoscx

command module
v0.0.0-...-8b1d972 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

README

go-aoscx

Go library and CLI app for interacting with the Aruba AOS-S API.
AOS-CX API will hopefully be added in the future. Currently, up to v8 of the API is supported.

CLI Usage:

go-aoscx --ip 192.168.0.1 --command vlans
# Lists all the VLANs configured on the switch with the IP specified.

Requirements

  • Rest interface to be enabled on the switch.
    • Run show rest-interface from the 'configure' context to enable rest interface.
  • No authentication.
    • Switch authentication will be added in future.

Warning!

This project is in Alpha.
Contributions are welcome.

References

API v2-v8 FULL 16.09 REST API and JSON Schema
API v1: HPE ArubaOS-Switch REST API andJSON Schema Reference Guide 16.03Part Number: 5200-2937Published: January 2017Edition: 1
API v2-v8 REST API for AOS-S 16.11
API v10.04 ArubaOS-CX 10.05 REST v10.04 API Guide

TODO:

  • Add other v1 functions
  • Allow option for HTTPS (and default to HTTPS)
  • Add authentication/session support
  • Add API v10.04 support (for AOS-CX)
    • Support both API versions

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
raw

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL