JujuInfoClient(endpoint_name, relation_ids=None)
A flat list of all addresses received from related apps / units.
This list is de-duplicated and sorted by address, so it will be stable
for change comparison. If you need to know which app / unit an address
comes from, see received_addresses_map
.
Note: This uses ingress-address, so it will work with cross-model relations.
A nested dictionary of all addresses received from related apps / units by app name then unit name.
For example::
{
'app1': {
'app1/0': '10.0.0.1',
'app1/1': '10.0.0.2',
}
}
Note: This uses ingress-address, so it will work with cross-model relations.
Number of joined units.
JujuInfoClient.get_private_address()
Deprecated.