Using distributed router in neutron

2015-11-04 Thread Pshem Kowalczyk
Hi,

I'm trying to figure out if it's possible to setup distributed routing (as
per http://docs.openstack.org/networking-guide/scenario_dvr_ovs.html ).

Using fairly basic config:

nova-cloud-controller:
 openstack-origin: cloud:trusty-liberty
 network-manager: Neutron
 neutron-external-network: "ext-net"
 console-access-protocol: vnc

nova-compute:
 openstack-origin: cloud:trusty-liberty

neutron-api:
 openstack-origin: cloud:trusty-liberty
 neutron-external-network: "ext-net"
 neutron-security-groups: true
 enable-dvr: true
 overlay-network-type: vxlan

neutron-gateway:
 openstack-origin: cloud:trusty-liberty
 ext-port: eth1


and deploying nova-cloud-controller and neutron api into lxc containers on
node 0, neutron-gateway into native node 0, and nova compute into nodes 1
and 2.

After I done that I ended up with 'default' configuration for neutron  on
nodes 1 and 2.
I was told that neutron-gateway and nova-compute can not be collocated, so
I wonder which charm should claim the ownership of the neutron
configuration in that scenario?

kind regards
Pshem
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju service commands or communitation protocol

2015-11-04 Thread André Moreira
Thank you, Adam. This is exactly what I was looking for.
André

2015-11-04 14:21 GMT-02:00 Adam Stokes :

> You'll have to check out some of the bindings code:
>
>
> http://bazaar.launchpad.net/~juju-deployers/python-jujuclient/trunk/view/head:/jujuclient.py
>
> That should give you a good indication of what the juju api server
> requires. For example the credentials need to be in a form of
>
>
> {'Type': 'Admin',
>   'Request': 'Login',
>   'RequestId': 1,
>   'Params': {'AuthTag': 'user-admin',
>  'Password': None}}
>
> The above library is a single file which is pretty easy to grok and has
> good documentation on what the functions do.
>
> On Wed, Nov 4, 2015 at 11:04 AM, André Moreira 
> wrote:
>
>> Hi Adam,
>> What I mean is how do I construct the json requests and how should I
>> expect the json response to be provided. Do you know where do I find this
>> kind of documentation? I mean, is there a doc for it without needing to
>> read the source code?
>> André
>>
>> 2015-11-04 11:34 GMT-02:00 Adam Stokes :
>>
>>> If you're going to use Go or creating bindings of your own the api
>>> documentation is https://godoc.org/github.com/juju/juju/api.
>>>
>>> On Wed, Nov 4, 2015 at 8:30 AM, André Moreira 
>>> wrote:
>>>
 Thank you, Mark, for the reply.
 Nice to know there is this library and there will be an official one!
 But, if I want to use the REST api without the python library, where
 can I find documentation for it?
 Thanks in advance,
 André

 2015-11-04 6:32 GMT-02:00 Mark Shuttleworth :

> On 04/11/15 09:02, Merlijn Sebrechts wrote:
> > I'm very interested to hear more about that python library! Is this
> > something that will be discussed at the summit?
>
> It could be. There have been a couple of informal variations on this
> theme from various sources, we recently decided it was worth making an
> official one. Someone closer to that work would be able to provide more
> insight, including whether it will be based on one like
> http://python-jujuclient.readthedocs.org/ or whether it's a fresh
> start.
>
> Mark
>



 --

 Le doux charme de maint songe
 Par leur bel art inventé
 Sous les habits du mensonge
 Nous offre la vérité.
 -La Fontaine

 --
 Juju mailing list
 Juju@lists.ubuntu.com
 Modify settings or unsubscribe at:
 https://lists.ubuntu.com/mailman/listinfo/juju


>>>
>>
>>
>> --
>>
>> Le doux charme de maint songe
>> Par leur bel art inventé
>> Sous les habits du mensonge
>> Nous offre la vérité.
>> -La Fontaine
>>
>
>


-- 

Le doux charme de maint songe
Par leur bel art inventé
Sous les habits du mensonge
Nous offre la vérité.
-La Fontaine
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: [Bootstrap] vSphere provider

2015-11-04 Thread Marco Ceppi
Sorry to hear you're having troubles. It sounds like cloud-init didn't
finish. Are you able to get a console onto the VM? If so could you get the
contents of /var/log/cloud-init*?

On Thu, Nov 5, 2015, 6:36 AM Cseh Dávid  wrote:

> Hi
>
>
>
> I tried to bootstrap juju on a vCenter 5.5 environment, but it failed when
> juju tries to connect to the newly created VM throught ssh. (public key
> error)
>
> The VM is reachable, but there is no key to connect with.
>
>
>
> What could be the problem?
>
>
>
> Thanks
>
> David
> --
> 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


RE: [Bootstrap] vSphere provider

2015-11-04 Thread Cseh Dávid
Hi

 

I tried to bootstrap juju on a vCenter 5.5 environment, but it failed when
juju tries to connect to the newly created VM throught ssh. (public key
error)

The VM is reachable, but there is no key to connect with.

 

What could be the problem?

 

Thanks

David

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Lots of free video training sessions tomorrow

2015-11-04 Thread Jorge O. Castro
On Tue, Nov 3, 2015 at 9:54 AM, Jorge O. Castro  wrote:
> As always, the sessions will be recorded

Hello everyone, the videos from today are now being uploaded into this
playlist for your viewing pleasure:

https://www.youtube.com/playlist?list=PLW1vKndgh8gKR3RKMzKOYaucn8beB8Lgv

and going forward we'll be publishing to our new YouTube channel
(sorry for the URL, we're in the process of qualifiying for a better
URL): https://www.youtube.com/channel/UCSsoSZBAZ3Ivlbt_fxyjIkw

-- 
Jorge Castro
Canonical Ltd.
http://jujucharms.com/ - Automate your Cloud Infrastructure

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: UOS 15.11 - Big Data session

2015-11-04 Thread Cory Johns
In case anyone missed it, our session can be watched at:
https://www.youtube.com/watch?v=T6cOyDCNU5E

The slides are also publicly viewable at:
https://docs.google.com/presentation/d/10ZfjFECmN1MKLOxtcp_9abHbJQNbZwyfAfQWCJeRfxc

Thanks to everyone who attended or viewed!  We look forward to hearing from
you with questions or feedback.

On Wed, Nov 4, 2015 at 1:02 PM, Antonio Rosales <
antonio.rosa...@canonical.com> wrote:

> Thanks Cory, I am also forwarding onto the Juju list if folks aren't
> yet on the bigdata list.
>
> -thanks,
> Antonio
>
>
> On Wed, Nov 4, 2015 at 10:23 AM, Cory Johns 
> wrote:
> > I meant to send this out yesterday, but we're doing a Big Data session
> for
> > the Ubuntu Online Summit today, in about 2 hours (19:00 UTC).
> >
> > Links to join the Hangout to participate, or just watch the session live
> can
> > be found at:
> >
> >
> http://summit.ubuntu.com/uos-1511/meeting/22580/deploying-your-own-big-data-stack/
> >
> > You can also join us in #ubuntu-uos-cloud on Freenode on IRC to ask
> > questions or provide feedback.
> >
> > --
> > Bigdata mailing list
> > bigd...@lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/bigdata
> >
>
>
>
> --
> Antonio Rosales
> Ecosystem Engineering
> Canonical
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju stable 1.25.0 is released

2015-11-04 Thread Cheryl Jennings
Thanks for finding this, Pshem.  I've opened up a bug for it:
https://bugs.launchpad.net/juju-core/+bug/1513165

Thanks!
-Cheryl

On Wed, Nov 4, 2015 at 12:33 AM, Mark Shuttleworth  wrote:

> On 04/11/15 00:06, Pshem Kowalczyk wrote:
> > I've noticed one other thing - the machines registered with MAAS have
> names
> > like this:
> > machine-0-lxc-0.maas
> > machine-0-kvm-0.maas
> >
> > but the actual container names itself:
> > juju-machine-0-lxc-0
> >
> > which means it still can't resolve itself.
>
> Ah. Good catch Pshem!
>
> 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


Re: UOS 15.11 - Big Data session

2015-11-04 Thread Antonio Rosales
Thanks Cory, I am also forwarding onto the Juju list if folks aren't
yet on the bigdata list.

-thanks,
Antonio


On Wed, Nov 4, 2015 at 10:23 AM, Cory Johns  wrote:
> I meant to send this out yesterday, but we're doing a Big Data session for
> the Ubuntu Online Summit today, in about 2 hours (19:00 UTC).
>
> Links to join the Hangout to participate, or just watch the session live can
> be found at:
>
> http://summit.ubuntu.com/uos-1511/meeting/22580/deploying-your-own-big-data-stack/
>
> You can also join us in #ubuntu-uos-cloud on Freenode on IRC to ask
> questions or provide feedback.
>
> --
> Bigdata mailing list
> bigd...@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/bigdata
>



-- 
Antonio Rosales
Ecosystem Engineering
Canonical

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: juju bootstrap fails with vSphere 6.0

2015-11-04 Thread ed bond
Hey Michael,

I had to install a couple libraries on my MaaS, if you watch the logs it will 
tell you. However I use VIRSH to control my vsphere 6.
( sudo apt-get install python-libvirt )

user: Administrator@asdf.vsphere.local 
esxi host: 33.33.33.3
vsphere: 44.44.44.44

Power address:
vpx://Administrator%40asdf.vsphere.local@44.44.44.44/Architecture-Lab/33.33.33.3?no_verify=1
 

power ID:
name-of-vm
power pass:
thePassForTheUserAbove


I know this isn’t the vsphere adapter information, but this is how I connected.

You can test from the MaaS cli via:
virsh -c 
vpx://Administrator%40asdf.vsphere.local@44.44.44.44/Architecture-Lab/33.33.33.3?no_verify=1
 

 list --all


Hope this helps.

- Ed

> On Nov 4, 2015, at 10:21 AM, Katherine Cox-Buday 
>  wrote:
> 
> Hey Michael, apologies for the issues!
> 
> I'm going to loop in Sergey who helped work on the vSphere provider.
> 
> On Wed, Nov 4, 2015 at 8:59 AM, Forstner Michael  > wrote:
> Hi all,
> 
> I am trying to get startet with juju and VMWare vSphere 6.0 for a private 
> Cloud scenario.
> The ‘juju bootstrap’ command fails with following output:
> 
> Bootstrap failed, cleaning up the environment.
> ERROR there was an issue examining the environment: failed to create new 
> client: XML syntax error on line 1: illegal character code U+001F
> 
> Just to ensure the vSphere API is accessible and my credentials are working, 
> I’ve downloaded VMWare’s go client from https://github.com/vmware/govmomi 
> .
> Running this client with same settings as in ~/.juju/environment.yml for 
> host, user and password runs fine.
> 
> So my question would be if the (experimental?) support of vSphere in juju 
> works with vSphere v6.0 and how can further debugging options be enabled?
> 
> Many thanks in advance,
> Michael
> 
> --
> 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

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju service commands or communitation protocol

2015-11-04 Thread Adam Stokes
You'll have to check out some of the bindings code:

http://bazaar.launchpad.net/~juju-deployers/python-jujuclient/trunk/view/head:/jujuclient.py

That should give you a good indication of what the juju api server
requires. For example the credentials need to be in a form of


{'Type': 'Admin',
  'Request': 'Login',
  'RequestId': 1,
  'Params': {'AuthTag': 'user-admin',
 'Password': None}}

The above library is a single file which is pretty easy to grok and has
good documentation on what the functions do.

On Wed, Nov 4, 2015 at 11:04 AM, André Moreira  wrote:

> Hi Adam,
> What I mean is how do I construct the json requests and how should I
> expect the json response to be provided. Do you know where do I find this
> kind of documentation? I mean, is there a doc for it without needing to
> read the source code?
> André
>
> 2015-11-04 11:34 GMT-02:00 Adam Stokes :
>
>> If you're going to use Go or creating bindings of your own the api
>> documentation is https://godoc.org/github.com/juju/juju/api.
>>
>> On Wed, Nov 4, 2015 at 8:30 AM, André Moreira 
>> wrote:
>>
>>> Thank you, Mark, for the reply.
>>> Nice to know there is this library and there will be an official one!
>>> But, if I want to use the REST api without the python library, where can
>>> I find documentation for it?
>>> Thanks in advance,
>>> André
>>>
>>> 2015-11-04 6:32 GMT-02:00 Mark Shuttleworth :
>>>
 On 04/11/15 09:02, Merlijn Sebrechts wrote:
 > I'm very interested to hear more about that python library! Is this
 > something that will be discussed at the summit?

 It could be. There have been a couple of informal variations on this
 theme from various sources, we recently decided it was worth making an
 official one. Someone closer to that work would be able to provide more
 insight, including whether it will be based on one like
 http://python-jujuclient.readthedocs.org/ or whether it's a fresh
 start.

 Mark

>>>
>>>
>>>
>>> --
>>>
>>> Le doux charme de maint songe
>>> Par leur bel art inventé
>>> Sous les habits du mensonge
>>> Nous offre la vérité.
>>> -La Fontaine
>>>
>>> --
>>> Juju mailing list
>>> Juju@lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/juju
>>>
>>>
>>
>
>
> --
>
> Le doux charme de maint songe
> Par leur bel art inventé
> Sous les habits du mensonge
> Nous offre la vérité.
> -La Fontaine
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: juju bootstrap fails with vSphere 6.0

2015-11-04 Thread Katherine Cox-Buday
Hey Michael, apologies for the issues!

I'm going to loop in Sergey who helped work on the vSphere provider.

On Wed, Nov 4, 2015 at 8:59 AM, Forstner Michael 
wrote:

> Hi all,
>
> I am trying to get startet with juju and VMWare vSphere 6.0 for a private
> Cloud scenario.
> The ‘juju bootstrap’ command fails with following output:
>
> Bootstrap failed, cleaning up the environment.
> ERROR there was an issue examining the environment: failed to create new
> client: XML syntax error on line 1: illegal character code U+001F
>
> Just to ensure the vSphere API is accessible and my credentials are
> working, I’ve downloaded VMWare’s go client from
> https://github.com/vmware/govmomi.
> Running this client with same settings as in ~/.juju/environment.yml for
> host, user and password runs fine.
>
> So my question would be if the (experimental?) support of vSphere in juju
> works with vSphere v6.0 and how can further debugging options be enabled?
>
> Many thanks in advance,
> Michael
>
> --
> 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


Re: Juju service commands or communitation protocol

2015-11-04 Thread André Moreira
Hi Adam,
What I mean is how do I construct the json requests and how should I expect
the json response to be provided. Do you know where do I find this kind of
documentation? I mean, is there a doc for it without needing to read the
source code?
André

2015-11-04 11:34 GMT-02:00 Adam Stokes :

> If you're going to use Go or creating bindings of your own the api
> documentation is https://godoc.org/github.com/juju/juju/api.
>
> On Wed, Nov 4, 2015 at 8:30 AM, André Moreira  wrote:
>
>> Thank you, Mark, for the reply.
>> Nice to know there is this library and there will be an official one!
>> But, if I want to use the REST api without the python library, where can
>> I find documentation for it?
>> Thanks in advance,
>> André
>>
>> 2015-11-04 6:32 GMT-02:00 Mark Shuttleworth :
>>
>>> On 04/11/15 09:02, Merlijn Sebrechts wrote:
>>> > I'm very interested to hear more about that python library! Is this
>>> > something that will be discussed at the summit?
>>>
>>> It could be. There have been a couple of informal variations on this
>>> theme from various sources, we recently decided it was worth making an
>>> official one. Someone closer to that work would be able to provide more
>>> insight, including whether it will be based on one like
>>> http://python-jujuclient.readthedocs.org/ or whether it's a fresh start.
>>>
>>> Mark
>>>
>>
>>
>>
>> --
>>
>> Le doux charme de maint songe
>> Par leur bel art inventé
>> Sous les habits du mensonge
>> Nous offre la vérité.
>> -La Fontaine
>>
>> --
>> Juju mailing list
>> Juju@lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
>>
>


-- 

Le doux charme de maint songe
Par leur bel art inventé
Sous les habits du mensonge
Nous offre la vérité.
-La Fontaine
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


juju bootstrap fails with vSphere 6.0

2015-11-04 Thread Forstner Michael
Hi all,

I am trying to get startet with juju and VMWare vSphere 6.0 for a private Cloud 
scenario.
The ‘juju bootstrap’ command fails with following output:

Bootstrap failed, cleaning up the environment.
ERROR there was an issue examining the environment: failed to create new 
client: XML syntax error on line 1: illegal character code U+001F

Just to ensure the vSphere API is accessible and my credentials are working, 
I’ve downloaded VMWare’s go client from https://github.com/vmware/govmomi.
Running this client with same settings as in ~/.juju/environment.yml for host, 
user and password runs fine.

So my question would be if the (experimental?) support of vSphere in juju works 
with vSphere v6.0 and how can further debugging options be enabled?

Many thanks in advance,
Michael
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju service commands or communitation protocol

2015-11-04 Thread Adam Stokes
If you're going to use Go or creating bindings of your own the api
documentation is https://godoc.org/github.com/juju/juju/api.

On Wed, Nov 4, 2015 at 8:30 AM, André Moreira  wrote:

> Thank you, Mark, for the reply.
> Nice to know there is this library and there will be an official one!
> But, if I want to use the REST api without the python library, where can I
> find documentation for it?
> Thanks in advance,
> André
>
> 2015-11-04 6:32 GMT-02:00 Mark Shuttleworth :
>
>> On 04/11/15 09:02, Merlijn Sebrechts wrote:
>> > I'm very interested to hear more about that python library! Is this
>> > something that will be discussed at the summit?
>>
>> It could be. There have been a couple of informal variations on this
>> theme from various sources, we recently decided it was worth making an
>> official one. Someone closer to that work would be able to provide more
>> insight, including whether it will be based on one like
>> http://python-jujuclient.readthedocs.org/ or whether it's a fresh start.
>>
>> Mark
>>
>
>
>
> --
>
> Le doux charme de maint songe
> Par leur bel art inventé
> Sous les habits du mensonge
> Nous offre la vérité.
> -La Fontaine
>
> --
> 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


Re: Juju service commands or communitation protocol

2015-11-04 Thread André Moreira
Thank you, Mark, for the reply.
Nice to know there is this library and there will be an official one!
But, if I want to use the REST api without the python library, where can I
find documentation for it?
Thanks in advance,
André

2015-11-04 6:32 GMT-02:00 Mark Shuttleworth :

> On 04/11/15 09:02, Merlijn Sebrechts wrote:
> > I'm very interested to hear more about that python library! Is this
> > something that will be discussed at the summit?
>
> It could be. There have been a couple of informal variations on this
> theme from various sources, we recently decided it was worth making an
> official one. Someone closer to that work would be able to provide more
> insight, including whether it will be based on one like
> http://python-jujuclient.readthedocs.org/ or whether it's a fresh start.
>
> Mark
>



-- 

Le doux charme de maint songe
Par leur bel art inventé
Sous les habits du mensonge
Nous offre la vérité.
-La Fontaine
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju service commands or communitation protocol

2015-11-04 Thread Mark Shuttleworth
On 04/11/15 09:02, Merlijn Sebrechts wrote:
> I'm very interested to hear more about that python library! Is this
> something that will be discussed at the summit?

It could be. There have been a couple of informal variations on this
theme from various sources, we recently decided it was worth making an
official one. Someone closer to that work would be able to provide more
insight, including whether it will be based on one like
http://python-jujuclient.readthedocs.org/ or whether it's a fresh start.

Mark

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju service commands or communitation protocol

2015-11-04 Thread Peter Sabaini
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
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Re: Juju service commands or communitation protocol

2015-11-04 Thread Merlijn Sebrechts
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 :

> 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@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