- Create mininet network using a command such as "sudo mn --top=tree, depth=1, fanout=10"
- Create first node "xterm h1"
- Start the event service and pass in the host Ip address. "python eventService.py 10.0.0.1"
- A virtual id will be assigned.
- Other nodes following steps 2 and 3 adjusting arguments to the new values. When repeating step 3 the arguments are the new nodes ip as well as any node ip already in the network that you wish to connect to. 6.continue as much as you wish
- create a new node
- run suscribe.py in the new node passing the IP of node in the network and a topic as command line arguments respectively.
- continue as much as you wish
- for publisher create a new node.
- run publisher.py with the query node ip and the topic it wishes to publish about as command-line arguments respectively this will cause it to publish. subscribers with that topic will get messages.
mdasifhasan/ChordDHT
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published