Terminal User Interface for spcli
Project description
Terminal User Interface for Silverpeak/Aruba SD-WAN CLI. This CLI tool is a wrapper of the other project spcli which provides a terminal user interface with guided manu to query the Silverpeak API.
Getting Started
Requierements
Python >=3.7
User with API KEY
To get started, install the CLI tool from Pypi
pip3 install pyspcli-ui
or download it directly from github:
pip3 install git+https://github.com/NetDevLazg/spcli-ui.git
Once the installation is successful, you will need to create a file with your api credentials.
Create a folder in the following directory mkdir ~/.spcli
Create a yml file with your credentials in .spcli directory
- Using vim
vim ~/.spcli/creds.yml
- Using nano
nano ~/.spcli/creds.yml
The yml file needs to have the following variables. Example:
url: silverpeak-orch-use1.silverpeak.cloud token: a38b3360bb4d06fed7e53f77c8752d74bb4faeb4295385a25e02ebc2594d9074a16bb115fce4d4dc9826d824950504b6d23373
After the file is created and saved, please verify the cli tool version using the following command:
sp -v version...installed: 0.0.6
Possible Errors
If you receive an error saying “Command not found” make sure to add the location where the package is installed to your $PATH
Possible error:
WARNING: The script sp is installed in '/Users/John/Library/Python/3.8/bin' which is not on PATH.
Fix:
export PATH='$PATH:/Users/John/Library/Python/3.8/bin'
Examples
To use the user interface please use the following command:
spui
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyspcli-ui-0.1.0.tar.gz.
File metadata
- Download URL: pyspcli-ui-0.1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c750b16d6a0f2763cbbd91616c279aa2330517be832df9627f930e247d80d38
|
|
| MD5 |
9c432d8f77ea7cdbe2e2c72052bc3e1b
|
|
| BLAKE2b-256 |
004bfe77a3219b9e1ab6033b9b5db5db0f2e3f029a61c3ee58313ba5c937fab6
|
File details
Details for the file pyspcli_ui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyspcli_ui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e975da8ad854237d217e7667e02dca0a791d30c8c1a7310c3d352a98df17a387
|
|
| MD5 |
b3301bd7d781fe2162fc7a7aafcb70a9
|
|
| BLAKE2b-256 |
15fe54c63332c7226c7ab42fa559cc1cbd05c4c255611aca1728c4a189bcd620
|