node-aruba-cli
v0.0.1
Published
Auba Instant cli is a console utility using node.js to interface with aruba instant
Downloads
1
Readme
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