def getDict():
    dbConfig = {}
    dbConfig['db_folders'] = ['/tmp/druid/indexCache', '/tmp/persistent/zk_druid', '/tmp/persistent/task/', '/tmp/druid/localStorage', '/var/lib/mysql']
    dbConfig['db_client'] = 'druid'
    dbConfig['db_args'] = '-p zookeeperip=%%IP0%% -p queryip=%%IP1%% -p zookeeperport=2181 -p queryport=8090 -p replicants=1'
    dbConfig['db_name'] = 'druid_cl5_rf1'
    dbConfig['db_desc'] = 'Druid (Broker,Coordinator,Historical,MiddleManager,Overlord) on 5 VMs with Replication Factor 1. Ingest via Tranquility/Finagle, Query via REST.'
    dbConfig['jvm_args'] = "-jvm-args='-Xmx4096m'"
    dbConfig['prerun_once'] = []
    dbConfig['postrun_once'] = []
    dbConfig['prerun'] = ['%%SSH%%sudo -s bash -c \'sed -i "s|localhost|%%IP0%%|g" /home/vagrant/config/_common/common.runtime.properties\'', '%%SSH%%sudo -s bash -c \'sed -i "s|localhost|%%IP1%%|g" /home/vagrant/config/broker/runtime.properties\'', '%%SSH%%sudo -s bash -c \'sed -i "s|localhost|%%IP0%%|g" /home/vagrant/config/coordinator/runtime.properties\'', '%%SSH%%sudo -s bash -c \'sed -i "s|localhost|%%IP2%%|g" /home/vagrant/config/historical/runtime.properties\'', '%%SSH%%sudo -s bash -c \'sed -i "s|localhost|%%IP3%%|g" /home/vagrant/config/middleManager/runtime.properties\'', '%%SSH%%sudo -s bash -c \'sed -i "s|localhost|%%IP4%%|g" /home/vagrant/config/overlord/runtime.properties\'']
    dbConfig['postrun'] = []
    dbConfig['prerun_master'] = []
    dbConfig['postrun_master'] = []
    dbConfig['prerun_slaves'] = []
    dbConfig['postrun_slaves'] = []
    dbConfig['prerun_dict'] = {0: ["%%SSH%%sudo -s bash -c 'systemctl start druid_coordinator.service'"], 1: ["%%SSH%%sudo -s bash -c 'systemctl start druid_broker.service'"], 2: ["%%SSH%%sudo -s bash -c 'systemctl start druid_historical.service'"], 3: ["%%SSH%%sudo -s bash -c 'systemctl start druid_middlemanager.service'"], 4: ["%%SSH%%sudo -s bash -c 'systemctl start druid_overlord.service'", "bash -c 'sleep 180'"]}
    dbConfig['postrun_dict'] = {}
    dbConfig['check'] = []
    dbConfig['check_master'] = []
    dbConfig['check_slaves'] = []
    dbConfig['check_dict'] = {0: ['%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_repo.service | grep -c "inactive (dead)")-1))\'', '%%SSH%%sudo -s bash -c \'exit $(systemctl status druid_coordinator.service | grep -c "active (exited)")\'', '%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_coordinator.service | grep -c "active (running)")-1))\''], 1: ['%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_repo.service | grep -c "inactive (dead)")-1))\'', '%%SSH%%sudo -s bash -c \'exit $(systemctl status druid_broker.service | grep -c "active (exited)")\'', '%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_broker.service | grep -c "active (running)")-1))\''], 2: ['%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_repo.service | grep -c "inactive (dead)")-1))\'', '%%SSH%%sudo -s bash -c \'exit $(systemctl status druid_historical.service | grep -c "active (exited)")\'', '%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_historical.service | grep -c "active (running)")-1))\''], 3: ['%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_repo.service | grep -c "inactive (dead)")-1))\'', '%%SSH%%sudo -s bash -c \'exit $(systemctl status druid_middlemanager.service | grep -c "active (exited)")\'', '%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_middlemanager.service | grep -c "active (running)")-1))\''], 4: ['%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_repo.service | grep -c "inactive (dead)")-1))\'', '%%SSH%%sudo -s bash -c \'exit $(systemctl status druid_overlord.service | grep -c "active (exited)")\'', '%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_overlord.service | grep -c "active (running)")-1))\'']}
    dbConfig['basic'] = False
    dbConfig['sequence'] = [0, 1, 2, 3, 4]
    dbConfig['include'] = []
    return dbConfig
