Members

class aetcd3.members.Member(id, name, peer_urls, client_urls, etcd_client)[source]

A member of the etcd cluster.

Parameters
  • id – ID of the cluster member

  • name – Human-readable name of the cluster member

  • peer_urls – List of URLs the cluster member exposes to the cluster for communication

  • client_urls – List of URLs the cluster member exposes to clients for communication

  • etcd_client – Instance of aetcd3.client.Etcd3Client

async remove()[source]

Remove this cluster member from the cluster.

async update(peer_urls)[source]

Update the configuration of this cluster member.

Parameters

peer_urls – New list of peer URLs the cluster member will use to communicate with the cluster

async active_alarms()[source]

Get active alarms of the cluster member.

Returns

List of aetcd3.client.Alarm