Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

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


Instantiate a connection to a vManage device

from silverpeak import *
sp = Silverpeak(user='admin', user_pass='admin', vmanage_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]>)

Supported by

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