def shorten_name(name, max_length = 10):
    if len(name) > max_length:
        return  "..."+name[-max_length:]
    else:
        return name
Update clusterhost state.
dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/pyproct/tools/plotTools.py/shorten_name--crossover with--dataset/ETHPy150Open openstack/compass-core/compass/db/models.py/ClusterHostState.update