things almost work
[encyclr.git] / lightcloud / config.py
blobf54d3464f0179112853ee880964d36baed787e6b
1 from os import path
2 DATA_DIR = path.join(path.realpath(path.curdir), "data")
3 TOKYO_SERVER_PARMS = '#bnum=1000000#fpow=13#opts=ldf'
5 USE_MASTER = True
6 DEBUG = False
8 NODES = {
9 #Lookup nodes
10 'lookup1_A': { 'id': 1, 'host': '127.0.0.1:41201', 'master': '127.0.0.1:51201' },
11 'lookup1_B': { 'id': 2, 'host': '127.0.0.1:51201', 'master': '127.0.0.1:41201' },
13 #Storage nodes
14 'storage1_A': { 'id': 5, 'host': '127.0.0.1:44201', 'master': '127.0.0.1:54201' },
15 'storage1_B': { 'id': 6, 'host': '127.0.0.1:54201', 'master': '127.0.0.1:44201' },