STOREDIR = 'storage'
NODETYPE = "client"
WEBPORTFILE = "webport"
+ QUEEN_PBURL_FILE = "roster_pburl"
def __init__(self, basedir="."):
node.Node.__init__(self, basedir)
f.close()
self.add_service(WebishServer(webport))
self.queen_pburl = None
+ QUEEN_PBURL_FILE = os.path.join(self.basedir, self.QUEEN_PBURL_FILE)
+ if os.path.exists(QUEEN_PBURL_FILE):
+ f = open(QUEEN_PBURL_FILE, "r")
+ self.queen_pburl = f.read().strip()
+ f.close()
self.queen_connector = None
def tub_ready(self):
from allmydata import client
from twisted.application import service
-queen_pburl = "pb://jekyv6ghn7zinppk7wcvfmk7o4gw76hb@192.168.1.101:42552/roster"
-yumyum_queen = "pb://cznyjh2pi4bybn3g7pi36bdfnwz356vk@192.168.1.98:56510/roster"
c = client.Client()
-c.set_queen_pburl(yumyum_queen)
-#c.set_queen_pburl(queen_pburl)
application = service.Application("allmydata_client")
c.setServiceParent(application)