Skip to main content
https://badge.fury.io/py/hp-sdn-client.png

A Python library that makes interaction with the HP SDN Controller REST API easy

Author: Dave Tucker, Hewlett Packard

This library is currently developed against the HP SDN Controller v2.0 API

Usage Example

import hpsdnclient as hp

controller = ‘10.44.254.129’

auth = hp.XAuthToken(user=’sdn’, password=’skyline’, server=controller)

api = hp.Api(controller=controller, auth=auth)

Sample Application

Please see examples/short_detour.py

Running the Tests

The unit tests can be run with tox. Make sure you have modified hpsdnclient/tests/tests.py before you run.

tox -e py27 -v – -v

tox.ini has py26, py27 and py33 environments. Only py26 and py27 have been tested right now

ToDo

Items still to do:

  • Better unit test coverage

  • Implement the cache

  • Python 3.3 compatibility

  • Documentation (Sphinx)

Download files

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

Source Distribution

hp-sdn-client-1.0.0.tar.gz (632.8 kB view details)

Uploaded Source

File details

Details for the file hp-sdn-client-1.0.0.tar.gz.

File metadata

  • Download URL: hp-sdn-client-1.0.0.tar.gz
  • Upload date:
  • Size: 632.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hp-sdn-client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 26c4584c77c8c6254284f1214c3f9b89882c526fe7991199c058e3ac6eb8bf5b
MD5 899042777f46b3e43e9223f783738257
BLAKE2b-256 5dd4b1bba458735166d4cda40db6914fc7024b58e9cbc4dd74c9e9e3e391508f

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.1

1 file

1.1.0

1 file

1.0.4

1 file

1.0.3

1 file

1.0.2

1 file

1.0.1

1 file

This release

1.0.0 This release

1 file

0.4.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page