A package to allow you to interact with the Silver Peak Orchestrator API
Project description
# silverpeak_python Python library for use with Silver Peak SD-WAN Orchestrator API. Requires [requests](http://docs.python-requests.org/en/master/)
### About [Silver Peak](https://www.silver-peak.com/) is an SD-WAN vendor with a solid rest API. The API is documented on the orchestrator host and can be found by going to https://hostname/orch_version/webclient/php/swagger/index.html.
### Installation `bash pip install silverpeak `
### Instantiate a connection to a vManage device `python from silverpeak import * sp = Silverpeak(user='admin', user_pass='admin', sp_server='192.168.1.2') `
### Call methods `python devices = sp.get_appliances() `
### Returned Result All methods return a Result named tuple with the requests.json() data in the data element. The complete requests.response object is stored in the response element `python Result(ok=True, status_code=200, error='', reason='Success', data={}, response=<Response [200]>) `
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
File details
Details for the file silverpeak-0.0.3.4.tar.gz
.
File metadata
- Download URL: silverpeak-0.0.3.4.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e73c90e986cc0919b4a7fd1d10570f2de1ff352e4fb5ef454f5f539f558cbb1 |
|
MD5 | 54315b4d36e76744dd25a343c30d9318 |
|
BLAKE2b-256 | 0e2d7167f3e8680dfce7f0428cd1dbd129dd31abaf56a1c4b5f3bc6d918cd572 |
File details
Details for the file silverpeak-0.0.3.4-py3-none-any.whl
.
File metadata
- Download URL: silverpeak-0.0.3.4-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5121e386346160ce05110bd6dba7cf644a69ab4ed8c143ac7e3b831984ae03c |
|
MD5 | bc5f5385ebc1b6bc74db7ed49bbd3c4b |
|
BLAKE2b-256 | cdcea7709acbe025491beee57d10f1c9de2e3734e8838c33965848eacb8e359a |