def getDict():
    dbConfig = {}
    dbConfig['db_folders'] = ['/tmp/druid/indexCache', '/tmp/persistent/zk_druid', '/tmp/persistent/task/', '/tmp/druid/localStorage', '/var/lib/mysql']
    dbConfig['db_client'] = 'druid'
    dbConfig['db_args'] = '-p zookeeperip=%%IP0%% -p queryip=%%IP1%% -p zookeeperport=2181 -p queryport=8090 -p replicants=1'
    dbConfig['db_name'] = 'druid_cl5_rf1'
    dbConfig['db_desc'] = 'Druid (Broker,Coordinator,Historical,MiddleManager,Overlord) on 5 VMs with Replication Factor 1. Ingest via Tranquility/Finagle, Query via REST.'
    dbConfig['jvm_args'] = "-jvm-args='-Xmx4096m'"
    dbConfig['prerun_once'] = []
    dbConfig['postrun_once'] = []
    dbConfig['prerun'] = ['%%SSH%%sudo -s bash -c \'sed -i "s|localhost|%%IP0%%|g" /home/vagrant/config/_common/common.runtime.properties\, '%%SSH%%sudo -s bash -c \'sed -i "s|localhost|%%IP1%%|g" /home/vagrant/config/broker/runtime.properties\, '%%SSH%%sudo -s bash -c \'sed -i "s|localhost|%%IP0%%|g" /home/vagrant/config/coordinator/runtime.properties\, '%%SSH%%sudo -s bash -c \'sed -i "s|localhost|%%IP2%%|g" /home/vagrant/config/historical/runtime.properties\, '%%SSH%%sudo -s bash -c \'sed -i "s|localhost|%%IP3%%|g" /home/vagrant/config/middleManager/runtime.properties\, '%%SSH%%sudo -s bash -c \'sed -i "s|localhost|%%IP4%%|g" /home/vagrant/config/overlord/runtime.properties\]
    dbConfig['postrun'] = []
    dbConfig['prerun_master'] = []
    dbConfig['postrun_master'] = []
    dbConfig['prerun_slaves'] = []
    dbConfig['postrun_slaves'] = []
    dbConfig['prerun_dict'] = {0: ["%%SSH%%sudo -s bash -c 'systemctl start druid_coordinator.service'"], 1: ["%%SSH%%sudo -s bash -c 'systemctl start druid_broker.service'"], 2: ["%%SSH%%sudo -s bash -c 'systemctl start druid_historical.service'"], 3: ["%%SSH%%sudo -s bash -c 'systemctl start druid_middlemanager.service'"], 4: ["%%SSH%%sudo -s bash -c 'systemctl start druid_overlord.service'", "bash -c 'sleep 180'"]}
    dbConfig['postrun_dict'] = {}
    dbConfig['check'] = []
    dbConfig['check_master'] = []
    dbConfig['check_slaves'] = []
    dbConfig['check_dict'] = {0: ['%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_repo.service | grep -c "inactive (dead)")-1))\, '%%SSH%%sudo -s bash -c \'exit $(systemctl status druid_coordinator.service | grep -c "active (exited)")\, '%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_coordinator.service | grep -c "active (running)")-1))\], 1: ['%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_repo.service | grep -c "inactive (dead)")-1))\, '%%SSH%%sudo -s bash -c \'exit $(systemctl status druid_broker.service | grep -c "active (exited)")\, '%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_broker.service | grep -c "active (running)")-1))\], 2: ['%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_repo.service | grep -c "inactive (dead)")-1))\, '%%SSH%%sudo -s bash -c \'exit $(systemctl status druid_historical.service | grep -c "active (exited)")\, '%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_historical.service | grep -c "active (running)")-1))\], 3: ['%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_repo.service | grep -c "inactive (dead)")-1))\, '%%SSH%%sudo -s bash -c \'exit $(systemctl status druid_middlemanager.service | grep -c "active (exited)")\, '%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_middlemanager.service | grep -c "active (running)")-1))\], 4: ['%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_repo.service | grep -c "inactive (dead)")-1))\, '%%SSH%%sudo -s bash -c \'exit $(systemctl status druid_overlord.service | grep -c "active (exited)")\, '%%SSH%%sudo -s bash -c \'exit $(($(systemctl status druid_overlord.service | grep -c "active (running)")-1))\]}
    dbConfig['basic'] = False
    dbConfig['sequence'] = [0, 1, 2, 3, 4]
    dbConfig['include'] = []
    return dbConfig