I find it quite difficult to understand the semantics of a general juju
provider (so far juju/environs helped a bit to understand the general
principle). Is there a place where I can find what I need to write a very
minimal provider? I don't really have experience with juju, cloudstack or
cloud computing so I'm not sure if I'm the right person to write a
cloudstack integration for juju. I think I'll start using juju on a manual
cluster first or write the integration like
https://github.com/kapilt/juju-digitalocean (I'm not sure how this code
integrates with juju, is it just a wrapper around the juju cli?)

Op za 19 sep. 2015 om 13:44 schreef Nate Finch <nate.fi...@canonical.com>:

> Definitely look at the GCE provider, it's the newest and uses our current
> best practices. Some of the older providers are not quite as good examples
> (not that they're wrong, we've just figured out better ways to do structure
> the code).
>
> On Sat, Sep 19, 2015, 6:01 AM Mark Shuttleworth <m...@ubuntu.com> wrote:
>
>> On 18/09/15 17:27, Herman Bergwerf wrote:
>> > Hmm, ok. I'm quite surprised a pretty widely used virtualization stack
>> such
>> > as cloudstack is not implemented in juju at all. Are there maybe future
>> > plans to do this?
>>
>> Anybody can write a cloud provider and contribute it to Juju. Canonical
>> will usually write one as part of the certification process for a large
>> public cloud (like AWS, Google, Azure) but I'm not aware of any large
>> CloudStack clouds so it's not on our roadmap. Of course we'd gladly land
>> the work if someone else does it.
>>
>> > By the way, wouldn't it be easier to write a provider directly inside
>> the
>> > juju code? I'm not sure if there is any documentation to do this.
>>
>> Yes, a "proper" provider is built-in to juju-core and lives in the Go
>> code of Juju itself.
>>
>> As a limited workaround, you can use the Juju client plugin mechanism to
>> automate some of the "manual" provider work. Essentially, you use your
>> local cloud tools to launch machines, then register them with Juju
>> controller using the manual provider mechanisms. If you want to dig into
>> Go programming, then a cloudstack provider would be a good project. You
>> would be copying the structure of the OpenStack, GCE, Azure, or AWS
>> provider, then using the cloudstack operations to do what's necessary
>> there. A main question would be whether or not their is already an
>> implementation of the cloudstack API in Go.
>>
>> Mark
>>
>>
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to