Skip to main content

Dynamic network blocks allocation via simple HTTP RPC

requirements

  • python

  • netaddr

usage

With curl:

# allocate a network
$ curl -X POST --data "$uuid" http://localhost:7623/v1/network/

# free a previously allocated network
$ curl -X DELETE --data "10.0.0.0/24" http://localhost:7623/v1/network/

# list current allocations
$ curl http://localhost:7623/v1/network/ | python -m json.tool

Download files

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

Source Distribution

dtcd-0.1.1.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file dtcd-0.1.1.tar.gz.

File metadata

  • Download URL: dtcd-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for dtcd-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6b0a73e6640d99da1d4069203e224c35e09148894714f52606211c1ea2de10f0
MD5 24165741edf08a9c0652126874bae732
BLAKE2b-256 ff7a5d91fd18a45ddef1828eff5ee60ac37e87fccc03a20c209ae2b5c68be91e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

Supported by

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