charmhelpers.core.hookenv.ingress_address(relid, charmhelpers.core.hookenv.local_unit()) provides the IP address that remote units in that particular relation should connect to the local unit. Juju maintains this, and should always be correct per the spaces, public ip addresses etc. chosen at deploy time.
charmhelpers. core.hookenv. ingress_ address( relid, charmhelpers. core.hookenv. local_unit( )) provides the IP address that remote units in that particular relation should connect to the local unit. Juju maintains this, and should always be correct per the spaces, public ip addresses etc. chosen at deploy time.