def VerifySsconf(data, cluster_name, _verify_fn=ssconf.VerifyKeys):
  items = data.get(constants.NDS_SSCONF)

  if not items:
    raise SetupError("Ssconf values must be specified")

  # TODO: Should all keys be required? Right now any subset of valid keys is
  # accepted.
  _verify_fn(items.keys())

  if items.get(constants.SS_CLUSTER_NAME) != cluster_name:
    raise SetupError("Cluster name in ssconf does not match")

  return items
Return the cleaned name of the node.
dataset/ETHPy150Open ganeti/ganeti/lib/tools/node_daemon_setup.py/VerifySsconf--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/isy994.py/ISYDeviceABC.name