[00:01] <wallyworld> i've not really used the operator framework, but the doc says to use Model.get_binding
[00:01] <wallyworld> the docstring for the Network class
[00:02] <erik_elox> Right... I'm maybe to tired atm. Its kind of late... I'll try more later.
[00:03] <erik_elox> thanx though
[00:04] <wallyworld> do post a question to https://discourse.charmhub.io/ under juju and people can provide a better answer
[00:08] <erik_elox> totally.
[05:13] <erik_elox> https://discourse.charmhub.io/t/how-to-get-dns-address-from-aws-machine-in-my-iaas-charm-code/3789
[09:14] <achilleasa> stickupkid: my yest PR accidentally targeted develop instead of 2.8. Can you take a quick look at the 2.8 backport? https://github.com/juju/juju/pull/12260
[09:40] <manadart> stickupkid or achilleasa, small one: https://github.com/juju/juju/pull/12261
[10:44] <manadart> stickupkid or achilleasa, another simple one for juju/description: https://github.com/juju/description/pull/92
[12:20] <achilleasa> manadart: sorry for the delay; looking at the description PR. How is "IsSecondary" meant to be used?
[12:29] <manadart> achilleasa: Ultimately, in conjunction with https://github.com/juju/juju/pull/12195. See https://bugs.launchpad.net/juju/+bug/1863916.
[12:29] <mup> Bug #1863916: network-get does not guarantee that a primary address of an interface will be the first one in bind-addresses <network> <network-get> <sts> <juju:Triaged by manadart> <https://launchpad.net/bugs/1863916>
[12:54] <achilleasa> manadart: wouldn't 'IsPrimary' make more sense in this case?
[12:55] <achilleasa> because you might conceivably have a secondary, tertiary (i.e. prioritized) address?
[13:07] <manadart> achilleasa: As I understand it, you only have a primary and 0+ secondaries. This is the short path for compatibility too, because the default will be false.
[13:12] <achilleasa> manadart: wouldn't you still have some logic like 'return !isPrimary()' anyway? So basically, if you do it via IsSecondary, you assume that all addresses are initially primary and you can flag the ones that aren't (if detected) as secondaries?
[13:26] <manadart> I think it's better this way - no migration or upgrade steps are necessary.
[14:46] <stickupkid> achilleasa, hml - fixes the issue with kubeflow on microk8s https://github.com/juju/juju/pull/12262
[16:40] <stickupkid> achilleasa, updated my PR