def NumberOfCleanupAttempts(self, instance_name):
    idata = self._data["instance"]
    return idata.get(instance_name, {}).get(KEY_CLEANUP_COUNT, 0)
Create datasource in running jboss instance
dataset/ETHPy150Open ganeti/ganeti/lib/watcher/state.py/WatcherState.NumberOfCleanupAttempts--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/jboss7.py/create_datasource