'Responder to ``ClusterStatusCommand``. Updates the configuration and
state to the passed in values, and validates the hashes.
:param eliot_context: The eliot context this is called under.
:param configuration: The new configuration.
:param configuration_generation: The expected generation hash of the
new configuration.
:param state: The new state.
:param state_generation: The expected generation hash of the new state.'

@ClusterStatusCommand.responder
def cluster_updated(self, eliot_context, configuration, configuration_generation, state, state_generation):

    with eliot_context:
        self._update_cluster(configuration, configuration_generation, state, state_generation)
        return self._current_generations_response()
