Hi,
I was wondering (and could not find in the documentation) if there are
guidelines on what needs to be implemented for a cloud (and specifically
compute) driver. Any 'MUST' functions the driver needs to support? Or can I
start with something minimalist and gradually add more?
I was looking at
Hi,
I wouldn't use that one as an example. Vultr is one of the most minimal and
clean implementations
https://github.com/apache/libcloud/blob/trunk/libcloud/compute/drivers/vultr.py
Start with the basics, raise a PR and I'll walk you through the process and
steps. Oh and write lots of tests :0) s
On Mon, Aug 14, 2017 at 1:52 PM, anthony shaw
wrote:
> Hi,
>
> I wouldn't use that one as an example. Vultr is one of the most minimal and
> clean implementations
> https://github.com/apache/libcloud/blob/trunk/libcloud/
> compute/drivers/vultr.py
>
> Start with the basics, raise a PR and I'll wa
If you want some advice from someone that's written ~10 drivers..
Start with the tests, fixtures and mocks, then build out the methods.
TDD saves so much time going back and forth. Also once you have the test setup
you can use PyTest with the --pdb flag.
Anthony Shaw