Juju service commands or communitation protocol
Merlijn Sebrechts
merlijn.sebrechts at gmail.com
Wed Nov 4 08:02:36 UTC 2015
Hi Mark
I'm very interested to hear more about that python library! Is this
something that will be discussed at the summit?
Kind regards
Merlijn
2015-11-04 7:36 GMT+01:00 Mark Shuttleworth <mark at ubuntu.com>:
> Hi André
>
> Yes, there is a REST API, which is what the GUI uses, and there will also
> shortly be a nice official Python library that wraps it if that is helpful
> for you.
>
> Mark
>
> On 04/11/15 04:12, André Moreira wrote:
>
> Is there a REST API for juju or the only possible ways to communicate with
> it are either by juju command-line or juju gui? A service can communicate
> with juju main agent and, for instance, add a new unit or start another
> service? What is the proper way to do this? Is it possible to a charm to
> ask juju to start another machine, add instances of a service or destroy
> instances? For instance, by doing something simular to the juju gui: how
> juju gui performs the creation of machines? I´d like to have a service that
> monitors other services and add instances to scale out, for instance.
>
>
>
>
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20151104/45669c9a/attachment.html>
More information about the Juju
mailing list