Skip to content
/ dtcd Public

Dynamic network blocks allocation via simple HTTP RPC

Notifications You must be signed in to change notification settings

svinota/dtcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dtcd

Dynamic network blocks allocation via simple HTTP RPC

requirements

  • python
  • netaddr

usage

With curl::

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

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

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

About

Dynamic network blocks allocation via simple HTTP RPC

Resources

Stars

Watchers

Forks

Packages

No packages published