def get_backup_drives()

in scripts/build_storage.py [0:0]


def get_backup_drives(config_json,hostcount,instance_type,storage_type):
    result = {}
    for idx,val in enumerate(config_json['backup']):
        if val['hostcount'] == hostcount:
            return val['storage']['master'][instance_type][storage_type]['drives']
    print('ERROR: Unable to find get_backup_storage')
    return result