Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 778 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 778 Bytes

IP Address Management REST API

Create a simple IP Address Management REST API on top of any data store. It will include the ability to add IP Addresses by CIDR block and then either acquire or release IP addresses individually. Each IP address will have a status associated with it that is either “available” or “acquired”.

The REST API must support four endpoint:

  • Create IP addresses - take in a CIDR block (e.g. 10.0.0.1/24) and add all IP addresses within that block to the data store with status “available”
  • List IP addresses - return all IP addresses in the system with their current status
  • Acquire an IP - set the status of a certain IP to “acquired”
  • Release an IP - set the status of a certain IP to “available”