'Set the local configuration and state variables, and notify the agent
of the update.
:param configuration: The new configuration.
:param configuration_generation: The expected resulting generation hash
of the new configuration.
:param state: The new state.
:param state_generation: The expected resulting generation hash of the
new state.'

def _update_cluster(self, configuration, configuration_generation, state, state_generation):

    self._set_configuration(configuration, configuration_generation)
    self._set_state(state, state_generation)
    self._update_agent()
