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.
FWIW I've been using this: http://python-jujuclient.readthedocs.org It's using websocket API, and did the job for my light usage, ie. tools and queries. > -- > > Le doux charme de maint songe > Par leur bel art inventé > Sous les habits du mensonge > Nous offre la vérité. > -La Fontaine > >
signature.asc
Description: OpenPGP digital signature
-- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
