Пример #1
0
import riddler_node as node

n1  = node.node("n1",  "o101.personal.es.aau.dk")
n2  = node.node("n2",  "o102.personal.es.aau.dk")
n4  = node.node("n4",  "o104.personal.es.aau.dk")
n5  = node.node("n5",  "o105.personal.es.aau.dk")
n6  = node.node("n6",  "o106.personal.es.aau.dk")
n7  = node.node("n7",  "o107.personal.es.aau.dk")
n8  = node.node("n8",  "o108.personal.es.aau.dk")
#n9  = node.node("n9",  "o109.personal.es.aau.dk")
#n10 = node.node("n10", "o110.personal.es.aau.dk")

n1.add_dest(n8)
n8.add_dest(n1)
Пример #2
0
import riddler_node as node

"""
alice = node.node("alice", "localhost")
bob = node.node("bob", "localhost", 9988)
"""
alice = node.node("alice", "panda0.personal.es.aau.dk")
relay = node.node("relay", "panda1.personal.es.aau.dk")
bob = node.node("bob", "panda2.personal.es.aau.dk")
mhu = node.node("mhu", "localhost")
"""
alice = node.node("alice", "n52")
bob = node.node("bob", "n53")
"""


alice.add_dest(bob)
bob.add_dest(alice)
bob.set_enable_ratio(True)
Пример #3
0
import riddler_node as node

alice = node.node("alice",  "panda7.personal.es.aau.dk")
n4    = node.node("relay1", "cwn4.personal.es.aau.dk")
n5    = node.node("relay2", "cwn5.personal.es.aau.dk")
n6    = node.node("relay3", "cwn6.personal.es.aau.dk")
n7    = node.node("relay4", "cwn7.personal.es.aau.dk")
n8    = node.node("relay5", "cwn8.personal.es.aau.dk")
n9    = node.node("relay6", "cwn9.personal.es.aau.dk")
bob   = node.node("bob",    "panda6.personal.es.aau.dk")

alice.add_dest(bob)
bob.add_dest(alice)
Пример #4
0
import riddler_node as node

source = node.node("source", "rasp00.lab.es.aau.dk")
#helper = node.node("helper", "o101.personal.es.aau.dk")
dest = node.node("dest", "rasp02.lab.es.aau.dk")

source.add_dest(dest)
dest.add_source(source)
Пример #5
0
import riddler_node as node


#alice = node.node("source", "localhost")
#bob = node.node("destination", "localhost", 8898)
alice = node.node("source", "rasp13.lab.es.aau.dk")

bob = node.node("destination", "rasp15.lab.es.aau.dk")
#catja = node.node("destination", "rasp02.lab.es.aau.dk")
#d = node.node("destination", "rasp03.lab.es.aau.dk")
#e = node.node("destination", "rasp05.lab.es.aau.dk")
#f = node.node("destination", "rasp10.lab.es.aau.dk")
#dan = node.node("destination", "rasp04.lab.es.aau.dk")


#Add destinations to sourcerasp09
alice.add_dest(bob) #Alice client bob server
#alice.add_dest(catja)
#alice.add_dest(d) #Alice client bob server
#alice.add_dest(e)
#alice.add_dest(f) #Alice client bob server
#alice.add_dest(dan)

#Add source to destinations
bob.add_source(alice)
#catja.add_source(alice)
#d.add_source(alice)
#e.add_source(alice)
#f.add_source(alice)
#dan.add_source(alice)
Пример #6
0
import riddler_node as node

core0 = node.node("relay", "ap-nb2.office.es.aau.dk", 8899)
src1 = node.node("src1", "core2.lab.es.aau.dk", 8899)
src2 = node.node("src2", "core5.lab.es.aau.dk", 8899)
dst1 = node.node("dst1", "core5.lab.es.aau.dk", 9988)
dst2 = node.node("dst2", "core2.lab.es.aau.dk", 9988)

src1.add_dest(dst1)
src2.add_dest(dst2)
dst1.add_source(src1)
dst2.add_source(src2)
Пример #7
0
import riddler_node as node
"""
source = node.node("source", "o102.personal.es.aau.dk")
helper = node.node("helper", "o101.personal.es.aau.dk")
dest = node.node("dest", "o105.personal.es.aau.dk")

source.add_dest(dest)
dest.add_source(source)

"""
source = node.node("zero","rasp00.personal.es.aau.dk")
dest1 = node.node("one", "rasp01.personal.es.aau.dk")
dest = node.node("two", "rasp02.personal.es.aau.dk")

source.add_dest(dest)
dest.add_source(source)

#Git test
Пример #8
0
import riddler_node as node

core0 = node.node("core0", "ap-nb2.office.es.aau.dk")
core1 = node.node("core1", "core2.lab.es.aau.dk")
core2 = node.node("core2", "core3.lab.es.aau.dk")
core3 = node.node("core3", "core4.lab.es.aau.dk")
core4 = node.node("core4", "core5.lab.es.aau.dk")

core1.add_dest(core4)
core2.add_dest(core3)
core3.add_source(core2)
core4.add_source(core1)
Пример #9
0
import riddler_node as node

source = node.node("source", "o102.personal.es.aau.dk")
helper = node.node("helper", "o101.personal.es.aau.dk")
dest = node.node("dest", "o105.personal.es.aau.dk")

source.add_dest(dest)
dest.add_source(source)
Пример #10
0
import riddler_node as node

"""
alice = node.node("alice", "panda0.personal.es.aau.dk")
relay = node.node("relay", "panda1.personal.es.aau.dk")
bob = node.node("bob", "panda2.personal.es.aau.dk")
mhu = node.node("mhu", "localhost")
alice = node.node("alice", "panda5.personal.es.aau.dk")
bob = node.node("bob", "panda6.personal.es.aau.dk")
alice = node.node("alice", "localhost")
bob = node.node("bob", "localhost", 9988)
"""
alice = node.node("alice", "panda5.personal.es.aau.dk")
relay = node.node("relay", "panda6.personal.es.aau.dk")
bob = node.node("bob", "panda7.personal.es.aau.dk")


alice.add_dest(bob)
bob.add_dest(alice)
#bob.set_enable_ratio(True)