Re: Handling IP address change

2014-12-09 Thread Andrew Wilkins
On Tue, Dec 9, 2014 at 8:20 PM, Kapil Thangavelu kapil.thangav...@canonical.com wrote: On Mon, Dec 8, 2014 at 9:53 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Tue, Dec 9, 2014 at 10:31 AM, Stuart Bishop stuart.bis...@canonical.com wrote: Hi. Does juju handle IP address

Handling IP address change

2014-12-08 Thread Stuart Bishop
Hi. Does juju handle IP address changes of units yet? If so, what hooks can I expect to be invoked? - config-changed? - relation-changed on every relation, changed unit side? - relation-changed on every relation, related unit side? I need to keep the 'host' attribute on my database relations

Re: Handling IP address change

2014-12-08 Thread José Antonio Rey
Stuart, Could you please clarify in which moment would you expect an IP change? With that info I could try and provide you solutions for IP changes. On 12/08/2014 09:31 PM, Stuart Bishop wrote: Hi. Does juju handle IP address changes of units yet? If so, what hooks can I expect to be

Re: Handling IP address change

2014-12-08 Thread Andrew Wilkins
On Tue, Dec 9, 2014 at 10:31 AM, Stuart Bishop stuart.bis...@canonical.com wrote: Hi. Does juju handle IP address changes of units yet? If so, what hooks can I expect to be invoked? From 1.21 onwards, config-changed will be fired whenever the unit's addresses change. - config-changed?