Comment 3 for bug 1896821

Revision history for this message
Cory Johns (johnsca) wrote :

One use-case I could think of is a dashboard deployed in an environment with both public and private NICs where the relations use the private network via spaces but the charm needs to know what bind-address to use for the publicly exposed dashboard URL.

FWIW, except for a short period in 2.8.7 due to https://bugs.launchpad.net/juju/+bug/1906174 you can actually use `network-get juju-info` to do this. It can even get that network info for a charm which has no relations or extra-bindings defined at all.