juju-solutions / interface-etcd

1 stars 5 forks source link

requires: Add interface method to retrieve all URLs #12

Closed javacruft closed 6 years ago

javacruft commented 6 years ago

In a clustered etcd deployment, clients may be configured with a full list of remote etcd units for communication.

Add a helper to the interface to retrieve this information.

Cynerva commented 6 years ago

I'm pretty sure get_connection_string from any one unit already returns the URLs for all ETCD units, separated by commas. They communicate their addresses to each other over the cluster (peers) relation.

See:

javacruft commented 6 years ago

OK I'd missed that bit