node-aruba-cli

0.0.1 • Public • Published

aruba-instant-cli

Introduction

Auba Instant cli is a console utility using node.js to interface with aruba instant

Compatibility

  • Tested against Aruba Instant 6.4.x.x

Installation

npm install -g aruba-instant-cli

Usage

File Based

./config.json

{
  "notlsreject": true, 
  "protocol": "https",
  "host": "{device-ip}",
  "port": 4343,
  "username": "{username}",
  "password": "{password}"
}

Command

aruba --file ./config.json exec "show summary" 

Environment

SET AICLI_PROTOCOL=https
SET AICLI_HOST=test-server
SET AICLI_PORT=test-server
SET AICLI_USERNAME={username}
SET AICLI_PASSWORD={password}
SET NODE_TLS_REJECT_UNAUTHORIZED=0 //For invalid certs

Command

aruba exec "show summary" 

Command Line

aruba --protocol https --host test-server --port 4343 --username {username} --password {password} exec "show summary" 

Docker

docker run --rm -it vostro/aruba-instant-cli --protocol https  --host test-server --port 4343 --username {username} --password {password} exec "show summary" 

Commands

aruba ${....args} exec "show summary" 
  • exec "${cmd}"

TODO

  • Examine the rest of the api

Readme

Keywords

none

Package Sidebar

Install

npm i node-aruba-cli

Weekly Downloads

3

Version

0.0.1

License

GPL-3.0

Last publish

Collaborators

  • azerothian