Skip to main content

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

About

Silver Peak 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

pip install silverpeak

Instantiate a connection to a vManage device

from silverpeak import *
sp = Silverpeak(user='admin', user_pass='admin', sp_server='192.168.1.2')

Call methods

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

Result(ok=True, status_code=200, error='', reason='Success', data={}, response=<Response [200]>)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

silverpeak-0.0.3.1.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file silverpeak-0.0.3.1.tar.gz.

File metadata

  • Download URL: silverpeak-0.0.3.1.tar.gz
  • Upload date:
  • Size: 4.5 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

Hashes for silverpeak-0.0.3.1.tar.gz
Algorithm Hash digest
SHA256 90e5b126b5cdd671fbc2eb54baee8e976e37260212187832cb6fb6ae6c97eed1
MD5 689aca756ad90027d4585ea5d89f99ca
BLAKE2b-256 a06b915fcf49614b6da01853d270fa1d0dbecda706511e412007738bd3852270

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page