Skip to main content

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-0.4.0.tar.gz (628.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for hp-sdn-client-0.4.0.tar.gz
Algorithm Hash digest
SHA256 70a3b1d5f627dccdfd431e44b584976d04beeaa577fc1ee97b1743f5b100c7ad
MD5 8a504dfd5e642d186c0e10de730526d7
BLAKE2b-256 f16f05cecfaef09533fc397e236fc15cd3b4f3d87601f3e6bcb4d318803a3d0c

See more details on using hashes here.

Supported by

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