<div dir="ltr"><div>Hi all,</div><div><br></div><div>I've started looking into fixing <a href="https://bugs.launchpad.net/juju-core/+bug/1215579">https://bugs.launchpad.net/juju-core/+bug/1215579</a>. The gist is, we currently set private-address in relation settings when a unit joins, but never update it.</div>
<div><br></div><div>I've had some preliminary discussions with John, William and Dimiter, and came up with the following proposal: <a href="https://docs.google.com/a/canonical.com/document/d/1jCNvS7sSMZqtSnup9rDo3b2Wwgs57NimqMorXr9Ir-o/edit">https://docs.google.com/a/canonical.com/document/d/1jCNvS7sSMZqtSnup9rDo3b2Wwgs57NimqMorXr9Ir-o/edit</a></div>
<div><br></div><div>If you're a charm author, particularly if you work on "proxy charms", please take a look at this and let me know of any concerns or suggestions. I have opened up comments on the doc.<br></div>
<div><br></div><div>In a nutshell:</div><div> - There will be a new hook, relation-address-changed, and a new tool called address-get.</div><div> - The hook will be called when the relation's address has changed, and the tool can be called to obtain the address. If the hook is not implemented, the private-address setting will be updated. Otherwise it is down to you to decide how you want to react to address changs (e.g. for proxy charms, probably just don't do anything.)</div>
<div><br></div><div>Thanks,</div><div>Andrew</div></div>