Skip to main content
does_cluster_contain_node(host_name)[source]

Checks if the given hostname (or IP address) is part of this cluster.

Parameters

host_name (str) –

String containing a hostname or an IP address.

Returns

True if this cluster contains a machine with the given –

hostname or IP address, False otherwise.