add ability to allocate an IP address via the API
I'd like to be able to add an interface to a host using the v2 API at /api/hosts/<host>/interfaces. I'd also like to be able to use this API to assign a free IP from one of the specified networks. Please extend the API to support this ability. Perhaps a subnet parameter could be added when creating an interface on a host, and if the IP address is left null then it retrieves one from the smart proxy for that subnet.