purpleidea / mgmt

Next generation distributed, event-driven, parallel config management!
https://purpleidea.com/tags/mgmtconfig/
GNU General Public License v3.0
3.58k stars 311 forks source link

Create an OVH resource #768

Open purpleidea opened 2 weeks ago

purpleidea commented 2 weeks ago

It would be nice to have a resource to manage OVH servers. Some information about such servers is available here:

https://www.ovhcloud.com/

And for dedicated servers:

https://www.ovhcloud.com/en-ca/bare-metal/prices/

Some initial inquiries were done here:

https://github.com/ovh/go-ovh/issues/85

API docs are here: https://ca.api.ovh.com/

Of note, I don't see any obvious event mechanisms, so that is missing from their API. As a result, we'd need to just use the Poll metaparam instead of having a fancy Watch implementation. This makes writing this resource a lot easier.

To build this resource it probably makes sense to start off with a simple version that handles their per minute cloud VM's, and then move on to dedicated hosts afterwards.

If you're working on this resource, please use this issue to track progress and design questions.

Happy Hacking!

purpleidea commented 2 weeks ago

NOTE: You may wish to use the golang wrapper here: https://github.com/ovh/go-ovh