HewlettPackard / python-hpOneView

DEPRECATED - no longer actively maintained. New repository: https://github.com/HewlettPackard/oneview-python
MIT License
87 stars 57 forks source link

Feature Request: Support allocator/collector methods in IPv4 ranges. #316

Closed dtynan closed 7 years ago

dtynan commented 7 years ago

Scenario/Intent

The HP OneView API supports a primitive IPAM system for allocating IP addresses within the ranges defined on the appliance.

The API docs show a PUT /rest/id-pools/ipv4/ranges/{id}/allocator which will allocate an IP address from the specified range, and PUT /rest/id-pools/ipv4/ranges/{id}/collector to release it back into the pool.

Environment Details

Steps to Reproduce

No support for the above API methods.

Happy to add the functionality and submit upstream.

fgbulsoni commented 7 years ago

Sure @dtynan , those methods/endpoints are indeed not currently supported and could be added. Feel free to open a PR to add those in and request my review in it.

fgbulsoni commented 7 years ago

After another discussion, it seems these endpoints for the ipv4 ranges are not available in the REST API documentation and should not be supported at this moment. I'll close down this issue, but it can be reopened if we do want and have the means to support those endpoints in the SDK, or if this is contributed.