lsymds / hetznercloud-py

Python SDK for the new Hetzner cloud
MIT License
30 stars 12 forks source link

Volume support #32

Closed svensp closed 4 years ago

svensp commented 5 years ago

Hetzner has launched its cloud volume feature.

As before with the floating ip I'd like to implement a pacemaker resource agent using your library to manage volumes with pacemaker. Are there plans to implement the new api yet?

franzs commented 5 years ago

I added initial support for volumes:

https://github.com/franzs/hetznercloud-py/tree/volume-support

It certainly needs some polish. And a documentation is missing. But you can take a look at it if you like.

franzs commented 5 years ago

A documentation for volumes is available at:

https://github.com/franzs/hetznercloud-py/blob/volume-support/README.md#volumes

franzs commented 5 years ago

Finally I opened a PR #33.

lsymds commented 4 years ago

Hi! You should look into using the official HCloud Python library as this one is deprecated (and has been for a while now).

https://github.com/hetznercloud/hcloud-python